@telia/teddy 0.0.9 → 0.0.11
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/assets/badge.css +1 -1
- package/dist/assets/heading.css +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/assets/navigation-menu.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/badge-DscsRVHR.js +1825 -0
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/badge/index.js +1 -1
- package/dist/components/box/box.js +8 -8
- package/dist/components/button/button.d.ts +2 -1
- package/dist/components/button/button.js +59 -60
- package/dist/components/card/card.js +3 -3
- package/dist/components/card/index.js +1 -1
- package/dist/components/flex/flex.js +1 -1
- package/dist/components/grid/grid.js +6 -6
- package/dist/components/heading/heading.d.ts +9 -36
- package/dist/components/heading/heading.js +36 -37
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +35 -33
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +4 -0
- package/dist/components/modal/modal.d.ts +76 -0
- package/dist/components/modal/modal.js +28 -0
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu.js +8 -1032
- package/dist/components/notification/index.d.ts +2 -0
- package/dist/components/notification/index.js +4 -0
- package/dist/components/notification/notification.d.ts +59 -0
- package/dist/components/notification/notification.js +27 -0
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/text-field/text-field.js +15 -15
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +3 -3
- package/dist/{index-0Eg2mucA.js → index-FPIZOCcD.js} +80 -80
- package/dist/main.js +51 -49
- package/dist/navigation-menu-DKuyW8zE.js +1036 -0
- package/dist/{radio-group-BR5SMJXJ.js → radio-group-B--zT3OL.js} +8 -8
- package/dist/tokens/breakpoint/variables.json.d.ts +11 -0
- package/dist/utils/component-props-as.d.ts +5 -0
- package/dist/utils/component-props-as.js +1 -0
- package/dist/utils/layout/align.d.ts +46 -0
- package/dist/utils/layout/align.js +31 -0
- package/dist/utils/layout/flex.d.ts +294 -0
- package/dist/utils/layout/flex.js +60 -0
- package/dist/utils/layout/gap.d.ts +340 -0
- package/dist/utils/layout/gap.js +21 -0
- package/dist/utils/layout/grid.d.ts +313 -0
- package/dist/utils/layout/grid.js +116 -0
- package/dist/utils/layout/height.d.ts +118 -0
- package/dist/utils/layout/height.js +50 -0
- package/dist/utils/layout/index.d.ts +70 -0
- package/dist/utils/layout/index.js +71 -0
- package/dist/utils/layout/justify.d.ts +39 -0
- package/dist/utils/layout/justify.js +16 -0
- package/dist/utils/layout/margin.d.ts +478 -0
- package/dist/utils/layout/margin.js +32 -0
- package/dist/utils/layout/padding.d.ts +478 -0
- package/dist/utils/layout/padding.js +32 -0
- package/dist/utils/layout/util.d.ts +82 -0
- package/dist/utils/layout/util.js +32 -0
- package/dist/utils/layout/width.d.ts +69 -0
- package/dist/utils/layout/width.js +25 -0
- package/package.json +5 -1
- package/dist/badge-9vHb0-Jo.js +0 -721
- package/dist/tokens/spacing/variables.json.d.ts +0 -34
- package/dist/utils/layout.d.ts +0 -150
- package/dist/utils/layout.js +0 -221
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = [
|
|
2
|
+
{ key: "auto", value: "auto" },
|
|
3
|
+
{ key: "100%", value: "100%" },
|
|
4
|
+
{ key: "50%", value: "50%" }
|
|
5
|
+
], a = [
|
|
6
|
+
{
|
|
7
|
+
key: "width",
|
|
8
|
+
className: "teddy-w",
|
|
9
|
+
values: e
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
key: "minWidth",
|
|
13
|
+
className: "teddy-min-w",
|
|
14
|
+
values: e
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
key: "maxWidth",
|
|
18
|
+
className: "teddy-max-w",
|
|
19
|
+
values: e
|
|
20
|
+
}
|
|
21
|
+
];
|
|
22
|
+
export {
|
|
23
|
+
e as widthValues,
|
|
24
|
+
a as widths
|
|
25
|
+
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"pnpm": ">=8"
|
|
12
12
|
},
|
|
13
13
|
"private": false,
|
|
14
|
-
"version": "0.0.
|
|
14
|
+
"version": "0.0.11",
|
|
15
15
|
"sideEffects": [
|
|
16
16
|
"**/*.css"
|
|
17
17
|
],
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@storybook/addon-links": "^8.0.9",
|
|
29
29
|
"@storybook/addon-storysource": "^8.0.9",
|
|
30
30
|
"@storybook/blocks": "^8.0.9",
|
|
31
|
+
"@storybook/client-api": "^7.6.17",
|
|
31
32
|
"@storybook/manager-api": "^8.0.9",
|
|
32
33
|
"@storybook/react": "^8.0.9",
|
|
33
34
|
"@storybook/react-vite": "^8.0.9",
|
|
@@ -70,12 +71,15 @@
|
|
|
70
71
|
},
|
|
71
72
|
"dependencies": {
|
|
72
73
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
74
|
+
"@radix-ui/react-collapsible": "^1.0.3",
|
|
75
|
+
"@radix-ui/react-dialog": "^1.0.5",
|
|
73
76
|
"@radix-ui/react-label": "^2.0.2",
|
|
74
77
|
"@radix-ui/react-navigation-menu": "^1.1.4",
|
|
75
78
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
76
79
|
"@radix-ui/react-slot": "^1.0.2",
|
|
77
80
|
"@radix-ui/react-switch": "^1.0.3",
|
|
78
81
|
"@radix-ui/react-toast": "^1.1.5",
|
|
82
|
+
"@radix-ui/react-use-controllable-state": "^1.0.1",
|
|
79
83
|
"@react-spring/web": "^9.7.3",
|
|
80
84
|
"clsx": "^2.1.0"
|
|
81
85
|
},
|