@nurix/ui-component-library 1.1.7-stage.147 → 1.1.7-stage.148
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/dist/styles.css +4 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1518,8 +1518,8 @@ type TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitiv
|
|
|
1518
1518
|
* Each has a predefined font-size, line-height, and font-weight.
|
|
1519
1519
|
*/
|
|
1520
1520
|
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p1" | "p2" | "p3" | "b1" | "b2" | "subtext-xs" | "subtext-sm" | "input-xs" | "input-sm" | "label-sm" | "label-sm-mono" | "label-md" | "label-lg";
|
|
1521
|
-
/** Utility text sizes (
|
|
1522
|
-
type TypographySize = "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
1521
|
+
/** Utility text sizes (10px through text-6xl). Use with `weight` prop. */
|
|
1522
|
+
type TypographySize = "10px" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
1523
1523
|
/** Font weight options (maps to Figma weight tokens). */
|
|
1524
1524
|
type TypographyWeight = "thin" | "extra-light" | "light" | "regular" | "medium" | "semi-bold" | "bold" | "extra-bold" | "black";
|
|
1525
1525
|
type TypographyTone = "default" | "muted" | "inherit";
|
package/dist/index.d.ts
CHANGED
|
@@ -1518,8 +1518,8 @@ type TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitiv
|
|
|
1518
1518
|
* Each has a predefined font-size, line-height, and font-weight.
|
|
1519
1519
|
*/
|
|
1520
1520
|
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p1" | "p2" | "p3" | "b1" | "b2" | "subtext-xs" | "subtext-sm" | "input-xs" | "input-sm" | "label-sm" | "label-sm-mono" | "label-md" | "label-lg";
|
|
1521
|
-
/** Utility text sizes (
|
|
1522
|
-
type TypographySize = "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
1521
|
+
/** Utility text sizes (10px through text-6xl). Use with `weight` prop. */
|
|
1522
|
+
type TypographySize = "10px" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
1523
1523
|
/** Font weight options (maps to Figma weight tokens). */
|
|
1524
1524
|
type TypographyWeight = "thin" | "extra-light" | "light" | "regular" | "medium" | "semi-bold" | "bold" | "extra-bold" | "black";
|
|
1525
1525
|
type TypographyTone = "default" | "muted" | "inherit";
|
package/dist/index.js
CHANGED
|
@@ -10454,6 +10454,8 @@ var TYPOGRAPHY_TOKENS = {
|
|
|
10454
10454
|
* Use with `weight` for fine-grained control.
|
|
10455
10455
|
*/
|
|
10456
10456
|
size: {
|
|
10457
|
+
"10px": "text-[10px] leading-[14px]",
|
|
10458
|
+
// 10px — micro labels / disclaimers
|
|
10457
10459
|
xs: "text-xs leading-4",
|
|
10458
10460
|
// 12px
|
|
10459
10461
|
sm: "text-sm leading-5",
|
package/dist/index.mjs
CHANGED
|
@@ -10333,6 +10333,8 @@ var TYPOGRAPHY_TOKENS = {
|
|
|
10333
10333
|
* Use with `weight` for fine-grained control.
|
|
10334
10334
|
*/
|
|
10335
10335
|
size: {
|
|
10336
|
+
"10px": "text-[10px] leading-[14px]",
|
|
10337
|
+
// 10px — micro labels / disclaimers
|
|
10336
10338
|
xs: "text-xs leading-4",
|
|
10337
10339
|
// 12px
|
|
10338
10340
|
sm: "text-sm leading-5",
|
package/dist/styles.css
CHANGED
|
@@ -1826,6 +1826,10 @@
|
|
|
1826
1826
|
--tw-leading: calc(var(--spacing) * 10);
|
|
1827
1827
|
line-height: calc(var(--spacing) * 10);
|
|
1828
1828
|
}
|
|
1829
|
+
.lego-land .leading-\[14px\] {
|
|
1830
|
+
--tw-leading: 14px;
|
|
1831
|
+
line-height: 14px;
|
|
1832
|
+
}
|
|
1829
1833
|
.lego-land .leading-none {
|
|
1830
1834
|
--tw-leading: 1;
|
|
1831
1835
|
line-height: 1;
|