@aveonline/ui-react 1.19.6 → 2.0.1
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/README.md +16 -59
- package/dist/hooks/useTokens.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +45 -43
- package/dist/tailwind.css +1 -1
- package/dist/{components → ui}/atoms/Avatar/Avatar.d.ts +1 -2
- package/dist/{components → ui}/atoms/Badge/Badge.d.ts +1 -2
- package/dist/{components → ui}/atoms/Badge/IBadge.d.ts +2 -6
- package/dist/ui/atoms/Button/Button.d.ts +7 -0
- package/dist/ui/atoms/Checkbox/Checkbox.d.ts +7 -0
- package/dist/{components → ui}/atoms/Icon/Svg.d.ts +1 -1
- package/dist/{components → ui}/atoms/Logo/ILogo.d.ts +1 -1
- package/dist/{components → ui}/atoms/Logo/Logo.d.ts +1 -1
- package/dist/ui/atoms/Radio/Radio.d.ts +7 -0
- package/dist/ui/atoms/Radio/index.d.ts +2 -0
- package/dist/{components → ui}/atoms/Spinner/Spinner.d.ts +0 -1
- package/dist/{components → ui}/atoms/Switch/Switch.d.ts +0 -1
- package/dist/{components → ui}/atoms/Tooltip/Tooltip.d.ts +1 -2
- package/dist/{components → ui}/atoms/Tracker/Tracker.d.ts +0 -1
- package/dist/{components → ui}/atoms/Typography/Heading/Heading.d.ts +0 -1
- package/dist/{components → ui}/atoms/Typography/Link/ILink.d.ts +5 -1
- package/dist/{components → ui}/atoms/Typography/Link/Link.d.ts +1 -2
- package/dist/{components → ui}/atoms/Typography/Text/Text.d.ts +1 -2
- package/dist/ui/atoms/Typography/Text/TextRef.d.ts +4 -0
- package/dist/{components → ui}/index.d.ts +11 -10
- package/dist/{components/molecules → ui/molecules/Cards}/CardHistory/CardHistory.d.ts +1 -1
- package/dist/{components/molecules → ui/molecules/Cards}/CardHistory/ICardHistory.d.ts +3 -2
- package/dist/{components/molecules/Card/Select/Select.d.ts → ui/molecules/Cards/CardSelect/CardSelect.d.ts} +1 -2
- package/dist/ui/molecules/Cards/CardSelect/index.d.ts +2 -0
- package/dist/{components/molecules/Card/Simple → ui/molecules/Cards/CardSimple}/ICardSimple.d.ts +1 -1
- package/dist/ui/molecules/Cards/CardSimple/index.d.ts +2 -0
- package/dist/{components → ui}/molecules/DateInputPicker/Datelocate.d.ts +1 -1
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownFilterMultiple/IDropdownFilterMultiple.d.ts +1 -1
- package/dist/ui/molecules/Dropdowns/DropdownSearchMultiple/DropdownSearchMultiple.d.ts +3 -0
- package/dist/{components/molecules/Filter/FilterSearchMultiple/IFilterSearchMultiple.d.ts → ui/molecules/Dropdowns/DropdownSearchMultiple/IDropdownSearchMultiple.d.ts} +1 -1
- package/dist/ui/molecules/Dropdowns/DropdownSearchMultiple/index.d.ts +2 -0
- package/dist/{components/molecules/Dropdown/Dropdown.d.ts → ui/molecules/Dropdowns/DropdownSummary/DropdownSummary.d.ts} +3 -5
- package/dist/{components/molecules/Dropdown/IDropdown.d.ts → ui/molecules/Dropdowns/DropdownSummary/IDropdownSummary.d.ts} +2 -2
- package/dist/ui/molecules/Dropdowns/DropdownSummary/index.d.ts +2 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownUser/IDropdownUser.d.ts +1 -1
- package/dist/{components → ui}/molecules/Field/Field.d.ts +2 -2
- package/dist/{components → ui}/molecules/InlineError/InlineError.d.ts +0 -1
- package/dist/{components → ui}/molecules/Selectable/select.d.ts +1 -0
- package/dist/{components → ui}/molecules/Summary/Summary.d.ts +2 -2
- package/dist/{components → ui}/molecules/Tab/Tab.d.ts +0 -1
- package/dist/{components → ui}/molecules/Table/ITable.d.ts +7 -7
- package/dist/ui-react.mjs +20865 -21621
- package/dist/ui-react.umd.js +122 -109
- package/package.json +70 -27
- package/dist/components/atoms/Button/Button.d.ts +0 -8
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +0 -8
- package/dist/components/atoms/RadioButton/RadioButton.d.ts +0 -8
- package/dist/components/atoms/RadioButton/index.d.ts +0 -2
- package/dist/components/atoms/Typography/Text/TextRef.d.ts +0 -4
- package/dist/components/molecules/Card/Select/index.d.ts +0 -2
- package/dist/components/molecules/Card/Simple/index.d.ts +0 -2
- package/dist/components/molecules/Dropdown/index.d.ts +0 -2
- package/dist/components/molecules/Filter/FilterSearchMultiple/FilterSearchMultiple.d.ts +0 -3
- package/dist/components/molecules/Filter/FilterSearchMultiple/index.d.ts +0 -2
- package/dist/{components → ui}/atoms/Avatar/IAvatar.d.ts +0 -0
- package/dist/{components → ui}/atoms/Avatar/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Badge/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Button/IButton.d.ts +0 -0
- package/dist/{components → ui}/atoms/Button/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Button/useCSS.d.ts +0 -0
- package/dist/{components → ui}/atoms/Checkbox/ICheckbox.d.ts +0 -0
- package/dist/{components → ui}/atoms/Checkbox/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Icon/IIcon.d.ts +0 -0
- package/dist/{components → ui}/atoms/Icon/Icon.d.ts +0 -0
- package/dist/{components → ui}/atoms/Icon/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Logo/index.d.ts +0 -0
- package/dist/{components/atoms/RadioButton/IRadioButton.d.ts → ui/atoms/Radio/IRadio.d.ts} +0 -0
- package/dist/{components → ui}/atoms/Spinner/ISpinner.d.ts +0 -0
- package/dist/{components → ui}/atoms/Spinner/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Switch/ISwitch.d.ts +0 -0
- package/dist/{components → ui}/atoms/Switch/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Tooltip/ITooltip.d.ts +0 -0
- package/dist/{components → ui}/atoms/Tooltip/TooltipAnchor.d.ts +0 -0
- package/dist/{components → ui}/atoms/Tooltip/TooltipFloat.d.ts +0 -0
- package/dist/{components → ui}/atoms/Tooltip/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Tracker/ITracker.d.ts +0 -0
- package/dist/{components → ui}/atoms/Tracker/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Heading/IHeading.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Heading/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Heading/useCSS.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Link/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Text/IText.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Text/index.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Text/useCSS.d.ts +0 -0
- package/dist/{components → ui}/atoms/Typography/Text/useText.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Cards}/CardHistory/index.d.ts +0 -0
- package/dist/{components/molecules/Card/Select/ISelect.d.ts → ui/molecules/Cards/CardSelect/ICardSelect.d.ts} +0 -0
- package/dist/{components/molecules/Card/Simple/Simple.d.ts → ui/molecules/Cards/CardSimple/CardSimple.d.ts} +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/Atoms/CustomButton.d.ts +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/Atoms/CustomInput.d.ts +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/Atoms/CustomRangeInput.d.ts +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/Atoms/PluginEspecialDates.d.ts +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/DateInputPicker.d.ts +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/IDateInputPicker.d.ts +0 -0
- package/dist/{components → ui}/molecules/DateInputPicker/index.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownButton/DropdownButton.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownButton/IDropdownButton.d.ts +4 -4
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownButton/index.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownButton/useCss.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownFilterMultiple/DropdownFilterMultiple.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownFilterMultiple/index.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownUser/DropdownUser.d.ts +0 -0
- package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownUser/index.d.ts +0 -0
- package/dist/{components → ui}/molecules/EmptyState/BoxSvg.d.ts +0 -0
- package/dist/{components → ui}/molecules/EmptyState/EmptyState.d.ts +0 -0
- package/dist/{components → ui}/molecules/EmptyState/IEmptyState.d.ts +0 -0
- package/dist/{components → ui}/molecules/EmptyState/PadlockSvg.d.ts +0 -0
- package/dist/{components → ui}/molecules/EmptyState/index.d.ts +0 -0
- package/dist/{components → ui}/molecules/Field/Container.d.ts +0 -0
- package/dist/{components → ui}/molecules/Field/Footer.d.ts +0 -0
- package/dist/{components → ui}/molecules/Field/IField.d.ts +0 -0
- package/dist/{components → ui}/molecules/Field/IFieldCustom.d.ts +22 -22
- /package/dist/{components → ui}/molecules/Field/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Field/useField.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Flag/Flag.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Flag/IFlag.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Flag/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Header/Header.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Header/IHeader.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Header/NavigationMovil.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Header/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Indicator/Graphic/Graphic.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Indicator/Graphic/IGraphic.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Indicator/Graphic/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/InlineError/IInlineError.d.ts +0 -0
- /package/dist/{components → ui}/molecules/InlineError/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Modal/IModal.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Modal/Modal.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Modal/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/AsyncCreatableSelect/AsyncCreatableSelect.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/AsyncCreatableSelect/IAsyncCreatableSelect.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/AsyncCreatableSelect/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/AsyncSelect/AsyncSelect.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/AsyncSelect/IAsyncSelect.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/AsyncSelect/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/Select/ISelect.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/Select/Select.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/Select/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectButton/ISelectButton.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectButton/Option.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectButton/SelectButton.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectButton/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectCountry/Option.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectCountry/Prefix.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectCountry/SelectCountry.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectCountry/SingleValue.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/SelectCountry/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/ClearIndicator.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/Container.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/Control.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/DropdownIndicator.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/Option.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/Placeholder.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/SingleValue.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/atoms/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/hooks/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Selectable/hooks/useCSS.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Summary/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Tab/ITab.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Tab/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/TabNav/ITabNav.d.ts +0 -0
- /package/dist/{components → ui}/molecules/TabNav/TabNav.d.ts +0 -0
- /package/dist/{components → ui}/molecules/TabNav/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/Table.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/CheckBoxTable.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/IPagination.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/ISortTable.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/InputSearch.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/Pagination.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/SortTable.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/atoms/index.d.ts +0 -0
- /package/dist/{components → ui}/molecules/Table/index.d.ts +0 -0
- /package/dist/{components → ui}/organisms/Navigation/INavigation.d.ts +0 -0
- /package/dist/{components → ui}/organisms/Navigation/Navigation.d.ts +0 -0
- /package/dist/{components → ui}/organisms/Navigation/index.d.ts +0 -0
- /package/dist/{components → ui}/templates/Main/Main.d.ts +0 -0
- /package/dist/{components → ui}/templates/Main/index.d.ts +0 -0
- /package/dist/{components → ui}/templates/SecondMain/SecondMain.d.ts +0 -0
- /package/dist/{components → ui}/templates/SecondMain/index.d.ts +0 -0
- /package/dist/{components → ui}/templates/Shipment/Shipment.d.ts +0 -0
- /package/dist/{components → ui}/templates/Shipment/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@aveonline/ui-react",
|
|
3
3
|
"description": "Home base for Aveonline design system - ecosystem react",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "2.0.1",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -35,10 +35,13 @@
|
|
|
35
35
|
],
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"scripts": {
|
|
38
|
-
"dev": "
|
|
39
|
-
"build": "vite build && npm run build:tailwind && npm run cp:tailwind-config && npm run cp:tokens",
|
|
40
|
-
"build:storybook": "build
|
|
41
|
-
"
|
|
38
|
+
"dev": "storybook dev -p 6006",
|
|
39
|
+
"build": "npm run lint && vite build && npm run build:tailwind && npm run cp:tailwind-config && npm run cp:tokens",
|
|
40
|
+
"build:storybook": "npm run lint && storybook build",
|
|
41
|
+
"prettier": "prettier --check .",
|
|
42
|
+
"prettier:fix": "prettier --write .",
|
|
43
|
+
"lint": "eslint --cache \"**/*.{ts,tsx}*\"",
|
|
44
|
+
"lint:fix": "eslint --fix \"**/*.{ts,tsx}*\" && npm run prettier:fix",
|
|
42
45
|
"build:tailwind": "npx tailwindcss -o ./dist/tailwind.css --minify",
|
|
43
46
|
"clean": "rm -rf dist",
|
|
44
47
|
"cp:tailwind-config": "cp tailwind.config.js dist/",
|
|
@@ -46,8 +49,8 @@
|
|
|
46
49
|
"test": "vitest",
|
|
47
50
|
"coverage": "vitest run --coverage",
|
|
48
51
|
"test:ui": "vitest --ui",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
52
|
+
"changelog": "conventional-changelog -i CHANGELOG-current.md -s -r 0",
|
|
53
|
+
"commit": "git-cz"
|
|
51
54
|
},
|
|
52
55
|
"dependencies": {
|
|
53
56
|
"@floating-ui/react-dom-interactions": "0.11.0",
|
|
@@ -55,57 +58,97 @@
|
|
|
55
58
|
"@tanstack/match-sorter-utils": "8.7.6",
|
|
56
59
|
"@tanstack/react-table": "8.7.8",
|
|
57
60
|
"country-flag-icons": "1.5.5",
|
|
58
|
-
"hamburger-react": "
|
|
61
|
+
"hamburger-react": "2.5.0",
|
|
59
62
|
"react-currency-input-field": "3.6.9",
|
|
60
|
-
"react-input-mask": "
|
|
63
|
+
"react-input-mask": "3.0.0-alpha.2",
|
|
61
64
|
"react-merge-refs": "2.0.1",
|
|
62
|
-
"react-multi-date-picker": "
|
|
65
|
+
"react-multi-date-picker": "3.3.4",
|
|
63
66
|
"react-select": "5.6.0",
|
|
64
|
-
"recharts": "
|
|
67
|
+
"recharts": "2.5.0"
|
|
65
68
|
},
|
|
66
69
|
"devDependencies": {
|
|
67
|
-
"@
|
|
68
|
-
"@storybook/addon-
|
|
69
|
-
"@storybook/addon-
|
|
70
|
-
"@storybook/addon-
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/
|
|
70
|
+
"@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
|
|
71
|
+
"@storybook/addon-a11y": "7.0.9",
|
|
72
|
+
"@storybook/addon-essentials": "7.0.9",
|
|
73
|
+
"@storybook/addon-interactions": "7.0.9",
|
|
74
|
+
"@storybook/addon-links": "7.0.9",
|
|
75
|
+
"@storybook/addon-mdx-gfm": "^7.0.9",
|
|
76
|
+
"@storybook/addons": "7.0.9",
|
|
77
|
+
"@storybook/blocks": "7.0.9",
|
|
78
|
+
"@storybook/react": "7.0.9",
|
|
79
|
+
"@storybook/react-vite": "7.0.9",
|
|
80
|
+
"@storybook/theming": "7.0.9",
|
|
75
81
|
"@tailwindcss/forms": "0.5.3",
|
|
76
82
|
"@testing-library/jest-dom": "5.16.5",
|
|
77
83
|
"@testing-library/react": "13.4.0",
|
|
78
84
|
"@types/node": "16.11.6",
|
|
79
85
|
"@types/react": "18.0.22",
|
|
80
86
|
"@types/react-dom": "18.0.7",
|
|
81
|
-
"@types/react-input-mask": "
|
|
82
|
-
"@types/react-text-mask": "
|
|
83
|
-
"@
|
|
87
|
+
"@types/react-input-mask": "3.0.2",
|
|
88
|
+
"@types/react-text-mask": "5.4.11",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "5.59.1",
|
|
90
|
+
"@typescript-eslint/parser": "5.59.1",
|
|
91
|
+
"@vitejs/plugin-react": "4.0.0",
|
|
84
92
|
"@vitest/coverage-c8": "0.24.5",
|
|
85
93
|
"@vitest/ui": "0.24.5",
|
|
86
94
|
"autoprefixer": "10.4.13",
|
|
87
|
-
"chromatic": "6.11.4",
|
|
88
95
|
"classnames": "2.3.2",
|
|
96
|
+
"commitizen": "4.3.0",
|
|
89
97
|
"conventional-changelog-cli": "2.2.2",
|
|
90
98
|
"cssnano": "5.0.9",
|
|
99
|
+
"eslint": "8.39.0",
|
|
100
|
+
"eslint-config-ts-standard": "1.0.5",
|
|
101
|
+
"eslint-plugin-no-only-tests": "3.1.0",
|
|
102
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
103
|
+
"eslint-plugin-react-refresh": "0.3.5",
|
|
104
|
+
"eslint-plugin-storybook": "0.6.12",
|
|
91
105
|
"jsdom": "20.0.2",
|
|
92
106
|
"postcss": "8.3.11",
|
|
93
107
|
"postcss-import": "15.0.0",
|
|
108
|
+
"prettier": "2.8.8",
|
|
94
109
|
"prettier-plugin-tailwindcss": "0.1.5",
|
|
95
110
|
"react": "18.2.0",
|
|
96
111
|
"react-dom": "18.2.0",
|
|
97
112
|
"sd-tailwindcss-transformer": "1.2.0",
|
|
113
|
+
"storybook": "7.0.9",
|
|
98
114
|
"style-dictionary": "3.7.1",
|
|
99
|
-
"tailwindcss": "3.2
|
|
115
|
+
"tailwindcss": "3.3.2",
|
|
100
116
|
"ts-dedent": "2.2.0",
|
|
101
|
-
"
|
|
102
|
-
"
|
|
117
|
+
"ts-standard": "12.0.2",
|
|
118
|
+
"typescript": "5.0.4",
|
|
119
|
+
"vite": "4.3.5",
|
|
103
120
|
"vite-plugin-dts": "1.6.6",
|
|
104
121
|
"vite-plugin-svgr": "2.4.0",
|
|
105
|
-
"vitest": "0.
|
|
122
|
+
"vitest": "0.31.0"
|
|
106
123
|
},
|
|
107
124
|
"peerDependencies": {
|
|
108
125
|
"react": "18.2.0",
|
|
109
126
|
"react-dom": "18.2.0"
|
|
127
|
+
},
|
|
128
|
+
"packageManager": "npm@9.5.1",
|
|
129
|
+
"engines": {
|
|
130
|
+
"node": ">=16.15.1 <18.0.0 || >=18.11",
|
|
131
|
+
"pnpm": "please-use-npm",
|
|
132
|
+
"yarn": "please-use-npm",
|
|
133
|
+
"npm": ">=8.0.0"
|
|
134
|
+
},
|
|
135
|
+
"config": {
|
|
136
|
+
"commitizen": {
|
|
137
|
+
"path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
|
|
138
|
+
"jiraPrefix": "APP",
|
|
139
|
+
"jiraLocation": "pre-type",
|
|
140
|
+
"jiraOptional": true,
|
|
141
|
+
"customScope": true,
|
|
142
|
+
"skipScope": false,
|
|
143
|
+
"scopes": [
|
|
144
|
+
"atoms",
|
|
145
|
+
"molecules",
|
|
146
|
+
"organisms",
|
|
147
|
+
"templates",
|
|
148
|
+
"design-tokens",
|
|
149
|
+
"styles",
|
|
150
|
+
"hooks"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
110
153
|
}
|
|
111
154
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IButton } from './IButton';
|
|
3
|
-
/**
|
|
4
|
-
* Atom: Button
|
|
5
|
-
* Are used primarily for actions, such as 'Add', 'Close', 'Cancel', or 'Save'. Plain buttons, which look similar to links, are used for less important or less commonly used actions, such as 'view shipping settings'.
|
|
6
|
-
*/
|
|
7
|
-
declare const Button: React.ForwardRefExoticComponent<IButton & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
export default Button;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IPropsCheckbox } from './ICheckbox';
|
|
3
|
-
/**
|
|
4
|
-
* Atom: Checkbox
|
|
5
|
-
* Checkboxes are most commonly used to give merchants a way to make a range of selections (zero, one, or multiple). They may also be used as a way to have merchants indicate they agree to specific terms and services.
|
|
6
|
-
*/
|
|
7
|
-
declare const Checkbox: React.ForwardRefExoticComponent<IPropsCheckbox & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
-
export default Checkbox;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IPropsRadio } from './IRadioButton';
|
|
3
|
-
/**
|
|
4
|
-
* Atom: RadioButton
|
|
5
|
-
* Use radio buttons to present each item in a list of options where merchants must make a single selection.
|
|
6
|
-
*/
|
|
7
|
-
declare const RadioButton: React.ForwardRefExoticComponent<IPropsRadio & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
-
export default RadioButton;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownButton/DropdownButton.d.ts
RENAMED
|
File without changes
|
package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownButton/IDropdownButton.d.ts
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
interface IOptionDropdownButton {
|
|
3
|
+
title: string | JSX.Element;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
}
|
|
2
6
|
interface IDropdownButton {
|
|
3
7
|
options: Array<IOptionDropdownButton>;
|
|
4
8
|
filling?: boolean;
|
|
5
9
|
isDisabled?: boolean;
|
|
6
10
|
}
|
|
7
|
-
interface IOptionDropdownButton {
|
|
8
|
-
title: string | JSX.Element;
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
}
|
|
11
11
|
export { IDropdownButton, IOptionDropdownButton };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/{components/molecules → ui/molecules/Dropdowns}/DropdownFilterMultiple/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
declare type IFieldCustomMask = {
|
|
2
|
+
charactersLength?: number;
|
|
3
|
+
/**
|
|
4
|
+
* Mask string. Format characters are:
|
|
5
|
+
* * `9`: `0-9`
|
|
6
|
+
* * `a`: `A-Z, a-z`
|
|
7
|
+
* * `\*`: `A-Z, a-z, 0-9`
|
|
8
|
+
*
|
|
9
|
+
* Any character can be escaped with backslash, which usually will appear as double backslash in JS strings.
|
|
10
|
+
* For example, German phone mask with unremoveable prefix +49 will look like `mask="+4\\9 99 999 99"` or `mask={"+4\\\\9 99 999 99"}`
|
|
11
|
+
*/
|
|
12
|
+
mask?: string | RegExp;
|
|
13
|
+
/**
|
|
14
|
+
* Character to cover unfilled editable parts of mask. Default character is "_". If set to null, unfilled parts will be empty, like in ordinary input.
|
|
15
|
+
*/
|
|
16
|
+
maskChar?: string | null | undefined;
|
|
17
|
+
maskPlaceholder?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Show mask even in empty input without focus.
|
|
20
|
+
*/
|
|
21
|
+
alwaysShowMask?: boolean | undefined;
|
|
22
|
+
};
|
|
1
23
|
declare type IFieldCustom = {
|
|
2
24
|
/**
|
|
3
25
|
* Allow decimals
|
|
@@ -83,26 +105,4 @@ declare type IFieldCustom = {
|
|
|
83
105
|
*/
|
|
84
106
|
mask?: IFieldCustomMask;
|
|
85
107
|
};
|
|
86
|
-
declare type IFieldCustomMask = {
|
|
87
|
-
charactersLength?: number;
|
|
88
|
-
/**
|
|
89
|
-
* Mask string. Format characters are:
|
|
90
|
-
* * `9`: `0-9`
|
|
91
|
-
* * `a`: `A-Z, a-z`
|
|
92
|
-
* * `\*`: `A-Z, a-z, 0-9`
|
|
93
|
-
*
|
|
94
|
-
* Any character can be escaped with backslash, which usually will appear as double backslash in JS strings.
|
|
95
|
-
* For example, German phone mask with unremoveable prefix +49 will look like `mask="+4\\9 99 999 99"` or `mask={"+4\\\\9 99 999 99"}`
|
|
96
|
-
*/
|
|
97
|
-
mask?: string | RegExp;
|
|
98
|
-
/**
|
|
99
|
-
* Character to cover unfilled editable parts of mask. Default character is "_". If set to null, unfilled parts will be empty, like in ordinary input.
|
|
100
|
-
*/
|
|
101
|
-
maskChar?: string | null | undefined;
|
|
102
|
-
maskPlaceholder?: string;
|
|
103
|
-
/**
|
|
104
|
-
* Show mask even in empty input without focus.
|
|
105
|
-
*/
|
|
106
|
-
alwaysShowMask?: boolean | undefined;
|
|
107
|
-
};
|
|
108
108
|
export type { IFieldCustom, IFieldCustomMask };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{components → ui}/molecules/Selectable/AsyncCreatableSelect/AsyncCreatableSelect.d.ts
RENAMED
|
File without changes
|
/package/dist/{components → ui}/molecules/Selectable/AsyncCreatableSelect/IAsyncCreatableSelect.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|