@croquiscom/pds 0.30.2 → 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/CHANGELOG.md +12 -0
- package/dist/components/badge/types.d.ts +3 -3
- package/dist/components/banner/NormalBanner.d.ts +12 -0
- package/dist/components/banner/NormalBanner.stories.d.ts +6 -0
- package/dist/components/banner/index.d.ts +1 -0
- package/dist/components/banner/styles.d.ts +3 -0
- package/dist/components/bottom-sheet/BottomSheet.d.ts +1 -1
- package/dist/components/button/ButtonIcon.d.ts +5 -2
- package/dist/components/button/types.d.ts +6 -6
- package/dist/components/form/FormHelperText.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input/Input.d.ts +1 -1
- package/dist/components/input/InputBase.d.ts +1 -1
- package/dist/components/input/NumericInput.d.ts +1 -1
- package/dist/components/input/types.d.ts +2 -2
- package/dist/components/menu/MenuItem.d.ts +2 -1
- package/dist/components/message/MessageManager.d.ts +4 -4
- package/dist/components/message/types.d.ts +2 -2
- package/dist/components/modal/Modal.d.ts +1 -1
- package/dist/components/modal/renderModal.d.ts +2 -1
- package/dist/components/notification/types.d.ts +2 -2
- package/dist/components/popover/Popover.d.ts +2 -2
- package/dist/components/provider/Provider.d.ts +2 -2
- package/dist/components/radio/RadioGroup.d.ts +2 -2
- package/dist/components/stack/HStack.d.ts +1 -1
- package/dist/components/stack/VStack.d.ts +1 -1
- package/dist/components/stack/types.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/text/BaseText.d.ts +2 -2
- package/dist/components/toast/types.d.ts +4 -4
- package/dist/components/tooltip/Tooltip.d.ts +2 -2
- package/dist/components/tooltip/types.d.ts +2 -2
- package/dist/foundation/shapes.d.ts +2 -2
- package/dist/foundation/typography.d.ts +3 -3
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles/buildCSSWithLength.d.ts +1 -1
- package/dist/styles/placement.d.ts +1 -1
- package/dist/styles/zIndex.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +13 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CSSValueWithLength = number | string;
|
|
2
2
|
export declare function buildCSSWithLength(property: string, value?: CSSValueWithLength): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Placement = 'bottom' | 'left' | 'top' | 'right';
|
|
2
2
|
export declare function placementToCSSProperty(placement: Placement): string;
|
package/dist/styles/zIndex.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ declare const ZIndexOrder: {
|
|
|
7
7
|
readonly popover: 1060;
|
|
8
8
|
readonly tooltip: 1070;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type ZIndexOrder = keyof typeof ZIndexOrder;
|
|
11
11
|
export declare function getZIndex(order: ZIndexOrder): 1010 | 1020 | 1030 | 1040 | 1050 | 1060 | 1070;
|
|
12
12
|
export {};
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@croquiscom/pds",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Design system for Zigzag's Partner Center",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@emotion/react": "^11.4.0",
|
|
30
30
|
"@emotion/styled": "^11.3.0",
|
|
31
|
-
"react": "^
|
|
32
|
-
"react-dom": "^
|
|
31
|
+
"react": "^18",
|
|
32
|
+
"react-dom": "^18"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/preset-env": "^7.14.7",
|
|
@@ -44,13 +44,15 @@
|
|
|
44
44
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
45
45
|
"@rollup/plugin-url": "^6.0.0",
|
|
46
46
|
"@storybook/addon-a11y": "^6.5.12",
|
|
47
|
-
"@storybook/addon-actions": "^6.5.
|
|
48
|
-
"@storybook/addon-docs": "^6.5.
|
|
49
|
-
"@storybook/addon-essentials": "^6.5.
|
|
50
|
-
"@storybook/addon-links": "^6.5.
|
|
51
|
-
"@storybook/react": "^6.5.
|
|
47
|
+
"@storybook/addon-actions": "^6.5.12",
|
|
48
|
+
"@storybook/addon-docs": "^6.5.12",
|
|
49
|
+
"@storybook/addon-essentials": "^6.5.12",
|
|
50
|
+
"@storybook/addon-links": "^6.5.12",
|
|
51
|
+
"@storybook/react": "^6.5.12",
|
|
52
52
|
"@svgr/cli": "^6.1.2",
|
|
53
53
|
"@svgr/rollup": "^6.1.2",
|
|
54
|
+
"@types/react": "^18.0.20",
|
|
55
|
+
"@types/react-dom": "^18.0.6",
|
|
54
56
|
"@typescript-eslint/eslint-plugin": "^4.28.2",
|
|
55
57
|
"@typescript-eslint/parser": "^4.28.2",
|
|
56
58
|
"chromatic": "^6.5.3",
|
|
@@ -59,9 +61,9 @@
|
|
|
59
61
|
"eslint-plugin-prettier": "^3.4.0",
|
|
60
62
|
"eslint-plugin-react": "^7.24.0",
|
|
61
63
|
"prettier": "^2.3.2",
|
|
62
|
-
"react": "^
|
|
63
|
-
"react-dom": "^
|
|
64
|
-
"react-number-format": "^
|
|
64
|
+
"react": "^18.2.0",
|
|
65
|
+
"react-dom": "^18.2.0",
|
|
66
|
+
"react-number-format": "^5.0.1",
|
|
65
67
|
"rollup": "^2.52.7",
|
|
66
68
|
"rollup-plugin-copy": "^3.4.0",
|
|
67
69
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|