@aveonline/ui-react 1.19.5 → 2.0.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/README.md +83 -126
- package/dist/hooks/useTokens.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +45 -43
- package/dist/reset.css +273 -273
- package/dist/tailwind.config.js +242 -242
- package/dist/tailwind.css +1 -1
- package/dist/tokens.css +160 -160
- 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/ui/molecules/Cards/CardHistory/CardHistory.d.ts +4 -0
- package/dist/ui/molecules/Cards/CardHistory/ICardHistory.d.ts +22 -0
- 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/Atoms/PluginEspecialDates.d.ts +1 -1
- package/dist/{components → ui}/molecules/DateInputPicker/Datelocate.d.ts +1 -1
- package/dist/{components → ui}/molecules/DateInputPicker/IDateInputPicker.d.ts +2 -0
- 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/ui/molecules/Selectable/select.d.ts +28 -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 +13 -8
- package/dist/{components → ui}/molecules/Table/Table.d.ts +1 -1
- package/dist/ui/molecules/Table/atoms/IPagination.d.ts +16 -0
- package/dist/ui/molecules/Table/atoms/Pagination.d.ts +5 -0
- package/dist/ui-react.mjs +20729 -21396
- package/dist/ui-react.umd.js +121 -108
- package/dist/vite-env.d.ts +2 -2
- package/package.json +154 -111
- 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/CardHistory/CardHistory.d.ts +0 -4
- package/dist/components/molecules/CardHistory/ICardHistory.d.ts +0 -20
- 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/molecules/Table/atoms/IPagination.d.ts +0 -12
- package/dist/components/molecules/Table/atoms/Pagination.d.ts +0 -4
- 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/DateInputPicker.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/atoms/CheckBoxTable.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/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/dist/vite-env.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
/// <reference types="vite-plugin-svgr/client" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
/// <reference types="vite-plugin-svgr/client" />
|
package/package.json
CHANGED
|
@@ -1,111 +1,154 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aveonline/ui-react",
|
|
3
|
-
"description": "Home base for Aveonline design system - ecosystem react",
|
|
4
|
-
"private": false,
|
|
5
|
-
"version": "
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
],
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"import": "./dist/ui-react.mjs",
|
|
13
|
-
"require": "./dist/ui-react.umd.mjs"
|
|
14
|
-
},
|
|
15
|
-
"./tailwind.css": {
|
|
16
|
-
"import": "./dist/tailwind.css",
|
|
17
|
-
"require": "./dist/tailwind.css"
|
|
18
|
-
},
|
|
19
|
-
"./tokens.css": {
|
|
20
|
-
"import": "./dist/tokens.css",
|
|
21
|
-
"require": "./dist/tokens.css"
|
|
22
|
-
},
|
|
23
|
-
"./tailwind.config.js": {
|
|
24
|
-
"import": "./dist/tailwind.config.js",
|
|
25
|
-
"require": "./dist/tailwind.config.js"
|
|
26
|
-
},
|
|
27
|
-
"./index.css": {
|
|
28
|
-
"import": "./dist/index.css",
|
|
29
|
-
"require": "./dist/index.css"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"react",
|
|
34
|
-
"react-kit"
|
|
35
|
-
],
|
|
36
|
-
"license": "MIT",
|
|
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
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"react-
|
|
60
|
-
"
|
|
61
|
-
"react
|
|
62
|
-
"react-
|
|
63
|
-
"react-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"@
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"@
|
|
79
|
-
"@
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"ts-
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@aveonline/ui-react",
|
|
3
|
+
"description": "Home base for Aveonline design system - ecosystem react",
|
|
4
|
+
"private": false,
|
|
5
|
+
"version": "2.0.0",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/ui-react.mjs",
|
|
13
|
+
"require": "./dist/ui-react.umd.mjs"
|
|
14
|
+
},
|
|
15
|
+
"./tailwind.css": {
|
|
16
|
+
"import": "./dist/tailwind.css",
|
|
17
|
+
"require": "./dist/tailwind.css"
|
|
18
|
+
},
|
|
19
|
+
"./tokens.css": {
|
|
20
|
+
"import": "./dist/tokens.css",
|
|
21
|
+
"require": "./dist/tokens.css"
|
|
22
|
+
},
|
|
23
|
+
"./tailwind.config.js": {
|
|
24
|
+
"import": "./dist/tailwind.config.js",
|
|
25
|
+
"require": "./dist/tailwind.config.js"
|
|
26
|
+
},
|
|
27
|
+
"./index.css": {
|
|
28
|
+
"import": "./dist/index.css",
|
|
29
|
+
"require": "./dist/index.css"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"react",
|
|
34
|
+
"react-kit"
|
|
35
|
+
],
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"scripts": {
|
|
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",
|
|
45
|
+
"build:tailwind": "npx tailwindcss -o ./dist/tailwind.css --minify",
|
|
46
|
+
"clean": "rm -rf dist",
|
|
47
|
+
"cp:tailwind-config": "cp tailwind.config.js dist/",
|
|
48
|
+
"cp:tokens": "cp ./src/design-tokens/styles/tokens.css dist/",
|
|
49
|
+
"test": "vitest",
|
|
50
|
+
"coverage": "vitest run --coverage",
|
|
51
|
+
"test:ui": "vitest --ui",
|
|
52
|
+
"changelog": "conventional-changelog -i CHANGELOG-current.md -s -r 0",
|
|
53
|
+
"commit": "git-cz"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@floating-ui/react-dom-interactions": "0.11.0",
|
|
57
|
+
"@headlessui/react": "1.7.4",
|
|
58
|
+
"@tanstack/match-sorter-utils": "8.7.6",
|
|
59
|
+
"@tanstack/react-table": "8.7.8",
|
|
60
|
+
"country-flag-icons": "1.5.5",
|
|
61
|
+
"hamburger-react": "2.5.0",
|
|
62
|
+
"react-currency-input-field": "3.6.9",
|
|
63
|
+
"react-input-mask": "3.0.0-alpha.2",
|
|
64
|
+
"react-merge-refs": "2.0.1",
|
|
65
|
+
"react-multi-date-picker": "3.3.4",
|
|
66
|
+
"react-select": "5.6.0",
|
|
67
|
+
"recharts": "2.5.0"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
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",
|
|
81
|
+
"@tailwindcss/forms": "0.5.3",
|
|
82
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
83
|
+
"@testing-library/react": "13.4.0",
|
|
84
|
+
"@types/node": "16.11.6",
|
|
85
|
+
"@types/react": "18.0.22",
|
|
86
|
+
"@types/react-dom": "18.0.7",
|
|
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",
|
|
92
|
+
"@vitest/coverage-c8": "0.24.5",
|
|
93
|
+
"@vitest/ui": "0.24.5",
|
|
94
|
+
"autoprefixer": "10.4.13",
|
|
95
|
+
"classnames": "2.3.2",
|
|
96
|
+
"commitizen": "4.3.0",
|
|
97
|
+
"conventional-changelog-cli": "2.2.2",
|
|
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",
|
|
105
|
+
"jsdom": "20.0.2",
|
|
106
|
+
"postcss": "8.3.11",
|
|
107
|
+
"postcss-import": "15.0.0",
|
|
108
|
+
"prettier": "2.8.8",
|
|
109
|
+
"prettier-plugin-tailwindcss": "0.1.5",
|
|
110
|
+
"react": "18.2.0",
|
|
111
|
+
"react-dom": "18.2.0",
|
|
112
|
+
"sd-tailwindcss-transformer": "1.2.0",
|
|
113
|
+
"storybook": "7.0.9",
|
|
114
|
+
"style-dictionary": "3.7.1",
|
|
115
|
+
"tailwindcss": "3.3.2",
|
|
116
|
+
"ts-dedent": "2.2.0",
|
|
117
|
+
"ts-standard": "12.0.2",
|
|
118
|
+
"typescript": "5.0.4",
|
|
119
|
+
"vite": "4.3.5",
|
|
120
|
+
"vite-plugin-dts": "1.6.6",
|
|
121
|
+
"vite-plugin-svgr": "2.4.0",
|
|
122
|
+
"vitest": "0.31.0"
|
|
123
|
+
},
|
|
124
|
+
"peerDependencies": {
|
|
125
|
+
"react": "18.2.0",
|
|
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
|
+
}
|
|
153
|
+
}
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IChildren } from '../../../types';
|
|
2
|
-
import { IBadge } from '../..';
|
|
3
|
-
interface IDropdownCardHistory extends IChildren {
|
|
4
|
-
isActive?: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
}
|
|
8
|
-
interface ICardHistory extends IChildren {
|
|
9
|
-
description?: string;
|
|
10
|
-
date?: string;
|
|
11
|
-
hour?: string;
|
|
12
|
-
badge?: Omit<IBadge, 'children'> & {
|
|
13
|
-
title?: string;
|
|
14
|
-
};
|
|
15
|
-
size?: 'sm' | 'md';
|
|
16
|
-
state?: 'active' | 'default';
|
|
17
|
-
variant?: 'default' | 'critical';
|
|
18
|
-
dropdown?: IDropdownCardHistory;
|
|
19
|
-
}
|
|
20
|
-
export type { ICardHistory, IDropdownCardHistory };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare type IPagination = {
|
|
2
|
-
pageIndex: number;
|
|
3
|
-
getPageCount: number;
|
|
4
|
-
pageSize: number;
|
|
5
|
-
setPageSize: (value: number) => void;
|
|
6
|
-
previousPage: () => void;
|
|
7
|
-
getCanPreviousPage: boolean;
|
|
8
|
-
nextPage: () => void;
|
|
9
|
-
getCanNextPage: boolean;
|
|
10
|
-
paginationOptionList?: Array<number>;
|
|
11
|
-
};
|
|
12
|
-
export type { IPagination };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { IPagination } from './IPagination';
|
|
3
|
-
declare function Pagination({ pageIndex, getPageCount, pageSize, setPageSize, previousPage, getCanPreviousPage, nextPage, getCanNextPage, paginationOptionList }: IPagination): JSX.Element;
|
|
4
|
-
export default Pagination;
|
|
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
|