@wizeworks/silicaui-mcp 0.30.0 → 0.31.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/dist/data/classes.json +20 -0
- package/dist/data/components.json +40 -16
- package/dist/data/tokens.json +93 -0
- package/package.json +1 -1
package/dist/data/classes.json
CHANGED
|
@@ -1166,6 +1166,9 @@
|
|
|
1166
1166
|
"blockquote-cite",
|
|
1167
1167
|
"caption",
|
|
1168
1168
|
"display",
|
|
1169
|
+
"display-1",
|
|
1170
|
+
"display-2",
|
|
1171
|
+
"display-3",
|
|
1169
1172
|
"h1",
|
|
1170
1173
|
"h2",
|
|
1171
1174
|
"h3",
|
|
@@ -1278,5 +1281,22 @@
|
|
|
1278
1281
|
"text-success-content",
|
|
1279
1282
|
"text-warning",
|
|
1280
1283
|
"text-warning-content"
|
|
1284
|
+
],
|
|
1285
|
+
"type-scale": [
|
|
1286
|
+
"text-xs",
|
|
1287
|
+
"text-sm",
|
|
1288
|
+
"text-md",
|
|
1289
|
+
"text-base",
|
|
1290
|
+
"text-lg",
|
|
1291
|
+
"text-xl",
|
|
1292
|
+
"text-2xl",
|
|
1293
|
+
"text-3xl",
|
|
1294
|
+
"text-4xl",
|
|
1295
|
+
"text-5xl",
|
|
1296
|
+
"text-6xl",
|
|
1297
|
+
"text-7xl",
|
|
1298
|
+
"text-8xl",
|
|
1299
|
+
"text-9xl",
|
|
1300
|
+
"text-10xl"
|
|
1281
1301
|
]
|
|
1282
1302
|
}
|
|
@@ -3801,7 +3801,7 @@
|
|
|
3801
3801
|
"props": [
|
|
3802
3802
|
{
|
|
3803
3803
|
"name": "FileInputProps",
|
|
3804
|
-
"extends": "extends VoidElementProps<\n Omit<React.InputHTMLAttributes<HTMLInputElement>, \"type\" | \"size\">\n >",
|
|
3804
|
+
"extends": "extends VoidElementProps<\r\n Omit<React.InputHTMLAttributes<HTMLInputElement>, \"type\" | \"size\">\r\n >",
|
|
3805
3805
|
"members": [
|
|
3806
3806
|
{
|
|
3807
3807
|
"name": "size",
|
|
@@ -6271,7 +6271,7 @@
|
|
|
6271
6271
|
]
|
|
6272
6272
|
}
|
|
6273
6273
|
],
|
|
6274
|
-
"usageExample": "import {\r\n Dialog,\r\n DialogTrigger,\r\n DialogClose,\r\n DialogContent,\r\n DialogTitle,\r\n DialogDescription,\r\n DialogHeader,\r\n DialogFooter,\r\n Button,\r\n} from \"@wizeworks/silicaui-react\";\r\nimport { Section, Row } from \"../lib/Section\";\r\n\r\nexport function DialogDemo() {\r\n return (\r\n <>\r\n <Section title=\"Real use · destructive-action confirmation\">\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button color=\"error\" variant=\"outline\">\r\n Delete project…\r\n </Button>\r\n </DialogTrigger>\r\n <DialogContent>\r\n <DialogTitle>Delete project?</DialogTitle>\r\n <DialogDescription>\r\n This will permanently delete the project and all its data. This\r\n can't be undone.\r\n </DialogDescription>\r\n <div className=\"mt-4 flex justify-end gap-2\">\r\n <DialogClose>\r\n <Button variant=\"ghost\" color=\"neutral\">\r\n Cancel\r\n </Button>\r\n </DialogClose>\r\n <DialogClose>\r\n <Button color=\"error\">Delete</Button>\r\n </DialogClose>\r\n </div>\r\n </DialogContent>\r\n </Dialog>\r\n </Section>\r\n\r\n <Section title=\"Header + Footer · placeable docking bars, sticky footer\">\r\n <Row>\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button variant=\"outline\">Header/Footer</Button>\r\n </DialogTrigger>\r\n <DialogContent>\r\n <DialogHeader>\r\n <DialogTitle>Invite teammates</DialogTitle>\r\n <DialogClose>\r\n <Button variant=\"ghost\" shape=\"circle\" size=\"sm\">\r\n ✕\r\n </Button>\r\n </DialogClose>\r\n </DialogHeader>\r\n <DialogDescription>\r\n Send an invite by email — they'll get access once they accept.\r\n </DialogDescription>\r\n <DialogFooter>\r\n <DialogClose>\r\n <Button variant=\"ghost\" color=\"neutral\">\r\n Cancel\r\n </Button>\r\n </DialogClose>\r\n <DialogClose>\r\n <Button>Send invite</Button>\r\n </DialogClose>\r\n </DialogFooter>\r\n </DialogContent>\r\n </Dialog>\r\n\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button variant=\"outline\">Sticky footer (scrolling content)</Button>\r\n </DialogTrigger>\r\n <DialogContent className=\"max-h-[70dvh]\">\r\n <DialogHeader sticky>\r\n <DialogTitle>Terms of service</DialogTitle>\r\n </DialogHeader>\r\n <
|
|
6274
|
+
"usageExample": "import {\r\n Dialog,\r\n DialogTrigger,\r\n DialogClose,\r\n DialogContent,\r\n DialogTitle,\r\n DialogDescription,\r\n DialogHeader,\r\n DialogFooter,\r\n Button,\r\n} from \"@wizeworks/silicaui-react\";\r\nimport { Section, Row } from \"../lib/Section\";\r\n\r\nexport function DialogDemo() {\r\n return (\r\n <>\r\n <Section title=\"Real use · destructive-action confirmation\">\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button color=\"error\" variant=\"outline\">\r\n Delete project…\r\n </Button>\r\n </DialogTrigger>\r\n <DialogContent>\r\n <DialogTitle>Delete project?</DialogTitle>\r\n <DialogDescription>\r\n This will permanently delete the project and all its data. This\r\n can't be undone.\r\n </DialogDescription>\r\n <div className=\"mt-4 flex justify-end gap-2\">\r\n <DialogClose>\r\n <Button variant=\"ghost\" color=\"neutral\">\r\n Cancel\r\n </Button>\r\n </DialogClose>\r\n <DialogClose>\r\n <Button color=\"error\">Delete</Button>\r\n </DialogClose>\r\n </div>\r\n </DialogContent>\r\n </Dialog>\r\n </Section>\r\n\r\n <Section title=\"Header + Footer · placeable docking bars, sticky footer\">\r\n <Row>\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button variant=\"outline\">Header/Footer</Button>\r\n </DialogTrigger>\r\n <DialogContent>\r\n <DialogHeader>\r\n <DialogTitle>Invite teammates</DialogTitle>\r\n <DialogClose>\r\n <Button variant=\"ghost\" shape=\"circle\" size=\"sm\">\r\n ✕\r\n </Button>\r\n </DialogClose>\r\n </DialogHeader>\r\n <DialogDescription>\r\n Send an invite by email — they'll get access once they accept.\r\n </DialogDescription>\r\n <DialogFooter>\r\n <DialogClose>\r\n <Button variant=\"ghost\" color=\"neutral\">\r\n Cancel\r\n </Button>\r\n </DialogClose>\r\n <DialogClose>\r\n <Button>Send invite</Button>\r\n </DialogClose>\r\n </DialogFooter>\r\n </DialogContent>\r\n </Dialog>\r\n\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button variant=\"outline\">Sticky footer (scrolling content)</Button>\r\n </DialogTrigger>\r\n <DialogContent className=\"max-h-[70dvh]\">\r\n <DialogHeader sticky>\r\n <DialogTitle>Terms of service</DialogTitle>\r\n </DialogHeader>\r\n <div>\r\n {Array.from({ length: 12 }, (_, i) => (\r\n <p key={i} className=\"mb-3\">\r\n Section {i + 1} — placeholder legal text to force this\r\n dialog to scroll so the sticky footer below stays pinned.\r\n </p>\r\n ))}\r\n </div>\r\n <DialogFooter sticky>\r\n <DialogClose>\r\n <Button variant=\"ghost\" color=\"neutral\">\r\n Decline\r\n </Button>\r\n </DialogClose>\r\n <DialogClose>\r\n <Button>Accept</Button>\r\n </DialogClose>\r\n </DialogFooter>\r\n </DialogContent>\r\n </Dialog>\r\n </Row>\r\n </Section>\r\n\r\n <Section title=\"Glass · frosted popup over the dimmed backdrop\">\r\n <Dialog>\r\n <DialogTrigger>\r\n <Button variant=\"outline\">Glass dialog</Button>\r\n </DialogTrigger>\r\n <DialogContent className=\"glass\">\r\n <DialogTitle>Restart required</DialogTitle>\r\n <DialogDescription>\r\n <code>DialogContent className="glass"</code> frosts the\r\n popup over the existing dimmed backdrop — same class, no new prop.\r\n </DialogDescription>\r\n <div className=\"mt-4 flex justify-end gap-2\">\r\n <DialogClose>\r\n <Button variant=\"ghost\" color=\"neutral\">\r\n Later\r\n </Button>\r\n </DialogClose>\r\n <DialogClose>\r\n <Button>Restart now</Button>\r\n </DialogClose>\r\n </div>\r\n </DialogContent>\r\n </Dialog>\r\n </Section>\r\n </>\r\n );\r\n}"
|
|
6275
6275
|
},
|
|
6276
6276
|
{
|
|
6277
6277
|
"name": "Drawer",
|
|
@@ -6648,7 +6648,7 @@
|
|
|
6648
6648
|
]
|
|
6649
6649
|
}
|
|
6650
6650
|
],
|
|
6651
|
-
"usageExample": "import { useState, useEffect } from \"react\";\nimport { RadialProgress } from \"@wizeworks/silicaui-react\";\nimport { Section, Row } from \"../lib/Section\";\nimport { COLORS } from \"../lib/data\";\n\nexport function RadialProgressDemo() {\n const [pct, setPct] = useState(0);\n\n useEffect(() => {\n const id = setInterval(() => setPct((p) => (p >= 100 ? 0 : p + 5)), 200);\n return () => clearInterval(id);\n }, []);\n\n return (\n <>\n <Section title=\"Colors\">\n <Row>\n {COLORS.slice(0, 6).map((color) => (\n <RadialProgress key={color} value={70} color={color} />\n ))}\n </Row>\n </Section>\n\n <Section title=\"Sizes\">\n <Row>\n <RadialProgress value={60} color=\"primary\" diameter=\"3rem\" thickness=\"0.35rem\" />\n <RadialProgress value={60} color=\"primary\" diameter=\"5rem\" thickness=\"0.5rem\" />\n <RadialProgress value={60} color=\"primary\" diameter=\"8rem\" thickness=\"0.75rem\" />\n </Row>\n </Section>\n\n <Section title=\"Real use · animated upload progress\">\n <RadialProgress value={pct} color=\"brand\" diameter=\"6rem\" />\n </Section>\n </>\n );\n}"
|
|
6651
|
+
"usageExample": "import { useState, useEffect } from \"react\";\r\nimport { RadialProgress } from \"@wizeworks/silicaui-react\";\r\nimport { Section, Row } from \"../lib/Section\";\r\nimport { COLORS } from \"../lib/data\";\r\n\r\nexport function RadialProgressDemo() {\r\n const [pct, setPct] = useState(0);\r\n\r\n useEffect(() => {\r\n const id = setInterval(() => setPct((p) => (p >= 100 ? 0 : p + 5)), 200);\r\n return () => clearInterval(id);\r\n }, []);\r\n\r\n return (\r\n <>\r\n <Section title=\"Colors\">\r\n <Row>\r\n {COLORS.slice(0, 6).map((color) => (\r\n <RadialProgress key={color} value={70} color={color} />\r\n ))}\r\n </Row>\r\n </Section>\r\n\r\n <Section title=\"Sizes\">\r\n <Row>\r\n <RadialProgress value={60} color=\"primary\" diameter=\"3rem\" thickness=\"0.35rem\" />\r\n <RadialProgress value={60} color=\"primary\" diameter=\"5rem\" thickness=\"0.5rem\" />\r\n <RadialProgress value={60} color=\"primary\" diameter=\"8rem\" thickness=\"0.75rem\" />\r\n </Row>\r\n </Section>\r\n\r\n <Section title=\"Real use · animated upload progress\">\r\n <RadialProgress value={pct} color=\"brand\" diameter=\"6rem\" />\r\n </Section>\r\n </>\r\n );\r\n}"
|
|
6652
6652
|
},
|
|
6653
6653
|
{
|
|
6654
6654
|
"name": "Skeleton",
|
|
@@ -7619,8 +7619,8 @@
|
|
|
7619
7619
|
{
|
|
7620
7620
|
"name": "visualLevel",
|
|
7621
7621
|
"optional": true,
|
|
7622
|
-
"type": "HeadingLevel | \"display\"",
|
|
7623
|
-
"doc": "Visual heading scale (`1`–`6
|
|
7622
|
+
"type": "HeadingLevel | \"display\" | `display-${DisplayStep}`",
|
|
7623
|
+
"doc": "Visual heading scale (`1`–`6`, `\"display\"`, or `\"display-1\"`–`\"display-3\"`), independent of the semantic `level`; omit to use the tag default. Named `visualLevel`, not `size`, on purpose: everywhere else in Silica `size` is the `xs`–`xl` token scale, and a prop that takes `3` in one component and `\"lg\"` in the next is a prop in name only."
|
|
7624
7624
|
}
|
|
7625
7625
|
]
|
|
7626
7626
|
},
|
|
@@ -7632,7 +7632,13 @@
|
|
|
7632
7632
|
"name": "level",
|
|
7633
7633
|
"optional": true,
|
|
7634
7634
|
"type": "HeadingLevel",
|
|
7635
|
-
"doc": "Semantic level for the outline (
|
|
7635
|
+
"doc": "Semantic level for the outline (default 1) — independent of the visual size."
|
|
7636
|
+
},
|
|
7637
|
+
{
|
|
7638
|
+
"name": "visualLevel",
|
|
7639
|
+
"optional": true,
|
|
7640
|
+
"type": "DisplayStep",
|
|
7641
|
+
"doc": "Which step of the display ramp (`1`–`3`, largest → smallest). Omit for the base `.display` (equal to `.display-3`). Named `visualLevel` to parallel `Heading`, never `size` (which is the `xs`–`xl` token scale everywhere else)."
|
|
7636
7642
|
}
|
|
7637
7643
|
]
|
|
7638
7644
|
},
|
|
@@ -7678,7 +7684,7 @@
|
|
|
7678
7684
|
"package": "@wizeworks/silicaui-react",
|
|
7679
7685
|
"category": "Typography",
|
|
7680
7686
|
"sourceFile": "silicaui-react/src/typography.tsx",
|
|
7681
|
-
"description": "Oversized hero/display heading
|
|
7687
|
+
"description": "Oversized hero/display heading on a semantic heading element.",
|
|
7682
7688
|
"props": [
|
|
7683
7689
|
{
|
|
7684
7690
|
"name": "HeadingProps",
|
|
@@ -7693,8 +7699,8 @@
|
|
|
7693
7699
|
{
|
|
7694
7700
|
"name": "visualLevel",
|
|
7695
7701
|
"optional": true,
|
|
7696
|
-
"type": "HeadingLevel | \"display\"",
|
|
7697
|
-
"doc": "Visual heading scale (`1`–`6
|
|
7702
|
+
"type": "HeadingLevel | \"display\" | `display-${DisplayStep}`",
|
|
7703
|
+
"doc": "Visual heading scale (`1`–`6`, `\"display\"`, or `\"display-1\"`–`\"display-3\"`), independent of the semantic `level`; omit to use the tag default. Named `visualLevel`, not `size`, on purpose: everywhere else in Silica `size` is the `xs`–`xl` token scale, and a prop that takes `3` in one component and `\"lg\"` in the next is a prop in name only."
|
|
7698
7704
|
}
|
|
7699
7705
|
]
|
|
7700
7706
|
},
|
|
@@ -7706,7 +7712,13 @@
|
|
|
7706
7712
|
"name": "level",
|
|
7707
7713
|
"optional": true,
|
|
7708
7714
|
"type": "HeadingLevel",
|
|
7709
|
-
"doc": "Semantic level for the outline (
|
|
7715
|
+
"doc": "Semantic level for the outline (default 1) — independent of the visual size."
|
|
7716
|
+
},
|
|
7717
|
+
{
|
|
7718
|
+
"name": "visualLevel",
|
|
7719
|
+
"optional": true,
|
|
7720
|
+
"type": "DisplayStep",
|
|
7721
|
+
"doc": "Which step of the display ramp (`1`–`3`, largest → smallest). Omit for the base `.display` (equal to `.display-3`). Named `visualLevel` to parallel `Heading`, never `size` (which is the `xs`–`xl` token scale everywhere else)."
|
|
7710
7722
|
}
|
|
7711
7723
|
]
|
|
7712
7724
|
},
|
|
@@ -7767,8 +7779,8 @@
|
|
|
7767
7779
|
{
|
|
7768
7780
|
"name": "visualLevel",
|
|
7769
7781
|
"optional": true,
|
|
7770
|
-
"type": "HeadingLevel | \"display\"",
|
|
7771
|
-
"doc": "Visual heading scale (`1`–`6
|
|
7782
|
+
"type": "HeadingLevel | \"display\" | `display-${DisplayStep}`",
|
|
7783
|
+
"doc": "Visual heading scale (`1`–`6`, `\"display\"`, or `\"display-1\"`–`\"display-3\"`), independent of the semantic `level`; omit to use the tag default. Named `visualLevel`, not `size`, on purpose: everywhere else in Silica `size` is the `xs`–`xl` token scale, and a prop that takes `3` in one component and `\"lg\"` in the next is a prop in name only."
|
|
7772
7784
|
}
|
|
7773
7785
|
]
|
|
7774
7786
|
},
|
|
@@ -7780,7 +7792,13 @@
|
|
|
7780
7792
|
"name": "level",
|
|
7781
7793
|
"optional": true,
|
|
7782
7794
|
"type": "HeadingLevel",
|
|
7783
|
-
"doc": "Semantic level for the outline (
|
|
7795
|
+
"doc": "Semantic level for the outline (default 1) — independent of the visual size."
|
|
7796
|
+
},
|
|
7797
|
+
{
|
|
7798
|
+
"name": "visualLevel",
|
|
7799
|
+
"optional": true,
|
|
7800
|
+
"type": "DisplayStep",
|
|
7801
|
+
"doc": "Which step of the display ramp (`1`–`3`, largest → smallest). Omit for the base `.display` (equal to `.display-3`). Named `visualLevel` to parallel `Heading`, never `size` (which is the `xs`–`xl` token scale everywhere else)."
|
|
7784
7802
|
}
|
|
7785
7803
|
]
|
|
7786
7804
|
},
|
|
@@ -7863,8 +7881,8 @@
|
|
|
7863
7881
|
{
|
|
7864
7882
|
"name": "visualLevel",
|
|
7865
7883
|
"optional": true,
|
|
7866
|
-
"type": "HeadingLevel | \"display\"",
|
|
7867
|
-
"doc": "Visual heading scale (`1`–`6
|
|
7884
|
+
"type": "HeadingLevel | \"display\" | `display-${DisplayStep}`",
|
|
7885
|
+
"doc": "Visual heading scale (`1`–`6`, `\"display\"`, or `\"display-1\"`–`\"display-3\"`), independent of the semantic `level`; omit to use the tag default. Named `visualLevel`, not `size`, on purpose: everywhere else in Silica `size` is the `xs`–`xl` token scale, and a prop that takes `3` in one component and `\"lg\"` in the next is a prop in name only."
|
|
7868
7886
|
}
|
|
7869
7887
|
]
|
|
7870
7888
|
},
|
|
@@ -7876,7 +7894,13 @@
|
|
|
7876
7894
|
"name": "level",
|
|
7877
7895
|
"optional": true,
|
|
7878
7896
|
"type": "HeadingLevel",
|
|
7879
|
-
"doc": "Semantic level for the outline (
|
|
7897
|
+
"doc": "Semantic level for the outline (default 1) — independent of the visual size."
|
|
7898
|
+
},
|
|
7899
|
+
{
|
|
7900
|
+
"name": "visualLevel",
|
|
7901
|
+
"optional": true,
|
|
7902
|
+
"type": "DisplayStep",
|
|
7903
|
+
"doc": "Which step of the display ramp (`1`–`3`, largest → smallest). Omit for the base `.display` (equal to `.display-3`). Named `visualLevel` to parallel `Heading`, never `size` (which is the `xs`–`xl` token scale everywhere else)."
|
|
7880
7904
|
}
|
|
7881
7905
|
]
|
|
7882
7906
|
},
|
package/dist/data/tokens.json
CHANGED
|
@@ -156,6 +156,99 @@
|
|
|
156
156
|
],
|
|
157
157
|
"typography": {
|
|
158
158
|
"baseFontSize": "100% (≈16px) — an explicit anchor, not the UA default by accident; the whole rem-based type scale (text-md = 1rem) scales with it.",
|
|
159
|
+
"scale": {
|
|
160
|
+
"xs": {
|
|
161
|
+
"class": "text-xs",
|
|
162
|
+
"fontSize": "0.75rem",
|
|
163
|
+
"px": 12,
|
|
164
|
+
"lineHeight": "1rem"
|
|
165
|
+
},
|
|
166
|
+
"sm": {
|
|
167
|
+
"class": "text-sm",
|
|
168
|
+
"fontSize": "0.875rem",
|
|
169
|
+
"px": 14,
|
|
170
|
+
"lineHeight": "1.25rem"
|
|
171
|
+
},
|
|
172
|
+
"md": {
|
|
173
|
+
"class": "text-md",
|
|
174
|
+
"fontSize": "1rem",
|
|
175
|
+
"px": 16,
|
|
176
|
+
"lineHeight": "1.5rem"
|
|
177
|
+
},
|
|
178
|
+
"base": {
|
|
179
|
+
"class": "text-base",
|
|
180
|
+
"fontSize": "1rem",
|
|
181
|
+
"px": 16,
|
|
182
|
+
"lineHeight": "1.5rem"
|
|
183
|
+
},
|
|
184
|
+
"lg": {
|
|
185
|
+
"class": "text-lg",
|
|
186
|
+
"fontSize": "1.125rem",
|
|
187
|
+
"px": 18,
|
|
188
|
+
"lineHeight": "1.75rem"
|
|
189
|
+
},
|
|
190
|
+
"xl": {
|
|
191
|
+
"class": "text-xl",
|
|
192
|
+
"fontSize": "1.25rem",
|
|
193
|
+
"px": 20,
|
|
194
|
+
"lineHeight": "1.75rem"
|
|
195
|
+
},
|
|
196
|
+
"2xl": {
|
|
197
|
+
"class": "text-2xl",
|
|
198
|
+
"fontSize": "1.5rem",
|
|
199
|
+
"px": 24,
|
|
200
|
+
"lineHeight": "2rem"
|
|
201
|
+
},
|
|
202
|
+
"3xl": {
|
|
203
|
+
"class": "text-3xl",
|
|
204
|
+
"fontSize": "1.875rem",
|
|
205
|
+
"px": 30,
|
|
206
|
+
"lineHeight": "2.25rem"
|
|
207
|
+
},
|
|
208
|
+
"4xl": {
|
|
209
|
+
"class": "text-4xl",
|
|
210
|
+
"fontSize": "2.25rem",
|
|
211
|
+
"px": 36,
|
|
212
|
+
"lineHeight": "2.5rem"
|
|
213
|
+
},
|
|
214
|
+
"5xl": {
|
|
215
|
+
"class": "text-5xl",
|
|
216
|
+
"fontSize": "3rem",
|
|
217
|
+
"px": 48,
|
|
218
|
+
"lineHeight": "1"
|
|
219
|
+
},
|
|
220
|
+
"6xl": {
|
|
221
|
+
"class": "text-6xl",
|
|
222
|
+
"fontSize": "3.75rem",
|
|
223
|
+
"px": 60,
|
|
224
|
+
"lineHeight": "1"
|
|
225
|
+
},
|
|
226
|
+
"7xl": {
|
|
227
|
+
"class": "text-7xl",
|
|
228
|
+
"fontSize": "4.5rem",
|
|
229
|
+
"px": 72,
|
|
230
|
+
"lineHeight": "1"
|
|
231
|
+
},
|
|
232
|
+
"8xl": {
|
|
233
|
+
"class": "text-8xl",
|
|
234
|
+
"fontSize": "6rem",
|
|
235
|
+
"px": 96,
|
|
236
|
+
"lineHeight": "1"
|
|
237
|
+
},
|
|
238
|
+
"9xl": {
|
|
239
|
+
"class": "text-9xl",
|
|
240
|
+
"fontSize": "8rem",
|
|
241
|
+
"px": 128,
|
|
242
|
+
"lineHeight": "1"
|
|
243
|
+
},
|
|
244
|
+
"10xl": {
|
|
245
|
+
"class": "text-10xl",
|
|
246
|
+
"fontSize": "10rem",
|
|
247
|
+
"px": 160,
|
|
248
|
+
"lineHeight": "1"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"scaleNote": "The `text-*` size ladder — `text-md` == `text-base` == 1rem == 16px. `text-8xl`/`9xl` match Tailwind's defaults; `text-10xl` (160px) extends past them. Prefer a step over a `text-[13px]` magic number.",
|
|
159
252
|
"fontFamilyTokens": [
|
|
160
253
|
"--font-sans",
|
|
161
254
|
"--font-serif",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizeworks/silicaui-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "A local MCP server that lets AI coding assistants query the Silica UI design system — real class names, component props, blocks, and behaviors — instead of guessing.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|