@voxel51/voodo 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/voodo.mjs +127 -0
- package/dist/cli/reference.d.ts +79 -0
- package/dist/cli/reference.d.ts.map +1 -0
- package/dist/cli.cjs +11 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +167 -0
- package/dist/cli.js.map +1 -0
- package/dist/components/ActivityToast/ActivityToast.d.ts +1 -1
- package/dist/components/ActivityToast/ActivityToast.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +5 -3
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +3 -3
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/RichCard.d.ts +3 -1
- package/dist/components/Card/RichCard.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Clickable/Clickable.d.ts +1 -1
- package/dist/components/Combobox/Combobox.d.ts +6 -3
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/Datepicker/DatePicker.d.ts +1 -1
- package/dist/components/Datepicker/DatepickerIconButton.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +21 -14
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +37 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownTrigger.d.ts +2 -2
- package/dist/components/Dropzone/Dropzone.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +11 -4
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/FormField/FormField.d.ts +2 -2
- package/dist/components/FormField/FormField.d.ts.map +1 -1
- package/dist/components/FormFieldGroup/FormFieldGroup.d.ts +4 -19
- package/dist/components/FormFieldGroup/FormFieldGroup.d.ts.map +1 -1
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/IconAction/IconAction.d.ts +7 -1
- package/dist/components/IconAction/IconAction.d.ts.map +1 -1
- package/dist/components/Icons/Icon.d.ts +4 -3
- package/dist/components/Icons/Icon.d.ts.map +1 -1
- package/dist/components/Icons/IconBase.d.ts +2 -0
- package/dist/components/Icons/IconBase.d.ts.map +1 -1
- package/dist/components/Icons/IconWrapper.d.ts +3 -1
- package/dist/components/Icons/IconWrapper.d.ts.map +1 -1
- package/dist/components/ImageList/ImageList.d.ts +4 -4
- package/dist/components/ImageList/ImageList.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +14 -19
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/InputIcon.d.ts +1 -1
- package/dist/components/Input/InputIcon.d.ts.map +1 -1
- package/dist/components/Input/styles.d.ts +11 -12
- package/dist/components/Input/styles.d.ts.map +1 -1
- package/dist/components/ListItem/ListItem.d.ts +2 -2
- package/dist/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/components/LoadingDots/LoadingDots.d.ts +1 -1
- package/dist/components/Menu/MenuCheckItem.d.ts.map +1 -1
- package/dist/components/Menu/MenuIconTextItem.d.ts +4 -4
- package/dist/components/Menu/MenuIconTextItem.d.ts.map +1 -1
- package/dist/components/Menu/MenuSectionTitle.d.ts.map +1 -1
- package/dist/components/Menu/MenuTextItem.d.ts +3 -3
- package/dist/components/Menu/MenuTextItem.d.ts.map +1 -1
- package/dist/components/Menu/styles.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +17 -9
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Pill/Pill.d.ts +5 -4
- package/dist/components/Pill/Pill.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +5 -5
- package/dist/components/Popover/styles.d.ts.map +1 -1
- package/dist/components/Progress/Progress.d.ts +4 -4
- package/dist/components/Progress/Progress.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +15 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts +4 -4
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/RichButton/RichButton.d.ts +2 -0
- package/dist/components/RichButton/RichButton.d.ts.map +1 -1
- package/dist/components/RichList/RichList.d.ts +14 -13
- package/dist/components/RichList/RichList.d.ts.map +1 -1
- package/dist/components/Select/Option.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +17 -7
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.d.ts +9 -4
- package/dist/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +15 -1
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/SliderBar.d.ts +1 -1
- package/dist/components/Slider/SliderKnob.d.ts +1 -1
- package/dist/components/Slider/SliderLabels.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +3 -3
- package/dist/components/StatusDot/StatusDot.d.ts +21 -0
- package/dist/components/StatusDot/StatusDot.d.ts.map +1 -0
- package/dist/components/StatusDot/index.d.ts +2 -0
- package/dist/components/StatusDot/index.d.ts.map +1 -0
- package/dist/components/StepRail/StepRail.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +82 -0
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.d.ts +3 -0
- package/dist/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/components/Text/Text.d.ts +7 -3
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/TextAction/TextAction.d.ts +9 -2
- package/dist/components/TextAction/TextAction.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +7 -3
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextBadge/TextBadge.d.ts +3 -3
- package/dist/components/TextBadge/TextBadge.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +4 -4
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/ToastContainer/ToastContainer.d.ts +9 -1
- package/dist/components/ToastContainer/ToastContainer.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +2 -2
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +12 -11
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/components/Toolbar/Toolbar.d.ts +14 -14
- package/dist/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tree/TreeSelect.d.ts +1 -1
- package/dist/components/Tree/types.d.ts +2 -0
- package/dist/components/Tree/types.d.ts.map +1 -1
- package/dist/components/UnsetHint/UnsetHint.d.ts +2 -1
- package/dist/components/UnsetHint/UnsetHint.d.ts.map +1 -1
- package/dist/components/UploadList/UploadList.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4282 -4071
- package/dist/index.js.map +1 -1
- package/dist/{palette-C24I0BcT.js → palette-Boxwxq4V.js} +92 -24
- package/dist/palette-Boxwxq4V.js.map +1 -0
- package/dist/palette-DV12yAPS.cjs +2 -0
- package/dist/palette-DV12yAPS.cjs.map +1 -0
- package/dist/styles/text.d.ts +6 -0
- package/dist/styles/text.d.ts.map +1 -1
- package/dist/theme/tokens/index.d.ts +62 -0
- package/dist/theme/tokens/index.d.ts.map +1 -1
- package/dist/theme/tokens/typography.d.ts +139 -0
- package/dist/theme/tokens/typography.d.ts.map +1 -1
- package/dist/tokens.cjs +1 -1
- package/dist/tokens.js +2 -2
- package/dist/types/text.d.ts +43 -4
- package/dist/types/text.d.ts.map +1 -1
- package/dist/util/classes.d.ts.map +1 -1
- package/dist/voodo.css +1 -1
- package/package.json +5 -1
- package/dist/palette-C24I0BcT.js.map +0 -1
- package/dist/palette-yXRdZevG.cjs +0 -2
- package/dist/palette-yXRdZevG.cjs.map +0 -1
|
@@ -29,6 +29,77 @@ export declare const lineHeight: {
|
|
|
29
29
|
readonly 44: "44px";
|
|
30
30
|
readonly 52: "52px";
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* The Figma `type/*` tier — the twelve text roles every text layer in the
|
|
34
|
+
* design file binds to. Each role pairs a size with its leading and weight,
|
|
35
|
+
* which is the thing the size-only scale below could never express.
|
|
36
|
+
*
|
|
37
|
+
* Read live from the design file on 2026-09-30. `code-secondary` is 11px
|
|
38
|
+
* there, not the 12px an earlier hand-off table recorded.
|
|
39
|
+
*/
|
|
40
|
+
export declare const textRole: {
|
|
41
|
+
readonly "heading-xl": {
|
|
42
|
+
readonly fontSize: "23px";
|
|
43
|
+
readonly lineHeight: "28px";
|
|
44
|
+
readonly fontWeight: 400;
|
|
45
|
+
};
|
|
46
|
+
readonly "heading-lg": {
|
|
47
|
+
readonly fontSize: "18px";
|
|
48
|
+
readonly lineHeight: "24px";
|
|
49
|
+
readonly fontWeight: 500;
|
|
50
|
+
};
|
|
51
|
+
readonly "heading-md": {
|
|
52
|
+
readonly fontSize: "16px";
|
|
53
|
+
readonly lineHeight: "20px";
|
|
54
|
+
readonly fontWeight: 500;
|
|
55
|
+
};
|
|
56
|
+
readonly "heading-sm": {
|
|
57
|
+
readonly fontSize: "14px";
|
|
58
|
+
readonly lineHeight: "20px";
|
|
59
|
+
readonly fontWeight: 500;
|
|
60
|
+
};
|
|
61
|
+
readonly "heading-xs": {
|
|
62
|
+
readonly fontSize: "12px";
|
|
63
|
+
readonly lineHeight: "16px";
|
|
64
|
+
readonly fontWeight: 500;
|
|
65
|
+
};
|
|
66
|
+
readonly "body-primary": {
|
|
67
|
+
readonly fontSize: "15px";
|
|
68
|
+
readonly lineHeight: "20px";
|
|
69
|
+
readonly fontWeight: 400;
|
|
70
|
+
};
|
|
71
|
+
readonly "body-secondary": {
|
|
72
|
+
readonly fontSize: "14px";
|
|
73
|
+
readonly lineHeight: "20px";
|
|
74
|
+
readonly fontWeight: 400;
|
|
75
|
+
};
|
|
76
|
+
readonly "body-tertiary": {
|
|
77
|
+
readonly fontSize: "12px";
|
|
78
|
+
readonly lineHeight: "16px";
|
|
79
|
+
readonly fontWeight: 400;
|
|
80
|
+
};
|
|
81
|
+
readonly label: {
|
|
82
|
+
readonly fontSize: "12px";
|
|
83
|
+
readonly lineHeight: "16px";
|
|
84
|
+
readonly fontWeight: 600;
|
|
85
|
+
};
|
|
86
|
+
readonly caption: {
|
|
87
|
+
readonly fontSize: "11px";
|
|
88
|
+
readonly lineHeight: "16px";
|
|
89
|
+
readonly fontWeight: 400;
|
|
90
|
+
};
|
|
91
|
+
readonly "code-primary": {
|
|
92
|
+
readonly fontSize: "12px";
|
|
93
|
+
readonly lineHeight: "16px";
|
|
94
|
+
readonly fontWeight: 400;
|
|
95
|
+
};
|
|
96
|
+
readonly "code-secondary": {
|
|
97
|
+
readonly fontSize: "11px";
|
|
98
|
+
readonly lineHeight: "16px";
|
|
99
|
+
readonly fontWeight: 400;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export type TextRole = keyof typeof textRole;
|
|
32
103
|
export declare const typography: {
|
|
33
104
|
readonly fontFamily: {
|
|
34
105
|
readonly sans: readonly ["Palanquin", "sans-serif"];
|
|
@@ -62,6 +133,74 @@ export declare const typography: {
|
|
|
62
133
|
readonly xl: "18px";
|
|
63
134
|
readonly xxl: "23px";
|
|
64
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* The role tier, emitted as `--text-<role>` plus the `--line-height` and
|
|
138
|
+
* `--font-weight` sub-properties Tailwind reads for the `text-<role>`
|
|
139
|
+
* utility. This is what components bind to; the size-only tier above stays
|
|
140
|
+
* for consumers that have not migrated.
|
|
141
|
+
*/
|
|
142
|
+
readonly textRole: {
|
|
143
|
+
readonly "heading-xl": {
|
|
144
|
+
readonly fontSize: "23px";
|
|
145
|
+
readonly lineHeight: "28px";
|
|
146
|
+
readonly fontWeight: 400;
|
|
147
|
+
};
|
|
148
|
+
readonly "heading-lg": {
|
|
149
|
+
readonly fontSize: "18px";
|
|
150
|
+
readonly lineHeight: "24px";
|
|
151
|
+
readonly fontWeight: 500;
|
|
152
|
+
};
|
|
153
|
+
readonly "heading-md": {
|
|
154
|
+
readonly fontSize: "16px";
|
|
155
|
+
readonly lineHeight: "20px";
|
|
156
|
+
readonly fontWeight: 500;
|
|
157
|
+
};
|
|
158
|
+
readonly "heading-sm": {
|
|
159
|
+
readonly fontSize: "14px";
|
|
160
|
+
readonly lineHeight: "20px";
|
|
161
|
+
readonly fontWeight: 500;
|
|
162
|
+
};
|
|
163
|
+
readonly "heading-xs": {
|
|
164
|
+
readonly fontSize: "12px";
|
|
165
|
+
readonly lineHeight: "16px";
|
|
166
|
+
readonly fontWeight: 500;
|
|
167
|
+
};
|
|
168
|
+
readonly "body-primary": {
|
|
169
|
+
readonly fontSize: "15px";
|
|
170
|
+
readonly lineHeight: "20px";
|
|
171
|
+
readonly fontWeight: 400;
|
|
172
|
+
};
|
|
173
|
+
readonly "body-secondary": {
|
|
174
|
+
readonly fontSize: "14px";
|
|
175
|
+
readonly lineHeight: "20px";
|
|
176
|
+
readonly fontWeight: 400;
|
|
177
|
+
};
|
|
178
|
+
readonly "body-tertiary": {
|
|
179
|
+
readonly fontSize: "12px";
|
|
180
|
+
readonly lineHeight: "16px";
|
|
181
|
+
readonly fontWeight: 400;
|
|
182
|
+
};
|
|
183
|
+
readonly label: {
|
|
184
|
+
readonly fontSize: "12px";
|
|
185
|
+
readonly lineHeight: "16px";
|
|
186
|
+
readonly fontWeight: 600;
|
|
187
|
+
};
|
|
188
|
+
readonly caption: {
|
|
189
|
+
readonly fontSize: "11px";
|
|
190
|
+
readonly lineHeight: "16px";
|
|
191
|
+
readonly fontWeight: 400;
|
|
192
|
+
};
|
|
193
|
+
readonly "code-primary": {
|
|
194
|
+
readonly fontSize: "12px";
|
|
195
|
+
readonly lineHeight: "16px";
|
|
196
|
+
readonly fontWeight: 400;
|
|
197
|
+
};
|
|
198
|
+
readonly "code-secondary": {
|
|
199
|
+
readonly fontSize: "11px";
|
|
200
|
+
readonly lineHeight: "16px";
|
|
201
|
+
readonly fontWeight: 400;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
65
204
|
/**
|
|
66
205
|
* Figma's `font-weight/*` scale, verbatim.
|
|
67
206
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/theme/tokens/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,4DAA4D;AAC5D,eAAO,MAAM,QAAQ;;;;;;;;;;CAUX,CAAC;AAEX,8DAA8D;AAC9D,eAAO,MAAM,UAAU;;;;;;;;;CASb,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;IASrB;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;IAWH;;;;;;;;OAQG;;;;;;;CAOK,CAAC"}
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/theme/tokens/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,4DAA4D;AAC5D,eAAO,MAAM,QAAQ;;;;;;;;;;CAUX,CAAC;AAEX,8DAA8D;AAC9D,eAAO,MAAM,UAAU;;;;;;;;;CASb,CAAC;AAEX;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE7C,eAAO,MAAM,UAAU;;;;;IASrB;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;IAWH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;;;;;OAQG;;;;;;;CAOK,CAAC"}
|
package/dist/tokens.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./palette-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./palette-DV12yAPS.cjs"),i={action:{expressive:`linear-gradient(105deg, ${e.primitives.expressive["orange-default"]}, ${e.primitives.expressive["pink-default"]} 55%, ${e.primitives.expressive["purple-default"]})`}},t={colors:e.colors,gradients:i,spacing:e.spacing,spacingRole:e.spacingRole,transitions:e.transitions,typography:e.typography};exports.chartPool=e.chartPool;exports.colors=e.colors;exports.fontSize=e.fontSize;exports.lineHeight=e.lineHeight;exports.overlayPool=e.overlayPool;exports.palettePool=e.palettePool;exports.paletteSlots=e.paletteSlots;exports.primitives=e.primitives;exports.spacingRole=e.spacingRole;exports.transitions=e.transitions;exports.default=t;
|
|
2
2
|
//# sourceMappingURL=tokens.cjs.map
|
package/dist/tokens.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e, t as s, e as a, s as t, g as o, a as i } from "./palette-
|
|
2
|
-
import { c as g, f as c, l as f, o as x, p as v, b as u } from "./palette-
|
|
1
|
+
import { d as e, t as s, e as a, s as t, g as o, a as i } from "./palette-Boxwxq4V.js";
|
|
2
|
+
import { c as g, f as c, l as f, o as x, p as v, b as u } from "./palette-Boxwxq4V.js";
|
|
3
3
|
const r = {
|
|
4
4
|
action: {
|
|
5
5
|
expressive: `linear-gradient(105deg, ${e.expressive["orange-default"]}, ${e.expressive["pink-default"]} 55%, ${e.expressive["purple-default"]})`
|
package/dist/types/text.d.ts
CHANGED
|
@@ -1,16 +1,57 @@
|
|
|
1
1
|
export declare const TextVariant: {
|
|
2
|
+
/** 23/28 regular — display titles. */
|
|
3
|
+
readonly HeadingXl: "heading-xl";
|
|
4
|
+
/** 18/24 medium — page titles. */
|
|
5
|
+
readonly HeadingLg: "heading-lg";
|
|
6
|
+
/** 16/20 medium — section headers. */
|
|
7
|
+
readonly HeadingMd: "heading-md";
|
|
8
|
+
/** 14/20 medium — small headers and button labels. */
|
|
9
|
+
readonly HeadingSm: "heading-sm";
|
|
10
|
+
/** 12/16 medium — the smallest header. */
|
|
11
|
+
readonly HeadingXs: "heading-xs";
|
|
12
|
+
/** 15/20 regular — primary body text for main content. */
|
|
13
|
+
readonly BodyPrimary: "body-primary";
|
|
14
|
+
/** 14/20 regular — secondary body text. */
|
|
15
|
+
readonly BodySecondary: "body-secondary";
|
|
16
|
+
/** 12/16 regular — tertiary body text. */
|
|
17
|
+
readonly BodyTertiary: "body-tertiary";
|
|
18
|
+
/** 12/16 semibold, uppercase — label text and alternate section headers. */
|
|
19
|
+
readonly Label: "label";
|
|
20
|
+
/** 11/16 regular, tertiary colour — captions. */
|
|
21
|
+
readonly Caption: "caption";
|
|
22
|
+
/** 12/16 mono — primary code. */
|
|
23
|
+
readonly CodePrimary: "code-primary";
|
|
24
|
+
/** 11/16 mono — secondary code. */
|
|
25
|
+
readonly CodeSecondary: "code-secondary";
|
|
26
|
+
/** @deprecated Size-only scale with no Figma role; use a role above. */
|
|
2
27
|
readonly Xxs: "xxs";
|
|
28
|
+
/** @deprecated Size-only scale; use {@link TextVariant.Caption}. */
|
|
3
29
|
readonly Xs: "xs";
|
|
30
|
+
/** @deprecated Size-only scale; use {@link TextVariant.BodyTertiary}. */
|
|
4
31
|
readonly Sm: "sm";
|
|
32
|
+
/** @deprecated Size-only scale; use {@link TextVariant.BodyPrimary}. */
|
|
5
33
|
readonly Md: "md";
|
|
34
|
+
/** @deprecated Size-only scale; use {@link TextVariant.BodyPrimary}. */
|
|
6
35
|
readonly Lg: "lg";
|
|
36
|
+
/** @deprecated Size-only scale; use {@link TextVariant.HeadingLg}. */
|
|
7
37
|
readonly Xl: "xl";
|
|
38
|
+
/** @deprecated Size-only scale; use {@link TextVariant.HeadingXl}. */
|
|
8
39
|
readonly Xxl: "xxl";
|
|
9
|
-
readonly Label: "label";
|
|
10
|
-
readonly Caption: "caption";
|
|
11
40
|
};
|
|
12
41
|
export type TextVariant = `${(typeof TextVariant)[keyof typeof TextVariant]}`;
|
|
13
42
|
export declare namespace TextVariant {
|
|
43
|
+
type HeadingXl = typeof TextVariant.HeadingXl;
|
|
44
|
+
type HeadingLg = typeof TextVariant.HeadingLg;
|
|
45
|
+
type HeadingMd = typeof TextVariant.HeadingMd;
|
|
46
|
+
type HeadingSm = typeof TextVariant.HeadingSm;
|
|
47
|
+
type HeadingXs = typeof TextVariant.HeadingXs;
|
|
48
|
+
type BodyPrimary = typeof TextVariant.BodyPrimary;
|
|
49
|
+
type BodySecondary = typeof TextVariant.BodySecondary;
|
|
50
|
+
type BodyTertiary = typeof TextVariant.BodyTertiary;
|
|
51
|
+
type Label = typeof TextVariant.Label;
|
|
52
|
+
type Caption = typeof TextVariant.Caption;
|
|
53
|
+
type CodePrimary = typeof TextVariant.CodePrimary;
|
|
54
|
+
type CodeSecondary = typeof TextVariant.CodeSecondary;
|
|
14
55
|
type Xxs = typeof TextVariant.Xxs;
|
|
15
56
|
type Xs = typeof TextVariant.Xs;
|
|
16
57
|
type Sm = typeof TextVariant.Sm;
|
|
@@ -18,8 +59,6 @@ export declare namespace TextVariant {
|
|
|
18
59
|
type Lg = typeof TextVariant.Lg;
|
|
19
60
|
type Xl = typeof TextVariant.Xl;
|
|
20
61
|
type Xxl = typeof TextVariant.Xxl;
|
|
21
|
-
type Label = typeof TextVariant.Label;
|
|
22
|
-
type Caption = typeof TextVariant.Caption;
|
|
23
62
|
}
|
|
24
63
|
export default TextVariant;
|
|
25
64
|
//# sourceMappingURL=text.d.ts.map
|
package/dist/types/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/types/text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/types/text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;IACtB,sCAAsC;;IAEtC,kCAAkC;;IAElC,sCAAsC;;IAEtC,sDAAsD;;IAEtD,0CAA0C;;IAE1C,0DAA0D;;IAE1D,2CAA2C;;IAE3C,0CAA0C;;IAE1C,4EAA4E;;IAE5E,iDAAiD;;IAEjD,iCAAiC;;IAEjC,mCAAmC;;IAGnC,wEAAwE;;IAExE,oEAAoE;;IAEpE,yEAAyE;;IAEzE,wEAAwE;;IAExE,wEAAwE;;IAExE,sEAAsE;;IAEtE,sEAAsE;;CAE9D,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,EAAE,CAAC;AAE9E,yBAAiB,WAAW,CAAC;IAC3B,KAAY,SAAS,GAAG,OAAO,WAAW,CAAC,SAAS,CAAC;IACrD,KAAY,SAAS,GAAG,OAAO,WAAW,CAAC,SAAS,CAAC;IACrD,KAAY,SAAS,GAAG,OAAO,WAAW,CAAC,SAAS,CAAC;IACrD,KAAY,SAAS,GAAG,OAAO,WAAW,CAAC,SAAS,CAAC;IACrD,KAAY,SAAS,GAAG,OAAO,WAAW,CAAC,SAAS,CAAC;IACrD,KAAY,WAAW,GAAG,OAAO,WAAW,CAAC,WAAW,CAAC;IACzD,KAAY,aAAa,GAAG,OAAO,WAAW,CAAC,aAAa,CAAC;IAC7D,KAAY,YAAY,GAAG,OAAO,WAAW,CAAC,YAAY,CAAC;IAC3D,KAAY,KAAK,GAAG,OAAO,WAAW,CAAC,KAAK,CAAC;IAC7C,KAAY,OAAO,GAAG,OAAO,WAAW,CAAC,OAAO,CAAC;IACjD,KAAY,WAAW,GAAG,OAAO,WAAW,CAAC,WAAW,CAAC;IACzD,KAAY,aAAa,GAAG,OAAO,WAAW,CAAC,aAAa,CAAC;IAC7D,KAAY,GAAG,GAAG,OAAO,WAAW,CAAC,GAAG,CAAC;IACzC,KAAY,EAAE,GAAG,OAAO,WAAW,CAAC,EAAE,CAAC;IACvC,KAAY,EAAE,GAAG,OAAO,WAAW,CAAC,EAAE,CAAC;IACvC,KAAY,EAAE,GAAG,OAAO,WAAW,CAAC,EAAE,CAAC;IACvC,KAAY,EAAE,GAAG,OAAO,WAAW,CAAC,EAAE,CAAC;IACvC,KAAY,EAAE,GAAG,OAAO,WAAW,CAAC,EAAE,CAAC;IACvC,KAAY,GAAG,GAAG,OAAO,WAAW,CAAC,GAAG,CAAC;CAC1C;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classes.d.ts","sourceRoot":"","sources":["../../src/util/classes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"classes.d.ts","sourceRoot":"","sources":["../../src/util/classes.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,EAAE,GACb,GAAG,SAAS,CAAC,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,KAClD,MAEF,CAAC"}
|