Skip to content

Commit 0def2da

Browse files
authored
add $ to designTokens (#1814)
1 parent 806c9ae commit 0def2da

File tree

5 files changed

+289
-289
lines changed

5 files changed

+289
-289
lines changed

generatedTypes/src/incubator/TextField/usePreset.d.ts

Lines changed: 112 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -361,62 +361,62 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
361361
violet60?: boolean | undefined;
362362
violet70?: boolean | undefined;
363363
violet80?: boolean | undefined;
364-
backgroundDefault?: boolean | undefined;
365-
backgroundNeutralHeavy?: boolean | undefined;
366-
backgroundNeutralIdle?: boolean | undefined;
367-
backgroundNeutralMedium?: boolean | undefined;
368-
backgroundNeutral?: boolean | undefined;
369-
backgroundNeutralLight?: boolean | undefined;
370-
backgroundPrimaryHeavy?: boolean | undefined;
371-
backgroundPrimaryLight?: boolean | undefined;
372-
backgroundPrimary?: boolean | undefined;
373-
backgroundGeneralHeavy?: boolean | undefined;
374-
backgroundGeneralLight?: boolean | undefined;
375-
backgroundGeneral?: boolean | undefined;
376-
backgroundSuccessHeavy?: boolean | undefined;
377-
backgroundSuccess?: boolean | undefined;
378-
backgroundWarningHeavy?: boolean | undefined;
379-
backgroundWarning?: boolean | undefined;
380-
backgroundMajor?: boolean | undefined;
381-
backgroundDangerHeavy?: boolean | undefined;
382-
backgroundDanger?: boolean | undefined;
383-
backgroundDisabled?: boolean | undefined;
384-
backgroundDark?: boolean | undefined;
385-
textDisabled?: boolean | undefined;
386-
textDefault?: boolean | undefined;
387-
textNeutralHeavy?: boolean | undefined;
388-
textNeutral?: boolean | undefined;
389-
textNeutralLight?: boolean | undefined;
390-
textDefaultLight?: boolean | undefined;
391-
textPrimary?: boolean | undefined;
392-
textGeneral?: boolean | undefined;
393-
textSuccess?: boolean | undefined;
394-
textMajor?: boolean | undefined;
395-
textDanger?: boolean | undefined;
396-
textDangerLight?: boolean | undefined;
397-
iconDefault?: boolean | undefined;
398-
iconNeutral?: boolean | undefined;
399-
iconDefaultLight?: boolean | undefined;
400-
iconPrimary?: boolean | undefined;
401-
iconPrimaryLight?: boolean | undefined;
402-
iconGeneral?: boolean | undefined;
403-
iconGeneralLight?: boolean | undefined;
404-
iconSuccess?: boolean | undefined;
405-
iconSuccessLight?: boolean | undefined;
406-
iconMajor?: boolean | undefined;
407-
iconDanger?: boolean | undefined;
408-
iconDangerLight?: boolean | undefined;
409-
iconDisabled?: boolean | undefined;
410-
outlineLight?: boolean | undefined;
411-
outlineNeutral?: boolean | undefined;
412-
outlineNeutralMedium?: boolean | undefined;
413-
outlineDisabled?: boolean | undefined;
414-
outlineDisabledHeavy?: boolean | undefined;
415-
outlinePrimary?: boolean | undefined;
416-
outlineGeneral?: boolean | undefined;
417-
outlineWarning?: boolean | undefined;
418-
outlineDanger?: boolean | undefined;
419-
dividerDefault?: boolean | undefined;
364+
$backgroundDefault?: boolean | undefined;
365+
$backgroundNeutralHeavy?: boolean | undefined;
366+
$backgroundNeutralIdle?: boolean | undefined;
367+
$backgroundNeutralMedium?: boolean | undefined;
368+
$backgroundNeutral?: boolean | undefined;
369+
$backgroundNeutralLight?: boolean | undefined;
370+
$backgroundPrimaryHeavy?: boolean | undefined;
371+
$backgroundPrimaryLight?: boolean | undefined;
372+
$backgroundPrimary?: boolean | undefined;
373+
$backgroundGeneralHeavy?: boolean | undefined;
374+
$backgroundGeneralLight?: boolean | undefined;
375+
$backgroundGeneral?: boolean | undefined;
376+
$backgroundSuccessHeavy?: boolean | undefined;
377+
$backgroundSuccess?: boolean | undefined;
378+
$backgroundWarningHeavy?: boolean | undefined;
379+
$backgroundWarning?: boolean | undefined;
380+
$backgroundMajor?: boolean | undefined;
381+
$backgroundDangerHeavy?: boolean | undefined;
382+
$backgroundDanger?: boolean | undefined;
383+
$backgroundDisabled?: boolean | undefined;
384+
$backgroundDark?: boolean | undefined;
385+
$textDisabled?: boolean | undefined;
386+
$textDefault?: boolean | undefined;
387+
$textNeutralHeavy?: boolean | undefined;
388+
$textNeutral?: boolean | undefined;
389+
$textNeutralLight?: boolean | undefined;
390+
$textDefaultLight?: boolean | undefined;
391+
$textPrimary?: boolean | undefined;
392+
$textGeneral?: boolean | undefined;
393+
$textSuccess?: boolean | undefined;
394+
$textMajor?: boolean | undefined;
395+
$textDanger?: boolean | undefined;
396+
$textDangerLight?: boolean | undefined;
397+
$iconDefault?: boolean | undefined;
398+
$iconNeutral?: boolean | undefined;
399+
$iconDefaultLight?: boolean | undefined;
400+
$iconPrimary?: boolean | undefined;
401+
$iconPrimaryLight?: boolean | undefined;
402+
$iconGeneral?: boolean | undefined;
403+
$iconGeneralLight?: boolean | undefined;
404+
$iconSuccess?: boolean | undefined;
405+
$iconSuccessLight?: boolean | undefined;
406+
$iconMajor?: boolean | undefined;
407+
$iconDanger?: boolean | undefined;
408+
$iconDangerLight?: boolean | undefined;
409+
$iconDisabled?: boolean | undefined;
410+
$outlineLight?: boolean | undefined;
411+
$outlineNeutral?: boolean | undefined;
412+
$outlineNeutralMedium?: boolean | undefined;
413+
$outlineDisabled?: boolean | undefined;
414+
$outlineDisabledHeavy?: boolean | undefined;
415+
$outlinePrimary?: boolean | undefined;
416+
$outlineGeneral?: boolean | undefined;
417+
$outlineWarning?: boolean | undefined;
418+
$outlineDanger?: boolean | undefined;
419+
$dividerDefault?: boolean | undefined;
420420
hint?: string | undefined;
421421
color?: import("./types").ColorType | undefined;
422422
placeholderTextColor?: import("./types").ColorType | undefined;
@@ -762,62 +762,62 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
762762
violet60?: boolean | undefined;
763763
violet70?: boolean | undefined;
764764
violet80?: boolean | undefined;
765-
backgroundDefault?: boolean | undefined;
766-
backgroundNeutralHeavy?: boolean | undefined;
767-
backgroundNeutralIdle?: boolean | undefined;
768-
backgroundNeutralMedium?: boolean | undefined;
769-
backgroundNeutral?: boolean | undefined;
770-
backgroundNeutralLight?: boolean | undefined;
771-
backgroundPrimaryHeavy?: boolean | undefined;
772-
backgroundPrimaryLight?: boolean | undefined;
773-
backgroundPrimary?: boolean | undefined;
774-
backgroundGeneralHeavy?: boolean | undefined;
775-
backgroundGeneralLight?: boolean | undefined;
776-
backgroundGeneral?: boolean | undefined;
777-
backgroundSuccessHeavy?: boolean | undefined;
778-
backgroundSuccess?: boolean | undefined;
779-
backgroundWarningHeavy?: boolean | undefined;
780-
backgroundWarning?: boolean | undefined;
781-
backgroundMajor?: boolean | undefined;
782-
backgroundDangerHeavy?: boolean | undefined;
783-
backgroundDanger?: boolean | undefined;
784-
backgroundDisabled?: boolean | undefined;
785-
backgroundDark?: boolean | undefined;
786-
textDisabled?: boolean | undefined;
787-
textDefault?: boolean | undefined;
788-
textNeutralHeavy?: boolean | undefined;
789-
textNeutral?: boolean | undefined;
790-
textNeutralLight?: boolean | undefined;
791-
textDefaultLight?: boolean | undefined;
792-
textPrimary?: boolean | undefined;
793-
textGeneral?: boolean | undefined;
794-
textSuccess?: boolean | undefined;
795-
textMajor?: boolean | undefined;
796-
textDanger?: boolean | undefined;
797-
textDangerLight?: boolean | undefined;
798-
iconDefault?: boolean | undefined;
799-
iconNeutral?: boolean | undefined;
800-
iconDefaultLight?: boolean | undefined;
801-
iconPrimary?: boolean | undefined;
802-
iconPrimaryLight?: boolean | undefined;
803-
iconGeneral?: boolean | undefined;
804-
iconGeneralLight?: boolean | undefined;
805-
iconSuccess?: boolean | undefined;
806-
iconSuccessLight?: boolean | undefined;
807-
iconMajor?: boolean | undefined;
808-
iconDanger?: boolean | undefined;
809-
iconDangerLight?: boolean | undefined;
810-
iconDisabled?: boolean | undefined;
811-
outlineLight?: boolean | undefined;
812-
outlineNeutral?: boolean | undefined;
813-
outlineNeutralMedium?: boolean | undefined;
814-
outlineDisabled?: boolean | undefined;
815-
outlineDisabledHeavy?: boolean | undefined;
816-
outlinePrimary?: boolean | undefined;
817-
outlineGeneral?: boolean | undefined;
818-
outlineWarning?: boolean | undefined;
819-
outlineDanger?: boolean | undefined;
820-
dividerDefault?: boolean | undefined;
765+
$backgroundDefault?: boolean | undefined;
766+
$backgroundNeutralHeavy?: boolean | undefined;
767+
$backgroundNeutralIdle?: boolean | undefined;
768+
$backgroundNeutralMedium?: boolean | undefined;
769+
$backgroundNeutral?: boolean | undefined;
770+
$backgroundNeutralLight?: boolean | undefined;
771+
$backgroundPrimaryHeavy?: boolean | undefined;
772+
$backgroundPrimaryLight?: boolean | undefined;
773+
$backgroundPrimary?: boolean | undefined;
774+
$backgroundGeneralHeavy?: boolean | undefined;
775+
$backgroundGeneralLight?: boolean | undefined;
776+
$backgroundGeneral?: boolean | undefined;
777+
$backgroundSuccessHeavy?: boolean | undefined;
778+
$backgroundSuccess?: boolean | undefined;
779+
$backgroundWarningHeavy?: boolean | undefined;
780+
$backgroundWarning?: boolean | undefined;
781+
$backgroundMajor?: boolean | undefined;
782+
$backgroundDangerHeavy?: boolean | undefined;
783+
$backgroundDanger?: boolean | undefined;
784+
$backgroundDisabled?: boolean | undefined;
785+
$backgroundDark?: boolean | undefined;
786+
$textDisabled?: boolean | undefined;
787+
$textDefault?: boolean | undefined;
788+
$textNeutralHeavy?: boolean | undefined;
789+
$textNeutral?: boolean | undefined;
790+
$textNeutralLight?: boolean | undefined;
791+
$textDefaultLight?: boolean | undefined;
792+
$textPrimary?: boolean | undefined;
793+
$textGeneral?: boolean | undefined;
794+
$textSuccess?: boolean | undefined;
795+
$textMajor?: boolean | undefined;
796+
$textDanger?: boolean | undefined;
797+
$textDangerLight?: boolean | undefined;
798+
$iconDefault?: boolean | undefined;
799+
$iconNeutral?: boolean | undefined;
800+
$iconDefaultLight?: boolean | undefined;
801+
$iconPrimary?: boolean | undefined;
802+
$iconPrimaryLight?: boolean | undefined;
803+
$iconGeneral?: boolean | undefined;
804+
$iconGeneralLight?: boolean | undefined;
805+
$iconSuccess?: boolean | undefined;
806+
$iconSuccessLight?: boolean | undefined;
807+
$iconMajor?: boolean | undefined;
808+
$iconDanger?: boolean | undefined;
809+
$iconDangerLight?: boolean | undefined;
810+
$iconDisabled?: boolean | undefined;
811+
$outlineLight?: boolean | undefined;
812+
$outlineNeutral?: boolean | undefined;
813+
$outlineNeutralMedium?: boolean | undefined;
814+
$outlineDisabled?: boolean | undefined;
815+
$outlineDisabledHeavy?: boolean | undefined;
816+
$outlinePrimary?: boolean | undefined;
817+
$outlineGeneral?: boolean | undefined;
818+
$outlineWarning?: boolean | undefined;
819+
$outlineDanger?: boolean | undefined;
820+
$dividerDefault?: boolean | undefined;
821821
hint?: string | undefined;
822822
color?: import("./types").ColorType | undefined;
823823
placeholderTextColor?: import("./types").ColorType | undefined;

generatedTypes/src/style/colors.d.ts

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -148,61 +148,61 @@ declare const colorObject: Colors & {
148148
} & {
149149
primary: string;
150150
} & {
151-
backgroundDefault: string;
152-
backgroundNeutralHeavy: string;
153-
backgroundNeutralIdle: string;
154-
backgroundNeutralMedium: string;
155-
backgroundNeutral: string;
156-
backgroundNeutralLight: string;
157-
backgroundPrimaryHeavy: string;
158-
backgroundPrimaryLight: string;
159-
backgroundPrimary: string;
160-
backgroundGeneralHeavy: string;
161-
backgroundGeneralLight: string;
162-
backgroundGeneral: string;
163-
backgroundSuccessHeavy: string;
164-
backgroundSuccess: string;
165-
backgroundWarningHeavy: string;
166-
backgroundWarning: string;
167-
backgroundMajor: string;
168-
backgroundDangerHeavy: string;
169-
backgroundDanger: string;
170-
backgroundDisabled: string;
171-
backgroundDark: string;
172-
textDisabled: string;
173-
textDefault: string;
174-
textNeutralHeavy: string;
175-
textNeutral: string;
176-
textNeutralLight: string;
177-
textDefaultLight: string;
178-
textPrimary: string;
179-
textGeneral: string;
180-
textSuccess: string;
181-
textMajor: string;
182-
textDanger: string;
183-
textDangerLight: string;
184-
iconDefault: string;
185-
iconNeutral: string;
186-
iconDefaultLight: string;
187-
iconPrimary: string;
188-
iconPrimaryLight: string;
189-
iconGeneral: string;
190-
iconGeneralLight: string;
191-
iconSuccess: string;
192-
iconSuccessLight: string;
193-
iconMajor: string;
194-
iconDanger: string;
195-
iconDangerLight: string;
196-
iconDisabled: string;
197-
outlineLight: string;
198-
outlineNeutral: string;
199-
outlineNeutralMedium: string;
200-
outlineDisabled: string;
201-
outlineDisabledHeavy: string;
202-
outlinePrimary: string;
203-
outlineGeneral: string;
204-
outlineWarning: string;
205-
outlineDanger: string;
206-
dividerDefault: string;
151+
$backgroundDefault: string;
152+
$backgroundNeutralHeavy: string;
153+
$backgroundNeutralIdle: string;
154+
$backgroundNeutralMedium: string;
155+
$backgroundNeutral: string;
156+
$backgroundNeutralLight: string;
157+
$backgroundPrimaryHeavy: string;
158+
$backgroundPrimaryLight: string;
159+
$backgroundPrimary: string;
160+
$backgroundGeneralHeavy: string;
161+
$backgroundGeneralLight: string;
162+
$backgroundGeneral: string;
163+
$backgroundSuccessHeavy: string;
164+
$backgroundSuccess: string;
165+
$backgroundWarningHeavy: string;
166+
$backgroundWarning: string;
167+
$backgroundMajor: string;
168+
$backgroundDangerHeavy: string;
169+
$backgroundDanger: string;
170+
$backgroundDisabled: string;
171+
$backgroundDark: string;
172+
$textDisabled: string;
173+
$textDefault: string;
174+
$textNeutralHeavy: string;
175+
$textNeutral: string;
176+
$textNeutralLight: string;
177+
$textDefaultLight: string;
178+
$textPrimary: string;
179+
$textGeneral: string;
180+
$textSuccess: string;
181+
$textMajor: string;
182+
$textDanger: string;
183+
$textDangerLight: string;
184+
$iconDefault: string;
185+
$iconNeutral: string;
186+
$iconDefaultLight: string;
187+
$iconPrimary: string;
188+
$iconPrimaryLight: string;
189+
$iconGeneral: string;
190+
$iconGeneralLight: string;
191+
$iconSuccess: string;
192+
$iconSuccessLight: string;
193+
$iconMajor: string;
194+
$iconDanger: string;
195+
$iconDangerLight: string;
196+
$iconDisabled: string;
197+
$outlineLight: string;
198+
$outlineNeutral: string;
199+
$outlineNeutralMedium: string;
200+
$outlineDisabled: string;
201+
$outlineDisabledHeavy: string;
202+
$outlinePrimary: string;
203+
$outlineGeneral: string;
204+
$outlineWarning: string;
205+
$outlineDanger: string;
206+
$dividerDefault: string;
207207
};
208208
export default colorObject;

0 commit comments

Comments
 (0)