@commercetools/nimbus 0.0.0-canary-20251113220504 → 0.0.0-canary-20251114173326

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.
@@ -1 +1 @@
1
- {"version":3,"file":"text-BtRhIklG.cjs.js","sources":["../../src/components/text/text.tsx"],"sourcesContent":["import {\n Text as ChakraText,\n type TextProps as ChakraTextProps,\n} from \"@chakra-ui/react/text\";\nimport { TextContext, useContextProps } from \"react-aria-components\";\n\nexport type TextProps = Omit<ChakraTextProps, \"slot\"> & {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n};\n\n/**\n * # Text\n *\n * the Text component is used to display text\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/text}\n */\nexport const Text = ({ ref: forwardedRef, ...props }: TextProps) => {\n const [contextProps, ref] = useContextProps(\n props,\n forwardedRef ?? null,\n TextContext\n );\n return (\n <ChakraText\n ref={ref as React.Ref<HTMLParagraphElement>}\n {...contextProps}\n slot={props.slot ?? undefined}\n />\n );\n};\n\nText.displayName = \"Text\";\n"],"names":["Text","forwardedRef","props","contextProps","ref","useContextProps","TextContext","jsx","ChakraText"],"mappings":"8JAkBaA,EAAO,CAAC,CAAE,IAAKC,EAAc,GAAGC,KAAuB,CAClE,KAAM,CAACC,EAAcC,CAAG,EAAIC,EAAAA,0CAC1BH,EACAD,GAAgB,KAChBK,EAAAA,yCAAA,EAEF,OACEC,EAAAA,IAACC,EAAAA,KAAA,CACC,IAAAJ,EACC,GAAGD,EACJ,KAAMD,EAAM,MAAQ,MAAA,CAAA,CAG1B,EAEAF,EAAK,YAAc"}
1
+ {"version":3,"file":"text-BtRhIklG.cjs.js","sources":["../../src/components/text/text.tsx"],"sourcesContent":["import {\n Text as ChakraText,\n type TextProps as ChakraTextProps,\n} from \"@chakra-ui/react/text\";\nimport { TextContext, useContextProps } from \"react-aria-components\";\n\nexport type TextProps = Omit<ChakraTextProps, \"slot\"> & {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n};\n\n/**\n * # Text\n *\n * the Text component is used to display text\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/text}\n *\n * @supportsStyleProps\n */\nexport const Text = ({ ref: forwardedRef, ...props }: TextProps) => {\n const [contextProps, ref] = useContextProps(\n props,\n forwardedRef ?? null,\n TextContext\n );\n return (\n <ChakraText\n ref={ref as React.Ref<HTMLParagraphElement>}\n {...contextProps}\n slot={props.slot ?? undefined}\n />\n );\n};\n\nText.displayName = \"Text\";\n"],"names":["Text","forwardedRef","props","contextProps","ref","useContextProps","TextContext","jsx","ChakraText"],"mappings":"8JAoBaA,EAAO,CAAC,CAAE,IAAKC,EAAc,GAAGC,KAAuB,CAClE,KAAM,CAACC,EAAcC,CAAG,EAAIC,EAAAA,0CAC1BH,EACAD,GAAgB,KAChBK,EAAAA,yCAAA,EAEF,OACEC,EAAAA,IAACC,EAAAA,KAAA,CACC,IAAAJ,EACC,GAAGD,EACJ,KAAMD,EAAM,MAAQ,MAAA,CAAA,CAG1B,EAEAF,EAAK,YAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-CIb_VDvO.es.js","sources":["../../src/components/text/text.tsx"],"sourcesContent":["import {\n Text as ChakraText,\n type TextProps as ChakraTextProps,\n} from \"@chakra-ui/react/text\";\nimport { TextContext, useContextProps } from \"react-aria-components\";\n\nexport type TextProps = Omit<ChakraTextProps, \"slot\"> & {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n};\n\n/**\n * # Text\n *\n * the Text component is used to display text\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/text}\n */\nexport const Text = ({ ref: forwardedRef, ...props }: TextProps) => {\n const [contextProps, ref] = useContextProps(\n props,\n forwardedRef ?? null,\n TextContext\n );\n return (\n <ChakraText\n ref={ref as React.Ref<HTMLParagraphElement>}\n {...contextProps}\n slot={props.slot ?? undefined}\n />\n );\n};\n\nText.displayName = \"Text\";\n"],"names":["Text","forwardedRef","props","contextProps","ref","useContextProps","TextContext","jsx","ChakraText"],"mappings":";;;;AAkBO,MAAMA,IAAO,CAAC,EAAE,KAAKC,GAAc,GAAGC,QAAuB;AAClE,QAAM,CAACC,GAAcC,CAAG,IAAIC;AAAAA,IAC1BH;AAAA,IACAD,KAAgB;AAAA,IAChBK;AAAAA,EAAA;AAEF,SACE,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,KAAAJ;AAAA,MACC,GAAGD;AAAA,MACJ,MAAMD,EAAM,QAAQ;AAAA,IAAA;AAAA,EAAA;AAG1B;AAEAF,EAAK,cAAc;"}
1
+ {"version":3,"file":"text-CIb_VDvO.es.js","sources":["../../src/components/text/text.tsx"],"sourcesContent":["import {\n Text as ChakraText,\n type TextProps as ChakraTextProps,\n} from \"@chakra-ui/react/text\";\nimport { TextContext, useContextProps } from \"react-aria-components\";\n\nexport type TextProps = Omit<ChakraTextProps, \"slot\"> & {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n};\n\n/**\n * # Text\n *\n * the Text component is used to display text\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/text}\n *\n * @supportsStyleProps\n */\nexport const Text = ({ ref: forwardedRef, ...props }: TextProps) => {\n const [contextProps, ref] = useContextProps(\n props,\n forwardedRef ?? null,\n TextContext\n );\n return (\n <ChakraText\n ref={ref as React.Ref<HTMLParagraphElement>}\n {...contextProps}\n slot={props.slot ?? undefined}\n />\n );\n};\n\nText.displayName = \"Text\";\n"],"names":["Text","forwardedRef","props","contextProps","ref","useContextProps","TextContext","jsx","ChakraText"],"mappings":";;;;AAoBO,MAAMA,IAAO,CAAC,EAAE,KAAKC,GAAc,GAAGC,QAAuB;AAClE,QAAM,CAACC,GAAcC,CAAG,IAAIC;AAAAA,IAC1BH;AAAA,IACAD,KAAgB;AAAA,IAChBK;AAAAA,EAAA;AAEF,SACE,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,KAAAJ;AAAA,MACC,GAAGD;AAAA,MACJ,MAAMD,EAAM,QAAQ;AAAA,IAAA;AAAA,EAAA;AAG1B;AAEAF,EAAK,cAAc;"}
@@ -9,6 +9,8 @@ export type TextProps = Omit<ChakraTextProps, "slot"> & {
9
9
  * the Text component is used to display text
10
10
  *
11
11
  * @see {@link https://nimbus-documentation.vercel.app/components/typography/text}
12
+ *
13
+ * @supportsStyleProps
12
14
  */
13
15
  export declare const Text: {
14
16
  ({ ref: forwardedRef, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools/nimbus",
3
- "version": "0.0.0-canary-20251113220504",
3
+ "version": "0.0.0-canary-20251114173326",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.es.js",
6
6
  "type": "module",
@@ -102,8 +102,8 @@
102
102
  "vite-plugin-dts": "^4.5.4",
103
103
  "vite-tsconfig-paths": "^5.1.4",
104
104
  "vitest": "^3.2.4",
105
- "@commercetools/nimbus-tokens": "^0.0.0-canary-20251113220504",
106
- "@commercetools/nimbus-icons": "^0.0.0-canary-20251113220504"
105
+ "@commercetools/nimbus-icons": "^0.0.0-canary-20251114173326",
106
+ "@commercetools/nimbus-tokens": "^0.0.0-canary-20251114173326"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@chakra-ui/react": "^3.27.1",
@@ -113,8 +113,8 @@
113
113
  "slate-history": "^0.113.1",
114
114
  "slate-hyperscript": "^0.77.0",
115
115
  "slate-react": "^0.75.0",
116
- "@commercetools/nimbus-icons": "^0.0.0-canary-20251113220504",
117
- "@commercetools/nimbus-tokens": "^0.0.0-canary-20251113220504"
116
+ "@commercetools/nimbus-icons": "^0.0.0-canary-20251114173326",
117
+ "@commercetools/nimbus-tokens": "^0.0.0-canary-20251114173326"
118
118
  },
119
119
  "scripts": {
120
120
  "build": "pnpm run build-theme-typings && pnpm run build:lib",