@ironsource/shared-ui 1.4.3-rc.4 → 1.4.3
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/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Popover.vue_vue_type_style_index_0_lang.css +1 -1
- package/README.md +36 -21
- package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_1_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/appTrigger/AppTrigger.vue.js +3 -3
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +1 -2
- package/components/button/{common/ButtonSuper.vue.js → Button.vue.js} +7 -7
- package/components/button/{common/ButtonBase.vue.d.ts → ButtonBase.vue.d.ts} +9 -9
- package/components/button/{common/ButtonBase.vue.js → ButtonBase.vue.js} +8 -8
- package/components/button/{v3/IconButton.vue.js → IconButton.vue.js} +7 -7
- package/components/button/{v3/ScrollButton.vue.js → ScrollButton.vue.js} +6 -6
- package/components/button/index.d.ts +126 -0
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/index.d.ts +9 -9
- package/components/chip/{v3/Chip.vue.js → Chip.vue.js} +5 -5
- package/components/dateRange/CalendarMonth.vue.js +3 -3
- package/components/dateRange/DateRange.vue.js +4 -4
- package/components/dateRange/consts.d.ts +5 -0
- package/components/dateRange/consts.vue.js +8 -0
- package/components/dateRange/index.d.ts +3 -3
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +6 -7
- package/components/dialog/index.d.ts +11 -11
- package/components/dropdown/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/Dropdown.vue.js +5 -5
- package/components/dropdown/SearchInput.vue.js +5 -6
- package/components/dropdown/index.d.ts +16 -16
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +4 -4
- package/components/emptyState/index.d.ts +14 -14
- package/components/filterDropdown/AddFilterButton.vue.js +2 -2
- package/components/filterDropdown/FilterDropdown.vue.js +1 -2
- package/components/filtersPanel/FilterSearchInput.vue.js +2 -2
- package/components/floatingToolbar/FloatingToolbar.vue.js +5 -6
- package/components/icon/Icon.vue.js +2 -0
- package/components/icon/icons/Hammer.vue.d.ts +2 -0
- package/components/icon/icons/Hammer.vue.js +26 -0
- package/components/icon/icons/TableEdit.vue.d.ts +2 -0
- package/components/icon/icons/TableEdit.vue.js +24 -0
- package/components/icon/icons/index.d.ts +6 -0
- package/components/icon/icons/index.vue.js +6 -0
- package/components/icon/index.d.ts +6 -0
- package/components/includeExclude/IncludeExclude.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +7 -4
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +8 -6
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +125 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +610 -0
- package/components/{chip/v4/ChipV4.vue.d.ts → includeExclude/IncludeExcludeOptionDraggable.vue.d.ts} +18 -23
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +126 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +12 -0
- package/components/includeExclude/index.d.ts +228 -7
- package/components/includeExclude/index.vue.js +6 -0
- package/components/input/Input.vue.d.ts +2 -2
- package/components/input/Input.vue.js +3 -3
- package/components/input/index.d.ts +16 -16
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +5 -5
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +5 -6
- package/components/switch/{v3/Switch.vue.js → Switch.vue.js} +5 -5
- package/components/table/Table.types.d.ts +1 -0
- package/components/table/Table.vue.d.ts +13 -0
- package/components/table/Table.vue.js +34 -12
- package/components/table/index.d.ts +25 -0
- package/components/table-cells/Editable.vue.js +1 -1
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/index.d.ts +5 -5
- package/components/typography/index.d.ts +9 -9
- package/index.d.ts +3 -429
- package/index.vue.js +11 -18
- package/package.json +13 -21
- package/styleguide.scss +78 -77
- package/ButtonBase.vue_vue_type_style_index_1_scoped_true_lang.css +0 -1
- package/ButtonSuper.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +0 -4
- package/components/ThemeWrapper/ThemeWrapper.vue.d.ts +0 -15
- package/components/button/common/ButtonSuper.vue.d.ts +0 -42
- package/components/button/v3/Button.vue.js +0 -40
- package/components/button/v3/index.d.ts +0 -126
- package/components/button/v4/ButtonV4.vue.d.ts +0 -52
- package/components/button/v4/ButtonV4.vue.js +0 -44
- package/components/button/v4/index.d.ts +0 -72
- package/components/button/v4/index.vue.js +0 -6
- package/components/chip/v4/ChipV4.vue.js +0 -76
- package/components/chip/v4/index.d.ts +0 -63
- package/components/chip/v4/index.vue.js +0 -6
- package/components/switch/v4/SwitchV4.vue.d.ts +0 -37
- package/components/switch/v4/SwitchV4.vue.js +0 -87
- package/components/switch/v4/index.d.ts +0 -46
- package/components/switch/v4/index.vue.js +0 -6
- /package/components/button/{v3/Button.vue.d.ts → Button.vue.d.ts} +0 -0
- /package/components/button/{v3/IconButton.vue.d.ts → IconButton.vue.d.ts} +0 -0
- /package/components/button/{v3/ScrollButton.vue.d.ts → ScrollButton.vue.d.ts} +0 -0
- /package/components/button/{v3/index.vue.js → index.vue.js} +0 -0
- /package/components/chip/{v3/Chip.vue.d.ts → Chip.vue.d.ts} +0 -0
- /package/components/chip/{v3/index.d.ts → index.d.ts} +0 -0
- /package/components/chip/{v3/index.vue.js → index.vue.js} +0 -0
- /package/components/switch/{v3/Switch.vue.d.ts → Switch.vue.d.ts} +0 -0
- /package/components/switch/{v3/index.d.ts → index.d.ts} +0 -0
- /package/components/switch/{v3/index.vue.js → index.vue.js} +0 -0
package/index.vue.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css';
|
|
2
2
|
export { AppTriggerTypes } from './components/appTrigger/index.vue.js';
|
|
3
3
|
export { AutocompleteDropdownTypes } from './components/autocompleteDropdown/index.vue.js';
|
|
4
4
|
export { MenuItemTypes } from './components/menuItem/index.vue.js';
|
|
5
5
|
export { MenuTypes } from './components/menu/index.vue.js';
|
|
6
6
|
export { AppIconTypes } from './components/appIcon/index.vue.js';
|
|
7
|
+
export { SwitchTypes } from './components/switch/index.vue.js';
|
|
7
8
|
export { RadioButtonTypes } from './components/radioButton/index.vue.js';
|
|
8
9
|
export { Snackbar } from './components/snackbar/index.vue.js';
|
|
9
10
|
export { FloatingToolbarTypes } from './components/floatingToolbar/index.vue.js';
|
|
@@ -17,18 +18,14 @@ export { FilterPanelTypes } from './components/filtersPanel/index.vue.js';
|
|
|
17
18
|
export { FilterDropdownTypes } from './components/filterDropdown/index.vue.js';
|
|
18
19
|
export { DropdownTypes } from './components/dropdown/index.vue.js';
|
|
19
20
|
export { TabsTypes } from './components/tabs/index.vue.js';
|
|
21
|
+
export { ButtonTypes } from './components/button/index.vue.js';
|
|
20
22
|
export { CheckboxTypes } from './components/checkbox/index.vue.js';
|
|
21
23
|
export { IconTypes } from './components/icon/index.vue.js';
|
|
22
24
|
export { SearchTypes } from './components/search/index.vue.js';
|
|
23
25
|
export { SkeletonTypes } from './components/skeleton/index.vue.js';
|
|
24
26
|
export { TypographyTypes } from './components/typography/index.vue.js';
|
|
25
27
|
export { PopoverTypes } from './components/popover/index.vue.js';
|
|
26
|
-
|
|
27
|
-
import * as index$6 from './components/button/v4/index.vue.js';
|
|
28
|
-
import * as index$1 from './components/chip/v3/index.vue.js';
|
|
29
|
-
import * as index$2 from './components/chip/v4/index.vue.js';
|
|
30
|
-
import * as index$3 from './components/switch/v3/index.vue.js';
|
|
31
|
-
import * as index$4 from './components/switch/v4/index.vue.js';
|
|
28
|
+
export { ChipTypes } from './components/chip/index.vue.js';
|
|
32
29
|
export { ToggleTypes } from './components/toggle/index.vue.js';
|
|
33
30
|
export { TooltipTypes } from './components/tooltip/index.vue.js';
|
|
34
31
|
export { InputTypes } from './components/input/index.vue.js';
|
|
@@ -46,12 +43,15 @@ export { default as AutocompleteDropdown } from './components/autocompleteDropdo
|
|
|
46
43
|
export { default as MenuItem } from './components/menuItem/MenuItem.vue.js';
|
|
47
44
|
export { default as Menu } from './components/menu/Menu.vue.js';
|
|
48
45
|
export { default as AppIcon } from './components/appIcon/AppIcon.vue.js';
|
|
46
|
+
export { default as Switch } from './components/switch/Switch.vue.js';
|
|
49
47
|
export { default as RadioButton } from './components/radioButton/RadioButton.vue.js';
|
|
50
48
|
export { default as RadioGroup } from './components/radioButton/RadioGroup.vue.js';
|
|
51
49
|
export { snackbarEmits, snackbarTypes } from './components/snackbar/snackbar.types.vue.js';
|
|
52
50
|
export { default as FloatingToolbar } from './components/floatingToolbar/FloatingToolbar.vue.js';
|
|
53
51
|
export { default as IncludeExclude } from './components/includeExclude/IncludeExclude.vue.js';
|
|
52
|
+
export { default as IncludeExcludeDragDrop } from './components/includeExclude/IncludeExcludeDragDrop.vue.js';
|
|
54
53
|
export { default as IncludeExcludeOption } from './components/includeExclude/IncludeExcludeOption.vue.js';
|
|
54
|
+
export { default as IncludeExcludeOptionDraggable } from './components/includeExclude/IncludeExcludeOptionDraggable.vue.js';
|
|
55
55
|
export { default as IncludeExcludeAppTrigger } from './components/includeExclude/IncludeExcludeAppTrigger.vue.js';
|
|
56
56
|
export { default as IncludeExcludeAppHeader } from './components/includeExclude/IncludeExcludeAppHeader.vue.js';
|
|
57
57
|
export { default as IncludeExcludeChipFilter } from './components/includeExclude/IncludeExcludeChipFilter.vue.js';
|
|
@@ -71,6 +71,9 @@ export { default as Option } from './components/dropdown/Option.vue.js';
|
|
|
71
71
|
export { default as Label } from './components/dropdown/Label.vue.js';
|
|
72
72
|
export { default as SearchInput } from './components/dropdown/SearchInput.vue.js';
|
|
73
73
|
export { default as Tabs } from './components/tabs/Tabs.vue.js';
|
|
74
|
+
export { default as Button } from './components/button/Button.vue.js';
|
|
75
|
+
export { default as IconButton } from './components/button/IconButton.vue.js';
|
|
76
|
+
export { default as ScrollButton } from './components/button/ScrollButton.vue.js';
|
|
74
77
|
export { default as Checkbox } from './components/checkbox/Checkbox.vue.js';
|
|
75
78
|
export { default as Icon } from './components/icon/Icon.vue.js';
|
|
76
79
|
export { icons } from './components/icon/icons/index.vue.js';
|
|
@@ -78,6 +81,7 @@ export { default as Search } from './components/search/Search.vue.js';
|
|
|
78
81
|
export { default as Skeleton } from './components/skeleton/Skeleton.vue.js';
|
|
79
82
|
export { default as Heading } from './components/typography/Heading.vue.js';
|
|
80
83
|
export { default as Text } from './components/typography/Text.vue.js';
|
|
84
|
+
export { default as Chip } from './components/chip/Chip.vue.js';
|
|
81
85
|
export { default as Toggle } from './components/toggle/Toggle.vue.js';
|
|
82
86
|
export { default as Input } from './components/input/Input.vue.js';
|
|
83
87
|
export { default as DollarInput } from './components/input/DollarInput.vue.js';
|
|
@@ -89,14 +93,3 @@ export { EditableContext, useEditableContext } from './components/table-cells/Ed
|
|
|
89
93
|
export { default as DateRange } from './components/dateRange/DateRange.vue.js';
|
|
90
94
|
export { default as DatePicker } from './components/datePicker/DatePicker.vue.js';
|
|
91
95
|
export { default as Banner } from './components/banner/Banner.vue.js';
|
|
92
|
-
|
|
93
|
-
var index = {
|
|
94
|
-
...index$1,
|
|
95
|
-
...index$2,
|
|
96
|
-
...index$3,
|
|
97
|
-
...index$4,
|
|
98
|
-
...index$5,
|
|
99
|
-
...index$6
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export { index as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "1.4.3
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"storybook:dist": "StoryBookEnv=prod start-storybook -p 6006",
|
|
14
14
|
"build-storybook": "build-storybook -o docs",
|
|
15
15
|
"serve-storybook": "RemoveAddons=true npm run build-storybook && http-server ./docs --port 6007",
|
|
16
|
+
"serve-storybook-ci": "npx concurrently -s first -n 'SB,TEST' -c 'magenta,blue' 'npm run storybook:dist --silent' 'npx wait-on tcp:6006' ",
|
|
16
17
|
"test-storybook": "test-storybook --maxWorkers=2",
|
|
17
18
|
"test-storybook-ci": "npx concurrently -k -s first -n 'SB,TEST' -c 'magenta,blue' 'npm run storybook:dist --silent' 'npx wait-on tcp:6006 && npm run test-storybook' ",
|
|
18
19
|
"jest:integration:update": "jest --updateSnapshot",
|
|
@@ -43,13 +44,13 @@
|
|
|
43
44
|
"release": "commit-and-tag-version"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@storybook/addon-cssresources": "^6.2.9",
|
|
47
47
|
"@vueuse/core": "^8.7.5",
|
|
48
48
|
"@vueuse/integrations": "^8.9.1",
|
|
49
49
|
"date-fns": "^2.29.1",
|
|
50
50
|
"floating-vue": "2.0.0-beta.20",
|
|
51
51
|
"focus-trap": "^6.9.4",
|
|
52
|
-
"vue": "^3.2.31"
|
|
52
|
+
"vue": "^3.2.31",
|
|
53
|
+
"vuedraggable": "^4.1.0"
|
|
53
54
|
},
|
|
54
55
|
"peerDependencies": {
|
|
55
56
|
"@vueuse/core": "^8.7.5",
|
|
@@ -139,8 +140,7 @@
|
|
|
139
140
|
"import": "./index.js"
|
|
140
141
|
},
|
|
141
142
|
"./appIcon": "./components/appIcon/AppIcon.vue.js",
|
|
142
|
-
"./switch
|
|
143
|
-
"./switch/v4": "./components/switch/v4/SwitchV4.vue.js",
|
|
143
|
+
"./switch": "./components/switch/Switch.vue.js",
|
|
144
144
|
"./editable": "./components/table-cells/Editable.vue.js",
|
|
145
145
|
"./radioButton": "./components/radioButton/RadioButton.vue.js",
|
|
146
146
|
"./radioGroup": "./components/radioButton/RadioGroup.vue.js",
|
|
@@ -157,12 +157,10 @@
|
|
|
157
157
|
"./filterDropdown": "./components/filterDropdown/FilterDropdown.vue.js",
|
|
158
158
|
"./filtersPanel": "./components/filtersPanel/index.vue.js",
|
|
159
159
|
"./tabs": "./components/tabs/Tabs.vue.js",
|
|
160
|
-
"./chip
|
|
161
|
-
"./
|
|
162
|
-
"./
|
|
163
|
-
"./
|
|
164
|
-
"./iconButton": "./components/button/v3/IconButton.vue.js",
|
|
165
|
-
"./scrollButton": "./components/button/v3/ScrollButton.vue.js",
|
|
160
|
+
"./chip": "./components/chip/Chip.vue.js",
|
|
161
|
+
"./button": "./components/button/Button.vue.js",
|
|
162
|
+
"./iconButton": "./components/button/IconButton.vue.js",
|
|
163
|
+
"./scrollButton": "./components/button/ScrollButton.vue.js",
|
|
166
164
|
"./checkbox": "./components/checkbox/Checkbox.vue.js",
|
|
167
165
|
"./icon": "./components/icon/Icon.vue.js",
|
|
168
166
|
"./toggle": "./components/toggle/Toggle.vue.js",
|
|
@@ -216,11 +214,8 @@
|
|
|
216
214
|
"includeExclude": [
|
|
217
215
|
"./components/includeExclude/index.d.ts"
|
|
218
216
|
],
|
|
219
|
-
"switch
|
|
220
|
-
"./components/switch/
|
|
221
|
-
],
|
|
222
|
-
"switch/v4": [
|
|
223
|
-
"./components/switch/v4/SwitchV4.vue.d.ts"
|
|
217
|
+
"switch": [
|
|
218
|
+
"./components/switch/Switch.vue.d.ts"
|
|
224
219
|
],
|
|
225
220
|
"cssBaseline": [
|
|
226
221
|
"./components/cssBaseline/CssBaseline.vue.d.ts"
|
|
@@ -252,11 +247,8 @@
|
|
|
252
247
|
"./datePicker": [
|
|
253
248
|
"./components/datePicker/DatePicker.vue.d.ts"
|
|
254
249
|
],
|
|
255
|
-
"chip
|
|
256
|
-
"./components/chip/
|
|
257
|
-
],
|
|
258
|
-
"chip/v4": [
|
|
259
|
-
"./components/chip/v4/ChipV4.vue.d.ts"
|
|
250
|
+
"chip": [
|
|
251
|
+
"./components/chip/Chip.vue.d.ts"
|
|
260
252
|
],
|
|
261
253
|
"button": [
|
|
262
254
|
"./components/button/Button.vue.d.ts"
|
package/styleguide.scss
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
/* #region Colors */
|
|
2
|
-
$white: #
|
|
2
|
+
$white: #FFFFFF;
|
|
3
3
|
$black: #000000;
|
|
4
4
|
|
|
5
|
-
$black-200: #
|
|
6
|
-
$black-300: #
|
|
5
|
+
$black-200: #696A6b;
|
|
6
|
+
$black-300: #565C62;
|
|
7
7
|
$black-500: #53575b;
|
|
8
8
|
$black-900: #41454d;
|
|
9
9
|
|
|
10
|
-
$primary-100: #
|
|
11
|
-
$primary-200: #
|
|
12
|
-
$primary-300: #
|
|
13
|
-
$primary-400: #
|
|
14
|
-
$primary-500: #
|
|
15
|
-
$primary-600: #
|
|
16
|
-
$primary-700: #
|
|
17
|
-
$primary-800: #
|
|
18
|
-
$primary-900: #
|
|
19
|
-
|
|
20
|
-
$light-50: #
|
|
21
|
-
$light-100: #
|
|
22
|
-
$light-200: #
|
|
23
|
-
$light-300: #
|
|
24
|
-
$light-400: #
|
|
25
|
-
$light-500: #
|
|
26
|
-
$light-600: #
|
|
27
|
-
$light-700: #
|
|
28
|
-
$light-800: #
|
|
29
|
-
$light-900: #
|
|
10
|
+
$primary-100: #E2EEFF;
|
|
11
|
+
$primary-200: #C9DFFF;
|
|
12
|
+
$primary-300: #96C0FF;
|
|
13
|
+
$primary-400: #68A5FF;
|
|
14
|
+
$primary-500: #3083FF;
|
|
15
|
+
$primary-600: #2B76E6;
|
|
16
|
+
$primary-700: #005BE2;
|
|
17
|
+
$primary-800: #0051C9;
|
|
18
|
+
$primary-900: #0046AF;
|
|
19
|
+
|
|
20
|
+
$light-50: #F7F8F9;
|
|
21
|
+
$light-100: #F1F3F4;
|
|
22
|
+
$light-200: #EDEFF0;
|
|
23
|
+
$light-300: #E5E7E9;
|
|
24
|
+
$light-400: #DDDFE1;
|
|
25
|
+
$light-500: #D2D5D8;
|
|
26
|
+
$light-600: #B7BBC0;
|
|
27
|
+
$light-700: #A9AFB4;
|
|
28
|
+
$light-800: #8E959D;
|
|
29
|
+
$light-900: #7B838C;
|
|
30
30
|
$light-1000: #626970;
|
|
31
31
|
|
|
32
32
|
$secondary-100: #e1fbfc;
|
|
@@ -56,14 +56,14 @@ $negative-500: #ff6a63;
|
|
|
56
56
|
$negative-600: #ec5d56;
|
|
57
57
|
$negative-700: #da564f;
|
|
58
58
|
|
|
59
|
-
$dark-100: #
|
|
60
|
-
$dark-200: #
|
|
59
|
+
$dark-100: #CFD0E8;
|
|
60
|
+
$dark-200: #B6B9DD;
|
|
61
61
|
$dark-300: #313d91;
|
|
62
62
|
$dark-400: #212791;
|
|
63
63
|
$dark-500: #0d148c;
|
|
64
64
|
$dark-600: #021074;
|
|
65
65
|
$dark-700: #1d1c64;
|
|
66
|
-
$dark-800: #
|
|
66
|
+
$dark-800: #070A46;
|
|
67
67
|
|
|
68
68
|
$alpha-30: 4D;
|
|
69
69
|
$input-shadow-color: unquote($primary-500 + '' + $alpha-30);
|
|
@@ -105,20 +105,20 @@ $breakpoint-xl: 1920px;
|
|
|
105
105
|
/* #endregion Breakpoints */
|
|
106
106
|
|
|
107
107
|
/* #region Media */
|
|
108
|
-
$mobile:
|
|
109
|
-
$tablet:
|
|
110
|
-
$smallLaptop:
|
|
111
|
-
$largeLaptop:
|
|
112
|
-
$desktop:
|
|
108
|
+
$mobile: "only screen and (max-width:#{$breakpoint-xxs-end})";
|
|
109
|
+
$tablet: "only screen and (min-width:#{$breakpoint-sm-start}) and (max-width:#{$breakpoint-sm-end})";
|
|
110
|
+
$smallLaptop: "only screen and (min-width:#{$breakpoint-md-start}) and (max-width:#{$breakpoint-md-end})";
|
|
111
|
+
$largeLaptop: "only screen and (min-width:#{$breakpoint-lg-start}) and (max-width:#{$breakpoint-lg-end})";
|
|
112
|
+
$desktop: "only screen and (min-width:#{$breakpoint-xl})";
|
|
113
113
|
// inclusive - mobile and below: use mobile, huge and below: everything, no need for media query
|
|
114
|
-
$tabletAndBelow:
|
|
115
|
-
$tabletAndAbove:
|
|
116
|
-
$smallLaptopAndBelow:
|
|
117
|
-
$largeLaptopAndBelow:
|
|
118
|
-
$desktopAndAbove:
|
|
119
|
-
$largeLaptopAndAbove:
|
|
114
|
+
$tabletAndBelow: "only screen and (max-width:#{$breakpoint-sm-end})";
|
|
115
|
+
$tabletAndAbove: "only screen and (min-width:#{$breakpoint-sm-start})";
|
|
116
|
+
$smallLaptopAndBelow: "only screen and (max-width:#{$breakpoint-md-end})";
|
|
117
|
+
$largeLaptopAndBelow: "only screen and (max-width:#{$breakpoint-lg-end})";
|
|
118
|
+
$desktopAndAbove: "only screen and (min-width:#{$breakpoint-xl})";
|
|
119
|
+
$largeLaptopAndAbove: "only screen and (min-width:#{$breakpoint-lg-start})";
|
|
120
120
|
// combinations
|
|
121
|
-
$laptop:
|
|
121
|
+
$laptop: "only screen and (min-width:#{$breakpoint-md-start}) and (max-width:#{$breakpoint-lg-end})";
|
|
122
122
|
/* #endregion Media */
|
|
123
123
|
|
|
124
124
|
/* #region Grid */
|
|
@@ -127,8 +127,8 @@ $grid-gap: 1rem;
|
|
|
127
127
|
/* #endregion Grid */
|
|
128
128
|
|
|
129
129
|
/* #region Fonts */
|
|
130
|
-
$heading-font-family:
|
|
131
|
-
$heading-font-family-label:
|
|
130
|
+
$heading-font-family: "NHaasGroteskDSPro-75Bd", sans-serif;
|
|
131
|
+
$heading-font-family-label: "NHaasGroteskDSPro-65Md", sans-serif;
|
|
132
132
|
$heading-font-size-1: 3.75rem;
|
|
133
133
|
$heading-font-size-2: 2rem;
|
|
134
134
|
$heading-font-size-3: 1.375rem;
|
|
@@ -149,7 +149,7 @@ $body-font-weight-strong: 500;
|
|
|
149
149
|
$font-smoothing: antialiased;
|
|
150
150
|
$heading-line-height: 1.1rem;
|
|
151
151
|
$body-line-height: 1.5rem;
|
|
152
|
-
.label
|
|
152
|
+
.label{
|
|
153
153
|
color: $black-900;
|
|
154
154
|
}
|
|
155
155
|
/* #endregion Fonts */
|
|
@@ -159,51 +159,52 @@ $border: 1px solid $light-400;
|
|
|
159
159
|
$shape-border-radius: $spacing-1;
|
|
160
160
|
|
|
161
161
|
$popover-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.16),
|
|
162
|
-
|
|
163
|
-
$modal-shadow: 0px 32px 32px -8px rgba(0, 0, 0, 0.08),
|
|
164
|
-
|
|
162
|
+
0px 0px 1px rgba(0, 0, 0, 0.4);
|
|
163
|
+
$modal-shadow: 0px 32px 32px -8px rgba(0, 0, 0, 0.08), 0px 0px 32px -8px rgba(0, 0, 0, 0.12);
|
|
164
|
+
|
|
165
165
|
|
|
166
166
|
$focus-line: linear-gradient(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
0deg,
|
|
168
|
+
$primary-500 0,
|
|
169
|
+
$primary-500 2px,
|
|
170
|
+
$light-100 0
|
|
171
171
|
);
|
|
172
172
|
$focus-line-white: linear-gradient(
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
0deg,
|
|
174
|
+
$primary-500 0,
|
|
175
|
+
$primary-500 2px,
|
|
176
|
+
$white 0
|
|
177
177
|
);
|
|
178
178
|
$error-focus-line: linear-gradient(
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
0deg,
|
|
180
|
+
$negative-500 0,
|
|
181
|
+
$negative-500 2px,
|
|
182
|
+
$light-100 0
|
|
183
183
|
);
|
|
184
184
|
$error-focus-line-white: linear-gradient(
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
0deg,
|
|
186
|
+
$negative-500 0,
|
|
187
|
+
$negative-500 2px,
|
|
188
|
+
$white 0
|
|
189
189
|
);
|
|
190
190
|
|
|
191
|
+
|
|
191
192
|
@mixin scrollbar {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
193
|
+
::-webkit-scrollbar {
|
|
194
|
+
width: 0.625rem;
|
|
195
|
+
opacity: 0.7;
|
|
196
|
+
background-color: transparent;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
::-webkit-scrollbar-thumb {
|
|
200
|
+
border: 3px solid transparent;
|
|
201
|
+
background-clip: padding-box;
|
|
202
|
+
border-radius: 0.625rem;
|
|
203
|
+
background-color: $light-500 !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
::-webkit-scrollbar-track {
|
|
207
|
+
border-radius: 0.625rem;
|
|
208
|
+
background-color: transparent;
|
|
209
|
+
}
|
|
209
210
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.contained.primary[data-v-5425b1e1]{color:var(--common-white);background:var(--primary-main)}.contained.primary[data-v-5425b1e1]:hover{color:var(--common-white);background:var(--primary-darker)}.contained.primary[data-v-5425b1e1]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)}.contained.default[data-v-5425b1e1]{color:var(--text-primary);background:var(--default-main)}.contained.danger[data-v-5425b1e1]{color:var(--common-white);background:var(--error-main)}.contained.info[data-v-5425b1e1]{color:var(--common-white);background:var(--info-main)}.contained.success[data-v-5425b1e1]{color:var(--common-white);background:var(--success-main)}.contained.warning[data-v-5425b1e1]{color:var(--warning-contrastText);background:var(--warning-dark)}.small[data-v-5425b1e1]{padding:2px 6px}.medium[data-v-5425b1e1]{padding:4px 8px}.large[data-v-5425b1e1]{padding:10px 12px}.extraLarge[data-v-5425b1e1]{padding:12px 14px}.small[data-v-5425b1e1],.medium[data-v-5425b1e1],.large[data-v-5425b1e1],.extraLarge[data-v-5425b1e1]{height:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-2fbb82ae]{color:#41454d}.flex[data-v-2fbb82ae]{display:flex;align-items:center;justify-content:center;grid-column-gap:6px}.with-left-icon.sm[data-v-2fbb82ae] .flex{grid-column-gap:4px}.with-left-icon.sm[data-v-2fbb82ae] .content{margin:0 12px 0 8px}.with-left-icon.md[data-v-2fbb82ae] .content{margin:0 16px 0 12px}.with-left-icon.lg[data-v-2fbb82ae] .content{margin:0 24px 0 12px}.with-right-icon.sm[data-v-2fbb82ae] .flex{grid-column-gap:4px}.with-right-icon.sm[data-v-2fbb82ae] .content{margin:0 8px 0 12px}.with-right-icon.md[data-v-2fbb82ae] .content{margin:0 12px 0 16px}.with-right-icon.lg[data-v-2fbb82ae] .content{margin:0 12px 0 24px}.icon[data-v-2fbb82ae],.loading[data-v-2fbb82ae]{vertical-align:middle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
div[data-v-48ad2f11]{display:block}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-d3894364]{color:#41454d}.chip-container[data-v-d3894364]{max-width:100%;display:flex;align-items:center;justify-content:center;font-family:HelveticaNeue,sans-serif;font-weight:500;font-size:.8125rem;padding:.5rem 1rem;border-radius:1.5rem;background:none;cursor:pointer;border:1px solid #dddfe1}.chip-container[data-v-d3894364]:hover{border-color:#53575b;color:#53575b}.chip-container.disabled[data-v-d3894364]{color:#696a6b;pointer-events:none}.chip-container.selected[data-v-d3894364]{border-color:#e2eeff;background-color:#e2eeff;color:#3083ff}.chip-container.selected[data-v-d3894364]:hover{background-color:#c9dfff;border-color:#c9dfff}.chip-container.selected.disabled[data-v-d3894364]{color:#96c0ff}.chip-container.selected .clear-icon[data-v-d3894364]{margin-left:8px;margin-right:-8px;color:#96c0ff;display:inline-block}.chip-container.selected .clear-icon[data-v-d3894364]:hover{color:#3083ff}.chip-container span.prefix[data-v-d3894364]{font-weight:400}.chip-container .clear-icon[data-v-d3894364]{display:none;min-width:auto;border:none;background:none;padding:0}.icon[data-v-d3894364]{display:flex}.icon--start[data-v-d3894364]{margin-right:6px}.icon--end[data-v-d3894364]{margin-left:6px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-0bfee819]{color:#41454d}.switch[data-v-0bfee819]{position:relative;display:inline-flex;border-radius:.5rem;background:#f1f3f4;height:2rem;padding:0 .125rem 0 0}.switch--lg[data-v-0bfee819]{height:2.5rem}.option[data-v-0bfee819]{margin:.25rem .125rem;border:none;background:yellow;display:flex;height:auto;justify-content:center;align-items:center;min-width:auto;padding:0 .5rem;user-select:none;z-index:1;border-radius:.5rem;color:#53575b}.option[data-v-0bfee819]:nth-of-type(1){margin-left:4px}.option[data-v-0bfee819]:hover:not(.option--selected){color:#53575b;background:#e5e7e9}.box[data-v-0bfee819]{transition:transform .2s ease-in-out 0s;position:absolute;top:.25rem;left:0;height:1.5rem;background:#ffffff;box-shadow:0 0 1px #0006;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.box--lg[data-v-0bfee819]{height:2rem}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
version: string;
|
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
version: string;
|
|
5
|
-
}>>>, {}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { IconName } from '@/components/icon';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
leftIconName?: IconName;
|
|
4
|
-
rightIconName?: IconName;
|
|
5
|
-
size?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
6
|
-
testId?: string;
|
|
7
|
-
}>, {
|
|
8
|
-
leftIconName: any;
|
|
9
|
-
rightIconName: any;
|
|
10
|
-
size: string;
|
|
11
|
-
testId: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
leftIconName?: IconName;
|
|
14
|
-
rightIconName?: IconName;
|
|
15
|
-
size?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
16
|
-
testId?: string;
|
|
17
|
-
}>, {
|
|
18
|
-
leftIconName: any;
|
|
19
|
-
rightIconName: any;
|
|
20
|
-
size: string;
|
|
21
|
-
testId: string;
|
|
22
|
-
}>>>, {
|
|
23
|
-
size: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
24
|
-
testId: string;
|
|
25
|
-
leftIconName: IconName;
|
|
26
|
-
rightIconName: IconName;
|
|
27
|
-
}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
} : P[K];
|
|
42
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import ButtonSuper from '../common/ButtonSuper.vue.js';
|
|
3
|
-
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
-
|
|
5
|
-
import "../../../Button.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "Button",
|
|
8
|
-
props: {
|
|
9
|
-
leftIconName: { default: null },
|
|
10
|
-
rightIconName: { default: null },
|
|
11
|
-
size: { default: "md" },
|
|
12
|
-
testId: { default: "" }
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
const props = __props;
|
|
16
|
-
return (_ctx, _cache) => {
|
|
17
|
-
return openBlock(), createBlock(ButtonSuper, mergeProps({
|
|
18
|
-
class: [
|
|
19
|
-
__props.size,
|
|
20
|
-
{
|
|
21
|
-
"with-left-icon": !!__props.leftIconName,
|
|
22
|
-
"with-right-icon": !!__props.rightIconName
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
size: __props.size,
|
|
26
|
-
"data-testid": props.testId,
|
|
27
|
-
"left-icon-name": __props.leftIconName,
|
|
28
|
-
"right-icon-name": __props.rightIconName
|
|
29
|
-
}, _ctx.$attrs), {
|
|
30
|
-
default: withCtx(() => [
|
|
31
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
32
|
-
]),
|
|
33
|
-
_: 3
|
|
34
|
-
}, 16, ["class", "size", "data-testid", "left-icon-name", "right-icon-name"]);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64003b2c"]]);
|
|
39
|
-
|
|
40
|
-
export { Button as default };
|