@commercetools/nimbus 0.0.0-canary-20260120162120 → 0.0.0-canary-20260121165837
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":"list-DJC9BmoC.cjs.js","sources":["../../src/components/list/components/list.root.tsx","../../src/components/list/components/list.item.tsx","../../src/components/list/components/list.indicator.tsx","../../src/components/list/list.tsx"],"sourcesContent":["import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListRoot\n *\n * The root container for list items.
|
|
1
|
+
{"version":3,"file":"list-DJC9BmoC.cjs.js","sources":["../../src/components/list/components/list.root.tsx","../../src/components/list/components/list.item.tsx","../../src/components/list/components/list.indicator.tsx","../../src/components/list/list.tsx"],"sourcesContent":["import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListRoot\n *\n * The root container for list items. Renders as `<ul>` by default.\n * Use the `as=\"ol\"` prop to render as an ordered list.\n *\n * @supportsStyleProps\n *\n * @example\n * ```tsx\n * // Unordered list (default)\n * <ListRoot>\n * <ListItem>First item</ListItem>\n * <ListItem>Second item</ListItem>\n * </ListRoot>\n *\n * // Ordered list\n * <ListRoot as=\"ol\">\n * <ListItem>First item</ListItem>\n * <ListItem>Second item</ListItem>\n * </ListRoot>\n * ```\n */\nexport const ListRoot = ChakraList.Root;\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListItem\n *\n * Represents a single item in the list.\n * Should be used as a child of ListRoot.\n *\n * @supportsStyleProps\n *\n * @example\n * ```tsx\n * <ListItem>List item content</ListItem>\n * ```\n */\nexport const ListItem = ChakraList.Item;\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListIndicator\n *\n * A custom marker or indicator that appears before the list item content.\n * Useful for icons, checkmarks, or custom bullets.\n *\n * @supportsStyleProps\n *\n * @example\n * ```tsx\n * <ListItem>\n * <ListIndicator>\n * <Icon><CheckIcon /></Icon>\n * </ListIndicator>\n * Item with custom indicator\n * </ListItem>\n * ```\n */\nexport const ListIndicator = ChakraList.Indicator;\n","import { ListRoot, ListItem, ListIndicator } from \"./components\";\n\n/**\n * # List\n *\n * displays a list\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/list}\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const List = {\n Root: ListRoot,\n Item: ListItem,\n Indicator: ListIndicator,\n};\n\nexport {\n ListRoot as _ListRoot,\n ListItem as _ListItem,\n ListIndicator as _ListIndicator,\n};\n"],"names":["ListRoot","ChakraList","ListItem","ListIndicator","List"],"mappings":"sDAyBaA,EAAWC,EAAAA,KAAW,KCVtBC,EAAWD,EAAAA,KAAW,KCKtBE,EAAgBF,EAAAA,KAAW,UCV3BG,EAAO,CAClB,KAAMJ,EACN,KAAME,EACN,UAAWC,CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-Nz5KjWzs.es.js","sources":["../../src/components/list/components/list.root.tsx","../../src/components/list/components/list.item.tsx","../../src/components/list/components/list.indicator.tsx","../../src/components/list/list.tsx"],"sourcesContent":["import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListRoot\n *\n * The root container for list items.
|
|
1
|
+
{"version":3,"file":"list-Nz5KjWzs.es.js","sources":["../../src/components/list/components/list.root.tsx","../../src/components/list/components/list.item.tsx","../../src/components/list/components/list.indicator.tsx","../../src/components/list/list.tsx"],"sourcesContent":["import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListRoot\n *\n * The root container for list items. Renders as `<ul>` by default.\n * Use the `as=\"ol\"` prop to render as an ordered list.\n *\n * @supportsStyleProps\n *\n * @example\n * ```tsx\n * // Unordered list (default)\n * <ListRoot>\n * <ListItem>First item</ListItem>\n * <ListItem>Second item</ListItem>\n * </ListRoot>\n *\n * // Ordered list\n * <ListRoot as=\"ol\">\n * <ListItem>First item</ListItem>\n * <ListItem>Second item</ListItem>\n * </ListRoot>\n * ```\n */\nexport const ListRoot = ChakraList.Root;\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListItem\n *\n * Represents a single item in the list.\n * Should be used as a child of ListRoot.\n *\n * @supportsStyleProps\n *\n * @example\n * ```tsx\n * <ListItem>List item content</ListItem>\n * ```\n */\nexport const ListItem = ChakraList.Item;\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\n/**\n * # ListIndicator\n *\n * A custom marker or indicator that appears before the list item content.\n * Useful for icons, checkmarks, or custom bullets.\n *\n * @supportsStyleProps\n *\n * @example\n * ```tsx\n * <ListItem>\n * <ListIndicator>\n * <Icon><CheckIcon /></Icon>\n * </ListIndicator>\n * Item with custom indicator\n * </ListItem>\n * ```\n */\nexport const ListIndicator = ChakraList.Indicator;\n","import { ListRoot, ListItem, ListIndicator } from \"./components\";\n\n/**\n * # List\n *\n * displays a list\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/list}\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const List = {\n Root: ListRoot,\n Item: ListItem,\n Indicator: ListIndicator,\n};\n\nexport {\n ListRoot as _ListRoot,\n ListItem as _ListItem,\n ListIndicator as _ListIndicator,\n};\n"],"names":["ListRoot","ChakraList","ListItem","ListIndicator","List"],"mappings":";AAyBO,MAAMA,IAAWC,EAAW,MCVtBC,IAAWD,EAAW,MCKtBE,IAAgBF,EAAW,WCV3BG,IAAO;AAAA,EAClB,MAAMJ;AAAA,EACN,MAAME;AAAA,EACN,WAAWC;AACb;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const messages: {
|
|
2
|
+
selectedValues: {
|
|
3
|
+
id: string;
|
|
4
|
+
description: string;
|
|
5
|
+
defaultMessage: string;
|
|
6
|
+
};
|
|
7
|
+
toggleOptions: {
|
|
8
|
+
id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
defaultMessage: string;
|
|
11
|
+
};
|
|
12
|
+
clearSelection: {
|
|
13
|
+
id: string;
|
|
14
|
+
description: string;
|
|
15
|
+
defaultMessage: string;
|
|
16
|
+
};
|
|
17
|
+
options: {
|
|
18
|
+
id: string;
|
|
19
|
+
description: string;
|
|
20
|
+
defaultMessage: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -2,18 +2,23 @@ import { List as ChakraList } from '@chakra-ui/react/list';
|
|
|
2
2
|
/**
|
|
3
3
|
* # ListRoot
|
|
4
4
|
*
|
|
5
|
-
* The root container for list items.
|
|
6
|
-
* Use
|
|
5
|
+
* The root container for list items. Renders as `<ul>` by default.
|
|
6
|
+
* Use the `as="ol"` prop to render as an ordered list.
|
|
7
7
|
*
|
|
8
8
|
* @supportsStyleProps
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```tsx
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* // Unordered list (default)
|
|
13
|
+
* <ListRoot>
|
|
14
|
+
* <ListItem>First item</ListItem>
|
|
15
|
+
* <ListItem>Second item</ListItem>
|
|
16
|
+
* </ListRoot>
|
|
17
|
+
*
|
|
18
|
+
* // Ordered list
|
|
19
|
+
* <ListRoot as="ol">
|
|
20
|
+
* <ListItem>First item</ListItem>
|
|
21
|
+
* <ListItem>Second item</ListItem>
|
|
17
22
|
* </ListRoot>
|
|
18
23
|
* ```
|
|
19
24
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools/nimbus",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260121165837",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"type": "module",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"vite-plugin-dts": "^4.5.4",
|
|
107
107
|
"vite-tsconfig-paths": "^5.1.4",
|
|
108
108
|
"vitest": "^4.0.17",
|
|
109
|
-
"@commercetools/nimbus-icons": "^0.0.0-canary-
|
|
110
|
-
"@commercetools/nimbus-tokens": "^0.0.0-canary-
|
|
109
|
+
"@commercetools/nimbus-icons": "^0.0.0-canary-20260121165837",
|
|
110
|
+
"@commercetools/nimbus-tokens": "^0.0.0-canary-20260121165837"
|
|
111
111
|
},
|
|
112
112
|
"peerDependencies": {
|
|
113
113
|
"@chakra-ui/react": "^3.31.0",
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"slate-history": "^0.113.1",
|
|
117
117
|
"slate-hyperscript": "^0.77.0",
|
|
118
118
|
"slate-react": "^0.75.0",
|
|
119
|
-
"@commercetools/nimbus-icons": "^0.0.0-canary-
|
|
120
|
-
"@commercetools/nimbus-tokens": "^0.0.0-canary-
|
|
119
|
+
"@commercetools/nimbus-icons": "^0.0.0-canary-20260121165837",
|
|
120
|
+
"@commercetools/nimbus-tokens": "^0.0.0-canary-20260121165837"
|
|
121
121
|
},
|
|
122
122
|
"scripts": {
|
|
123
123
|
"build": "pnpm run build-theme-typings && pnpm run build:lib",
|