@datability/8ui 1.2.2 → 1.3.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/dist/components/avatar-group/index.scss +57 -0
- package/dist/components/avatars/index.scss +47 -0
- package/dist/components/battery/index.scss +45 -0
- package/dist/components/breadcrumbs/index.scss +35 -0
- package/dist/components/button/index.scss +163 -28
- package/dist/components/button-icon/index.scss +125 -0
- package/dist/components/calendar/index.scss +101 -0
- package/dist/components/chip/index.scss +87 -23
- package/dist/components/counter-label/index.scss +131 -0
- package/dist/components/dialog-box/index.scss +89 -0
- package/dist/components/empty/index.scss +26 -0
- package/dist/components/favorite/index.scss +43 -0
- package/dist/components/file-uploader/index.scss +137 -0
- package/dist/components/input/auto-complete/index.scss +46 -0
- package/dist/components/input/checkbox/index.scss +168 -0
- package/dist/components/input/date-extend.scss +29 -0
- package/dist/components/input/date-input/index.scss +13 -0
- package/dist/components/input/date-range-input/index.scss +18 -0
- package/dist/components/input/date-time-input/index.scss +47 -0
- package/dist/components/input/extend.scss +110 -13
- package/dist/components/input/input-base/index.scss +34 -12
- package/dist/components/input/multi-select/index.scss +173 -0
- package/dist/components/input/number-input/index.scss +31 -0
- package/dist/components/input/password-input/index.scss +31 -0
- package/dist/components/input/phone-input/index.scss +31 -0
- package/dist/components/input/radio-button/index.scss +175 -0
- package/dist/components/input/select/index.scss +68 -0
- package/dist/components/input/text-input/index.scss +31 -0
- package/dist/components/input/textarea/index.scss +9 -0
- package/dist/components/input/toggle/index.scss +97 -0
- package/dist/components/loading/index.scss +30 -0
- package/dist/components/menu/index.scss +174 -22
- package/dist/components/modal/index.scss +113 -33
- package/dist/components/on-remove/index.scss +73 -0
- package/dist/components/pagination/index.scss +90 -0
- package/dist/components/progress-bar/index.scss +27 -0
- package/dist/components/rate/index.scss +48 -0
- package/dist/components/search-bar/index.scss +138 -0
- package/dist/components/slider/index.scss +47 -0
- package/dist/components/table/index.scss +174 -0
- package/dist/components/tabs/index.scss +63 -0
- package/dist/components/tag/index.scss +89 -0
- package/dist/components/toast/index.scss +267 -0
- package/dist/components/tooltip/index.scss +246 -0
- package/dist/components/tree-folder/index.scss +63 -0
- package/dist/components/tree-folder-left/index.scss +81 -0
- package/dist/components/tree-folder-right/index.scss +92 -0
- package/dist/components/upload-dragger/index.scss +61 -0
- package/dist/components/upload-list-item/index.scss +115 -0
- package/dist/components/user-profile/index.scss +91 -0
- package/dist/index.css +1 -1
- package/dist/index.es.js +4206 -1793
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/types/components/assets/arrow-left.d.ts +3 -0
- package/dist/types/components/assets/arrow-right.d.ts +3 -0
- package/dist/types/components/assets/bar.d.ts +3 -0
- package/dist/types/components/assets/calendar.d.ts +3 -0
- package/dist/types/components/assets/check-circle-fill.d.ts +3 -0
- package/dist/types/components/assets/chevron-down.d.ts +3 -0
- package/dist/types/components/assets/chevron-left.d.ts +3 -0
- package/dist/types/components/assets/chevron-right.d.ts +3 -0
- package/dist/types/components/assets/dots-six-vertical.d.ts +3 -0
- package/dist/types/components/assets/empty-basic.d.ts +3 -0
- package/dist/types/components/assets/empty-simple.d.ts +3 -0
- package/dist/types/components/assets/eye-off.d.ts +3 -0
- package/dist/types/components/assets/eye.d.ts +3 -0
- package/dist/types/components/assets/file-earmark.d.ts +3 -0
- package/dist/types/components/assets/folder-closed.d.ts +3 -0
- package/dist/types/components/assets/folder-open.d.ts +3 -0
- package/dist/types/components/assets/gear.d.ts +3 -0
- package/dist/types/components/assets/heart-fill.d.ts +3 -0
- package/dist/types/components/assets/heart-outline.d.ts +3 -0
- package/dist/types/components/assets/icon-checkmark.d.ts +3 -0
- package/dist/types/components/assets/image-broken.d.ts +3 -0
- package/dist/types/components/assets/images.d.ts +3 -0
- package/dist/types/components/assets/inbox.d.ts +3 -0
- package/dist/types/components/assets/info-circle-fill.d.ts +3 -0
- package/dist/types/components/assets/search.d.ts +3 -0
- package/dist/types/components/assets/star-fill.d.ts +3 -0
- package/dist/types/components/assets/trash.d.ts +3 -0
- package/dist/types/components/assets/upload-simple.d.ts +3 -0
- package/dist/types/components/assets/warning-fill.d.ts +3 -0
- package/dist/types/components/assets/x-circle-fill.d.ts +3 -0
- package/dist/types/components/avatar-group/index.d.ts +4 -0
- package/dist/types/components/avatar-group/index.type.d.ts +15 -0
- package/dist/types/components/avatars/index.d.ts +4 -0
- package/dist/types/components/avatars/index.type.d.ts +11 -0
- package/dist/types/components/battery/index.d.ts +4 -0
- package/dist/types/components/battery/index.type.d.ts +6 -0
- package/dist/types/components/breadcrumbs/index.d.ts +4 -0
- package/dist/types/components/breadcrumbs/index.type.d.ts +10 -0
- package/dist/types/components/button/index.type.d.ts +9 -1
- package/dist/types/components/button-icon/index.d.ts +4 -0
- package/dist/types/components/button-icon/index.type.d.ts +15 -0
- package/dist/types/components/calendar/index.d.ts +4 -0
- package/dist/types/components/calendar/index.type.d.ts +9 -0
- package/dist/types/components/chip/index.type.d.ts +8 -6
- package/dist/types/components/counter-label/index.d.ts +4 -0
- package/dist/types/components/counter-label/index.type.d.ts +9 -0
- package/dist/types/components/dialog-box/index.d.ts +4 -0
- package/dist/types/components/dialog-box/index.type.d.ts +14 -0
- package/dist/types/components/empty/index.d.ts +4 -0
- package/dist/types/components/empty/index.type.d.ts +9 -0
- package/dist/types/components/favorite/index.d.ts +4 -0
- package/dist/types/components/favorite/index.type.d.ts +7 -0
- package/dist/types/components/file-uploader/index.d.ts +4 -0
- package/dist/types/components/file-uploader/index.type.d.ts +12 -0
- package/dist/types/components/input/auto-complete/index.d.ts +4 -0
- package/dist/types/components/input/auto-complete/index.type.d.ts +13 -0
- package/dist/types/components/input/checkbox/index.d.ts +4 -0
- package/dist/types/components/input/checkbox/index.type.d.ts +22 -0
- package/dist/types/components/input/date-input/index.d.ts +4 -0
- package/dist/types/components/input/date-input/index.type.d.ts +5 -0
- package/dist/types/components/input/date-range-input/index.d.ts +4 -0
- package/dist/types/components/input/date-range-input/index.type.d.ts +11 -0
- package/dist/types/components/input/date-time-input/index.d.ts +4 -0
- package/dist/types/components/input/date-time-input/index.type.d.ts +5 -0
- package/dist/types/components/input/date-utils.d.ts +5 -0
- package/dist/types/components/input/input-base/index.type.d.ts +20 -1
- package/dist/types/components/input/multi-select/index.d.ts +4 -0
- package/dist/types/components/input/multi-select/index.type.d.ts +8 -0
- package/dist/types/components/input/number-input/index.d.ts +4 -0
- package/dist/types/components/input/number-input/index.type.d.ts +6 -0
- package/dist/types/components/input/password-input/index.d.ts +4 -0
- package/dist/types/components/input/password-input/index.type.d.ts +2 -0
- package/dist/types/components/input/phone-input/index.d.ts +4 -0
- package/dist/types/components/input/phone-input/index.type.d.ts +6 -0
- package/dist/types/components/input/radio-button/index.d.ts +4 -0
- package/dist/types/components/input/radio-button/index.type.d.ts +23 -0
- package/dist/types/components/input/range-slider/index.d.ts +4 -0
- package/dist/types/components/input/range-slider/index.type.d.ts +9 -0
- package/dist/types/components/input/select/index.d.ts +4 -0
- package/dist/types/components/input/select/index.type.d.ts +19 -0
- package/dist/types/components/input/slider/index.d.ts +4 -0
- package/dist/types/components/input/{input-switch → slider}/index.type.d.ts +4 -1
- package/dist/types/components/input/text-input/index.d.ts +4 -0
- package/dist/types/components/input/text-input/index.type.d.ts +6 -0
- package/dist/types/components/input/textarea/index.d.ts +4 -0
- package/dist/types/components/input/textarea/index.type.d.ts +5 -0
- package/dist/types/components/input/toggle/index.d.ts +4 -0
- package/dist/types/components/input/toggle/index.type.d.ts +8 -0
- package/dist/types/components/loading/index.d.ts +4 -0
- package/dist/types/components/loading/index.type.d.ts +6 -0
- package/dist/types/components/menu/index.d.ts +6 -2
- package/dist/types/components/menu/index.type.d.ts +31 -8
- package/dist/types/components/menu/position.d.ts +6 -0
- package/dist/types/components/menu/useMenuDropdown.d.ts +9 -0
- package/dist/types/components/modal/index.type.d.ts +10 -3
- package/dist/types/components/on-remove/index.d.ts +4 -0
- package/dist/types/components/on-remove/index.type.d.ts +9 -0
- package/dist/types/components/overlay/useOverlay.d.ts +5 -0
- package/dist/types/components/pagination/index.d.ts +4 -0
- package/dist/types/components/pagination/index.type.d.ts +9 -0
- package/dist/types/components/progress-bar/index.d.ts +4 -0
- package/dist/types/components/progress-bar/index.type.d.ts +6 -0
- package/dist/types/components/rate/index.d.ts +4 -0
- package/dist/types/components/rate/index.type.d.ts +8 -0
- package/dist/types/components/search-bar/index.d.ts +4 -0
- package/dist/types/components/search-bar/index.type.d.ts +12 -0
- package/dist/types/components/slider/index.d.ts +5 -0
- package/dist/types/components/slider/index.type.d.ts +14 -0
- package/dist/types/components/table/index.d.ts +7 -0
- package/dist/types/components/table/index.type.d.ts +51 -0
- package/dist/types/components/tabs/index.d.ts +4 -0
- package/dist/types/components/tabs/index.type.d.ts +13 -0
- package/dist/types/components/tag/index.d.ts +4 -0
- package/dist/types/components/tag/index.type.d.ts +10 -0
- package/dist/types/components/toast/index.d.ts +4 -0
- package/dist/types/components/toast/index.type.d.ts +19 -0
- package/dist/types/components/toast/store.d.ts +8 -0
- package/dist/types/components/toast/toast.d.ts +11 -0
- package/dist/types/components/tooltip/index.d.ts +4 -0
- package/dist/types/components/tooltip/index.type.d.ts +12 -0
- package/dist/types/components/tree-folder/index.d.ts +4 -0
- package/dist/types/components/tree-folder/index.type.d.ts +22 -0
- package/dist/types/components/tree-folder-left/index.d.ts +4 -0
- package/dist/types/components/tree-folder-left/index.type.d.ts +12 -0
- package/dist/types/components/tree-folder-right/index.d.ts +4 -0
- package/dist/types/components/tree-folder-right/index.type.d.ts +14 -0
- package/dist/types/components/typography/index.d.ts +22 -0
- package/dist/types/components/typography/index.type.d.ts +9 -0
- package/dist/types/components/upload-dragger/index.d.ts +4 -0
- package/dist/types/components/upload-dragger/index.type.d.ts +15 -0
- package/dist/types/components/upload-list-item/index.d.ts +4 -0
- package/dist/types/components/upload-list-item/index.type.d.ts +9 -0
- package/dist/types/components/user-profile/index.d.ts +4 -0
- package/dist/types/components/user-profile/index.type.d.ts +9 -0
- package/dist/types/configs/router.d.ts +1 -0
- package/dist/types/images/icons/mic-lg.d.ts +3 -0
- package/dist/types/images/icons/plus-lg.d.ts +3 -0
- package/dist/types/images/icons/search.d.ts +3 -0
- package/dist/types/images/icons/tag-fill.d.ts +3 -0
- package/dist/types/images/logos/icon.d.ts +3 -0
- package/dist/types/images/logos/main.d.ts +3 -0
- package/dist/types/images/logos/vertical.d.ts +3 -0
- package/dist/types/images/logos/watermark.d.ts +3 -0
- package/dist/types/index.d.ts +99 -39
- package/dist/types/layouts/index.d.ts +3 -0
- package/dist/types/main.d.ts +0 -1
- package/dist/types/pages/Color/index.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/AutoCompleteDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/AvatarGroupDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/AvatarsDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/ButtonDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/ButtonIconDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/CheckboxDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/ChipDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/CounterLabelDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/DateInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/DateRangeInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/DateTimeInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/LoadingDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/MenuDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/MultiSelectDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/NumberInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/PasswordInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/PhoneInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/RadioButtonDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/SelectDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/SliderInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/TextInputDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/TextareaDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/demos/ToggleDemo.d.ts +3 -0
- package/dist/types/pages/ComponentBase/index.d.ts +3 -0
- package/dist/types/pages/Components/demos/BatteryDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/BreadcrumbsDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/DialogBoxDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/EmptyDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/FavoriteDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/FileUploaderDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/ModalDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/OnRemoveDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/PaginationDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/ProgressBarDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/RateDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/SearchBarDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/SliderDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/TableDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/TabsDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/TagDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/ToastDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/TooltipDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/TreeFolderDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/UploadDraggerDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/UploadListItemDemo.d.ts +3 -0
- package/dist/types/pages/Components/demos/UserProfileDemo.d.ts +3 -0
- package/dist/types/pages/Components/index.d.ts +3 -0
- package/dist/types/pages/Home/index.d.ts +3 -0
- package/dist/types/pages/Logo/index.d.ts +3 -0
- package/dist/types/pages/Styles/index.d.ts +3 -0
- package/dist/types/pages/Typography/index.d.ts +3 -0
- package/dist/types/pages/_shared/PageHeader.d.ts +7 -0
- package/dist/types/pages/_shared/SectionHeader.d.ts +6 -0
- package/package.json +2 -1
- package/dist/components/assets/closed.svg +0 -4
- package/dist/components/assets/expand-arrow.svg +0 -3
- package/dist/components/assets/visibility-off.svg +0 -5
- package/dist/components/assets/visibility.svg +0 -5
- package/dist/components/blackdrop/index.scss +0 -16
- package/dist/components/divider/index.scss +0 -4
- package/dist/components/input/input-async-auto-complete/index.scss +0 -66
- package/dist/components/input/input-async-select/index.scss +0 -94
- package/dist/components/input/input-auto-complete/index.scss +0 -53
- package/dist/components/input/input-basic/index.scss +0 -9
- package/dist/components/input/input-checkbox/index.scss +0 -30
- package/dist/components/input/input-date/index.scss +0 -102
- package/dist/components/input/input-date-range/index.scss +0 -101
- package/dist/components/input/input-date-time/index.scss +0 -179
- package/dist/components/input/input-number/index.scss +0 -9
- package/dist/components/input/input-password/index.scss +0 -22
- package/dist/components/input/input-radio/index.scss +0 -35
- package/dist/components/input/input-select/index.scss +0 -81
- package/dist/components/input/input-switch/index.scss +0 -84
- package/dist/components/input/input-textarea/index.scss +0 -10
- package/dist/types/components/blackdrop/index.d.ts +0 -4
- package/dist/types/components/blackdrop/index.type.d.ts +0 -6
- package/dist/types/components/divider/index.d.ts +0 -3
- package/dist/types/components/index.d.ts +0 -45
- package/dist/types/components/input/input-async-auto-complete/index.d.ts +0 -4
- package/dist/types/components/input/input-async-auto-complete/index.type.d.ts +0 -19
- package/dist/types/components/input/input-async-select/index.d.ts +0 -4
- package/dist/types/components/input/input-async-select/index.type.d.ts +0 -19
- package/dist/types/components/input/input-auto-complete/index.d.ts +0 -4
- package/dist/types/components/input/input-auto-complete/index.type.d.ts +0 -14
- package/dist/types/components/input/input-basic/index.d.ts +0 -4
- package/dist/types/components/input/input-basic/index.type.d.ts +0 -10
- package/dist/types/components/input/input-checkbox/index.d.ts +0 -4
- package/dist/types/components/input/input-checkbox/index.type.d.ts +0 -13
- package/dist/types/components/input/input-date/index.d.ts +0 -22
- package/dist/types/components/input/input-date/index.type.d.ts +0 -13
- package/dist/types/components/input/input-date-range/index.d.ts +0 -4
- package/dist/types/components/input/input-date-range/index.type.d.ts +0 -13
- package/dist/types/components/input/input-date-time/index.d.ts +0 -4
- package/dist/types/components/input/input-date-time/index.type.d.ts +0 -13
- package/dist/types/components/input/input-number/index.d.ts +0 -4
- package/dist/types/components/input/input-number/index.type.d.ts +0 -12
- package/dist/types/components/input/input-password/index.d.ts +0 -4
- package/dist/types/components/input/input-password/index.type.d.ts +0 -10
- package/dist/types/components/input/input-radio/index.d.ts +0 -4
- package/dist/types/components/input/input-radio/index.type.d.ts +0 -14
- package/dist/types/components/input/input-select/index.d.ts +0 -4
- package/dist/types/components/input/input-select/index.type.d.ts +0 -15
- package/dist/types/components/input/input-switch/index.d.ts +0 -4
- package/dist/types/components/input/input-textarea/index.d.ts +0 -4
- package/dist/types/components/input/input-textarea/index.type.d.ts +0 -12
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-checkboxList {
|
|
4
|
+
display: flex;
|
|
5
|
+
width: 100%;
|
|
6
|
+
gap: var(--spacingGap2xl);
|
|
7
|
+
|
|
8
|
+
&[data-vertical='true'] {
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: var(--spacingGapLg);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.DBui-checkboxItem {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: flex-start;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
&[data-disabled='true'] {
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.DBui-checkboxControl {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
padding-top: var(--spacingPaddingXs);
|
|
27
|
+
padding-bottom: var(--spacingPaddingXs);
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.DBui-checkboxNative {
|
|
32
|
+
position: absolute;
|
|
33
|
+
width: 1px;
|
|
34
|
+
height: 1px;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
clip: rect(0, 0, 0, 0);
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.DBui-checkboxBox {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
border-radius: var(--radiusSm);
|
|
45
|
+
border: var(--textInputBorderXs) solid var(--textInputColorDefaultBorderDefault);
|
|
46
|
+
background-color: var(--textInputColorDefaultBackgroundDefault);
|
|
47
|
+
transition: all 0.15s ease;
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
|
|
50
|
+
&[data-checked='true'],
|
|
51
|
+
&[data-indeterminate='true'] {
|
|
52
|
+
background-color: var(--brandColorSecondary);
|
|
53
|
+
border-color: var(--brandColorSecondary);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&[data-invalid='true']:not([data-checked='true']):not([data-indeterminate='true']) {
|
|
57
|
+
border-color: var(--textInputColorDefaultBorderError);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[data-disabled='true'] {
|
|
61
|
+
&[data-checked='true'],
|
|
62
|
+
&[data-indeterminate='true'] {
|
|
63
|
+
background-color: var(--utilitiesDisabledBackground);
|
|
64
|
+
border-color: var(--utilitiesDisabledBackground);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:not([data-checked='true']):not([data-indeterminate='true']) {
|
|
68
|
+
background-color: var(--surfaceDisabledDefault);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.DBui-checkboxNative:focus-visible + .DBui-checkboxBox {
|
|
74
|
+
border-color: var(--textInputColorDefaultBorderFocus);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.DBui-checkboxIcon {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
color: var(--componentColorDefaultBorderNeutralPureWhite);
|
|
82
|
+
|
|
83
|
+
svg {
|
|
84
|
+
display: block;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.DBui-checkboxContent {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.DBui-checkboxLabel {
|
|
94
|
+
color: var(--textInputColorDefaultLabelTextTextFilled);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.DBui-checkboxDescription {
|
|
98
|
+
color: var(--textDefaultTertiary);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// Size: sm (box 12px, icon 8px)
|
|
102
|
+
&[data-size='sm'] {
|
|
103
|
+
.DBui-checkboxBox {
|
|
104
|
+
width: var(--iconSm);
|
|
105
|
+
height: var(--iconSm);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.DBui-checkboxIcon svg {
|
|
109
|
+
width: var(--icon2xs);
|
|
110
|
+
height: var(--icon2xs);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.DBui-checkboxItem {
|
|
114
|
+
gap: var(--spacingGapMd);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Size: md (box 14px, icon 10px)
|
|
119
|
+
&[data-size='md'] {
|
|
120
|
+
.DBui-checkboxBox {
|
|
121
|
+
width: var(--iconMd);
|
|
122
|
+
height: var(--iconMd);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.DBui-checkboxIcon svg {
|
|
126
|
+
width: var(--iconXs);
|
|
127
|
+
height: var(--iconXs);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.DBui-checkboxItem {
|
|
131
|
+
gap: var(--spacingGapMd);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Size: lg (box 16px, icon 12px)
|
|
136
|
+
&[data-size='lg'] {
|
|
137
|
+
.DBui-checkboxBox {
|
|
138
|
+
width: var(--iconLg);
|
|
139
|
+
height: var(--iconLg);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.DBui-checkboxIcon svg {
|
|
143
|
+
width: var(--iconSm);
|
|
144
|
+
height: var(--iconSm);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.DBui-checkboxItem {
|
|
148
|
+
gap: var(--spacingGapMd);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// Size: xl (box 20px, icon 14px)
|
|
153
|
+
&[data-size='xl'] {
|
|
154
|
+
.DBui-checkboxBox {
|
|
155
|
+
width: var(--iconXl);
|
|
156
|
+
height: var(--iconXl);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.DBui-checkboxIcon svg {
|
|
160
|
+
width: var(--iconMd);
|
|
161
|
+
height: var(--iconMd);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.DBui-checkboxItem {
|
|
165
|
+
gap: var(--spacingGapLg);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import './extend.scss';
|
|
2
|
+
|
|
3
|
+
@mixin date-trigger {
|
|
4
|
+
@include input-field-container;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin date-value {
|
|
9
|
+
flex: 1;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
|
|
15
|
+
&[data-empty="true"] {
|
|
16
|
+
color: var(--textInputColorDefaultLabelPlaceholder);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin date-icon {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
width: var(--input-icon-size);
|
|
26
|
+
height: var(--input-icon-size);
|
|
27
|
+
color: var(--textInputColorDefaultLabelIconText);
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import '../date-extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-dateRangeInput {
|
|
4
|
+
@include date-trigger;
|
|
5
|
+
|
|
6
|
+
.DBui-dateRangeInputValue {
|
|
7
|
+
@include date-value;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.DBui-dateRangeInputSeparator {
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
color: var(--textInputColorDefaultLabelPlaceholder);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.DBui-dateRangeInputIcon {
|
|
16
|
+
@include date-icon;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@import '../date-extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-dateTimeInput {
|
|
4
|
+
@include date-trigger;
|
|
5
|
+
|
|
6
|
+
.DBui-dateTimeInputValue {
|
|
7
|
+
@include date-value;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.DBui-dateTimeInputIcon {
|
|
11
|
+
@include date-icon;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.DBui-dateTimeInputPopup {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.DBui-dateTimeInputTimeRow {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
padding: 0 16px 16px;
|
|
25
|
+
background: #ffffff;
|
|
26
|
+
border: 1px solid #d9d9d9;
|
|
27
|
+
border-top: none;
|
|
28
|
+
border-radius: 0 0 16px 16px;
|
|
29
|
+
margin-top: -16px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.DBui-dateTimeInputTime {
|
|
33
|
+
width: 100%;
|
|
34
|
+
padding: 8px;
|
|
35
|
+
border: 1px solid #d9d9d9;
|
|
36
|
+
border-radius: 8px;
|
|
37
|
+
font-family: var(--typographyFontFamilyPlain), sans-serif;
|
|
38
|
+
font-size: var(--baselineLabelMdFontSize);
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
color: #1e1e1e;
|
|
41
|
+
outline: none;
|
|
42
|
+
text-align: center;
|
|
43
|
+
|
|
44
|
+
&:focus {
|
|
45
|
+
border-color: #1e1e1e;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,19 +1,116 @@
|
|
|
1
1
|
// Disable
|
|
2
2
|
.DBui-disabled {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
cursor: not-allowed;
|
|
4
|
+
background-color: var(--textInputColorDefaultBackgroundDisabled);
|
|
5
|
+
color: var(--textInputColorDefaultLabelTextDisabled);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.DBui-input {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
width: 100%;
|
|
10
|
+
padding: 0.3em 0.5em;
|
|
11
|
+
border-radius: var(--textInputRadiusMd);
|
|
12
|
+
border: var(--textInputBorderXs) solid var(--textInputColorDefaultBorderDefault);
|
|
13
|
+
background-color: var(--textInputColorDefaultBackgroundDefault);
|
|
14
|
+
color: var(--textInputColorDefaultLabelTextTextFilled);
|
|
15
|
+
outline: none;
|
|
16
|
+
|
|
17
|
+
&::placeholder {
|
|
18
|
+
color: var(--textInputColorDefaultLabelPlaceholder);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&[data-invalid="true"] {
|
|
22
|
+
border-color: var(--textInputColorDefaultBorderError);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Shared container for TextInput, PasswordInput, etc.
|
|
27
|
+
@mixin input-field-container {
|
|
28
|
+
width: 100%;
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
border: none;
|
|
33
|
+
border-radius: var(--textInputRadiusMd);
|
|
34
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderDefault);
|
|
35
|
+
background-color: var(--textInputColorDefaultBackgroundDefault);
|
|
36
|
+
color: var(--textInputColorDefaultLabelTextTextFilled);
|
|
37
|
+
font-family: var(--typographyFontFamilyPlain), sans-serif;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
transition: box-shadow 0.2s;
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
|
|
42
|
+
&:focus-within {
|
|
43
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderFocus);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-invalid="true"] {
|
|
47
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderError);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&[data-success="true"] {
|
|
51
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderSuccess);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&[data-disabled="true"] {
|
|
55
|
+
cursor: not-allowed;
|
|
56
|
+
background-color: var(--textInputColorDefaultBackgroundDisabled);
|
|
57
|
+
color: var(--textInputColorDefaultLabelTextDisabled);
|
|
58
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderDisabled);
|
|
59
|
+
|
|
60
|
+
> input,
|
|
61
|
+
> textarea {
|
|
62
|
+
cursor: not-allowed;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[data-readonly="true"] {
|
|
67
|
+
background-color: var(--textInputColorDefaultBackgroundReadOnly);
|
|
68
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderReadOnly);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
> input,
|
|
72
|
+
> textarea {
|
|
73
|
+
flex: 1;
|
|
74
|
+
min-width: 0;
|
|
75
|
+
border: none;
|
|
76
|
+
outline: none;
|
|
77
|
+
background: transparent;
|
|
78
|
+
color: inherit;
|
|
79
|
+
font: inherit;
|
|
80
|
+
line-height: inherit;
|
|
81
|
+
padding: 0;
|
|
82
|
+
margin: 0;
|
|
83
|
+
|
|
84
|
+
&::placeholder {
|
|
85
|
+
color: var(--textInputColorDefaultLabelPlaceholder);
|
|
18
86
|
}
|
|
19
|
-
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[data-size="sm"] {
|
|
90
|
+
padding: var(--textInputSpacingSmallY) var(--textInputSpacingSmallX);
|
|
91
|
+
font-size: var(--baselineParagraphFontSize);
|
|
92
|
+
line-height: var(--baselineParagraphLineHeight);
|
|
93
|
+
--input-icon-size: var(--buttonIconXs);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[data-size="md"] {
|
|
97
|
+
padding: var(--textInputSpacingMediumY) var(--textInputSpacingMediumX);
|
|
98
|
+
font-size: var(--baselineLabelMdFontSize);
|
|
99
|
+
line-height: var(--baselineLabelMdLineHeight);
|
|
100
|
+
--input-icon-size: var(--buttonIconSm);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&[data-size="lg"] {
|
|
104
|
+
padding: var(--textInputSpacingLargeY) var(--textInputSpacingLargeX);
|
|
105
|
+
font-size: var(--baselineLabelLgFontSize);
|
|
106
|
+
line-height: var(--baselineLabelLgLineHeight);
|
|
107
|
+
--input-icon-size: var(--buttonIconMd);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&[data-size="xl"] {
|
|
111
|
+
padding: var(--textInputSpacingXlY) var(--textInputSpacingXlX);
|
|
112
|
+
font-size: var(--baselineSubtitleFontSize);
|
|
113
|
+
line-height: var(--baselineSubtitleLineHeight);
|
|
114
|
+
--input-icon-size: var(--buttonIconLg);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -1,14 +1,36 @@
|
|
|
1
1
|
.DBui-inputBase {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: var(--textInputGapSm);
|
|
5
|
+
|
|
6
|
+
.DBui-inputBaseLabel {
|
|
2
7
|
display: flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: var(--textInputGapSm);
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.DBui-inputBaseLabelText {
|
|
14
|
+
color: var(--textInputColorDefaultLabelLabel);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.DBui-inputBaseLabelCaption {
|
|
18
|
+
color: var(--textInputColorDefaultLabelCaption);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.DBui-inputBaseLabelRequired {
|
|
22
|
+
color: var(--textInputColorDefaultLabelIsRequired);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.DBui-inputBaseHint {
|
|
26
|
+
color: var(--textInputColorDefaultLabelNoteMessage);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-invalid="true"] .DBui-inputBaseHint {
|
|
30
|
+
color: var(--textInputColorDefaultLabelError);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[data-success="true"] .DBui-inputBaseHint {
|
|
34
|
+
color: var(--textInputColorDefaultLabelSuccess);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-multiSelect {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.DBui-multiSelectTrigger {
|
|
9
|
+
@include input-field-container;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
user-select: none;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
|
|
14
|
+
&[data-disabled="true"] {
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[data-open="true"] {
|
|
19
|
+
box-shadow: inset 0 0 0 var(--textInputBorderXs) var(--textInputColorDefaultBorderFocus);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.DBui-multiSelectChips {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
flex: 1;
|
|
26
|
+
min-width: 0;
|
|
27
|
+
gap: var(--componentSpacingSm);
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.DBui-multiSelectPlaceholder {
|
|
32
|
+
color: var(--textInputColorDefaultLabelPlaceholder);
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.DBui-multiSelectIcon {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
width: var(--input-icon-size);
|
|
44
|
+
height: var(--input-icon-size);
|
|
45
|
+
transition: transform 0.2s;
|
|
46
|
+
|
|
47
|
+
&[data-open="true"] {
|
|
48
|
+
transform: rotate(180deg);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
img,
|
|
52
|
+
svg {
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 100%;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.DBui-multiSelectDropdown {
|
|
60
|
+
width: max-content;
|
|
61
|
+
min-width: 100%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.DBui-multiSelectOption {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
padding: var(--spacingPaddingSm) var(--spacingGapXl);
|
|
68
|
+
background: var(--componentColorDefaultBackgroundNeutralPureWhite);
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
|
|
71
|
+
&[data-size="lg"],
|
|
72
|
+
&[data-size="xl"] {
|
|
73
|
+
padding-top: var(--spacingPaddingMd);
|
|
74
|
+
padding-bottom: var(--spacingPaddingMd);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:hover,
|
|
78
|
+
&:focus-visible {
|
|
79
|
+
background: var(--componentColorDefaultBackgroundQuaternaryOnDefault);
|
|
80
|
+
outline: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.DBui-multiSelectOptionCheckbox {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
border-radius: var(--radiusSm);
|
|
88
|
+
border: var(--textInputBorderXs) solid var(--textInputColorDefaultBorderDefault);
|
|
89
|
+
background-color: var(--textInputColorDefaultBackgroundDefault);
|
|
90
|
+
transition: all 0.15s ease;
|
|
91
|
+
box-sizing: border-box;
|
|
92
|
+
flex-shrink: 0;
|
|
93
|
+
|
|
94
|
+
&[data-checked="true"] {
|
|
95
|
+
background-color: var(--brandColorSecondary);
|
|
96
|
+
border-color: var(--brandColorSecondary);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.DBui-multiSelectOptionCheckboxIcon {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
color: var(--componentColorDefaultBorderNeutralPureWhite);
|
|
105
|
+
|
|
106
|
+
svg {
|
|
107
|
+
display: block;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&[data-size="sm"] {
|
|
112
|
+
gap: var(--componentSpacingMd);
|
|
113
|
+
|
|
114
|
+
.DBui-multiSelectOptionCheckbox {
|
|
115
|
+
width: var(--iconSm);
|
|
116
|
+
height: var(--iconSm);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.DBui-multiSelectOptionCheckboxIcon svg {
|
|
120
|
+
width: var(--icon2xs);
|
|
121
|
+
height: var(--icon2xs);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&[data-size="md"] {
|
|
126
|
+
gap: var(--componentSpacingMd);
|
|
127
|
+
|
|
128
|
+
.DBui-multiSelectOptionCheckbox {
|
|
129
|
+
width: var(--iconMd);
|
|
130
|
+
height: var(--iconMd);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.DBui-multiSelectOptionCheckboxIcon svg {
|
|
134
|
+
width: var(--iconXs);
|
|
135
|
+
height: var(--iconXs);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&[data-size="lg"] {
|
|
140
|
+
gap: var(--componentSpacingLg);
|
|
141
|
+
|
|
142
|
+
.DBui-multiSelectOptionCheckbox {
|
|
143
|
+
width: var(--iconLg);
|
|
144
|
+
height: var(--iconLg);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.DBui-multiSelectOptionCheckboxIcon svg {
|
|
148
|
+
width: var(--iconSm);
|
|
149
|
+
height: var(--iconSm);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&[data-size="xl"] {
|
|
154
|
+
gap: var(--componentSpacingLg);
|
|
155
|
+
|
|
156
|
+
.DBui-multiSelectOptionCheckbox {
|
|
157
|
+
width: var(--iconXl);
|
|
158
|
+
height: var(--iconXl);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.DBui-multiSelectOptionCheckboxIcon svg {
|
|
162
|
+
width: var(--iconMd);
|
|
163
|
+
height: var(--iconMd);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.DBui-multiSelectLoading {
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
padding: var(--componentSpacingMd) var(--componentSpacingXl);
|
|
173
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-numberInput {
|
|
4
|
+
@include input-field-container;
|
|
5
|
+
|
|
6
|
+
.DBui-numberInputActions {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: var(--textInputGapSm);
|
|
10
|
+
flex-shrink: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.DBui-numberInputIcon {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
flex-shrink: 0;
|
|
18
|
+
width: var(--input-icon-size);
|
|
19
|
+
height: var(--input-icon-size);
|
|
20
|
+
|
|
21
|
+
img,
|
|
22
|
+
svg {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.DBui-numberInputIconText {
|
|
29
|
+
color: var(--textInputColorDefaultLabelIconText);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-passwordInput {
|
|
4
|
+
@include input-field-container;
|
|
5
|
+
|
|
6
|
+
&[data-disabled="true"] .DBui-passwordInputToggle {
|
|
7
|
+
cursor: not-allowed;
|
|
8
|
+
opacity: 0.5;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.DBui-passwordInputToggle {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
width: var(--input-icon-size);
|
|
17
|
+
height: var(--input-icon-size);
|
|
18
|
+
border: none;
|
|
19
|
+
outline: none;
|
|
20
|
+
background: transparent;
|
|
21
|
+
padding: 0;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
color: var(--textInputColorDefaultIconDefault);
|
|
24
|
+
|
|
25
|
+
svg {
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
fill: currentColor;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|