@ncds/ui-admin 1.3.0 → 1.5.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/cjs/assets/scripts/comboBox.js +280 -0
- package/dist/cjs/assets/scripts/datePicker.js +231 -60
- package/dist/cjs/assets/scripts/featuredIcon.js +95 -0
- package/dist/cjs/assets/scripts/fileInput/FileInput.js +183 -0
- package/dist/cjs/assets/scripts/fileInput/FileInputModel.js +246 -0
- package/dist/cjs/assets/scripts/fileInput/FileInputView.js +455 -0
- package/dist/cjs/assets/scripts/fileInput/const/classNames.js +35 -0
- package/dist/cjs/assets/scripts/fileInput/const/index.js +27 -0
- package/dist/cjs/assets/scripts/fileInput/const/types.js +13 -0
- package/dist/cjs/assets/scripts/fileInput/index.js +44 -0
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInput.js +187 -0
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputModel.js +255 -0
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +354 -0
- package/dist/cjs/assets/scripts/imageFileInput/const/classNames.js +41 -0
- package/dist/cjs/assets/scripts/imageFileInput/const/index.js +27 -0
- package/dist/cjs/assets/scripts/imageFileInput/const/types.js +13 -0
- package/dist/cjs/assets/scripts/imageFileInput/index.js +44 -0
- package/dist/cjs/assets/scripts/index.js +21 -1
- package/dist/cjs/assets/scripts/modal/Modal.js +116 -0
- package/dist/cjs/assets/scripts/modal/ModalActions.js +128 -0
- package/dist/cjs/assets/scripts/modal/ModalContent.js +46 -0
- package/dist/cjs/assets/scripts/modal/ModalHeader.js +115 -0
- package/dist/cjs/assets/scripts/modal/const/classNames.js +41 -0
- package/dist/cjs/assets/scripts/modal/const/index.js +27 -0
- package/dist/cjs/assets/scripts/modal/const/types.js +5 -0
- package/dist/cjs/assets/scripts/modal/index.js +61 -0
- package/dist/cjs/assets/scripts/modal/utils/contentUtils.js +35 -0
- package/dist/cjs/assets/scripts/notification/FloatingNotification.js +180 -0
- package/dist/cjs/assets/scripts/notification/FullWidthNotification.js +120 -0
- package/dist/cjs/assets/scripts/notification/MessageNotification.js +146 -0
- package/dist/cjs/assets/scripts/notification/Notification.js +116 -0
- package/dist/cjs/assets/scripts/notification/const/classNames.js +50 -0
- package/dist/cjs/assets/scripts/notification/const/icons.js +45 -0
- package/dist/cjs/assets/scripts/notification/const/index.js +87 -0
- package/dist/cjs/assets/scripts/notification/const/sizes.js +54 -0
- package/dist/cjs/assets/scripts/notification/const/types.js +14 -0
- package/dist/cjs/assets/scripts/notification/index.js +92 -0
- package/dist/cjs/assets/scripts/notification/utils.js +92 -0
- package/dist/cjs/assets/scripts/progress-bar/ProgressBar.js +272 -0
- package/dist/cjs/assets/scripts/progress-bar/index.js +12 -0
- package/dist/cjs/assets/scripts/selectBox.js +319 -0
- package/dist/cjs/assets/scripts/shared/ButtonCloseX.js +46 -0
- package/dist/cjs/assets/scripts/tag/Tag.js +268 -0
- package/dist/cjs/assets/scripts/tag/const/classNames.js +24 -0
- package/dist/cjs/assets/scripts/tag/const/index.js +38 -0
- package/dist/cjs/assets/scripts/tag/const/sizes.js +13 -0
- package/dist/cjs/assets/scripts/tag/const/types.js +5 -0
- package/dist/cjs/assets/scripts/tag/index.js +44 -0
- package/dist/cjs/assets/scripts/tooltip/Tooltip.js +380 -0
- package/dist/cjs/assets/scripts/tooltip/TooltipLayerManager.js +84 -0
- package/dist/cjs/assets/scripts/tooltip/const/classNames.js +29 -0
- package/dist/cjs/assets/scripts/tooltip/const/constants.js +56 -0
- package/dist/cjs/assets/scripts/tooltip/const/icons.js +15 -0
- package/dist/cjs/assets/scripts/tooltip/const/index.js +123 -0
- package/dist/cjs/assets/scripts/tooltip/const/templates.js +49 -0
- package/dist/cjs/assets/scripts/tooltip/const/types.js +5 -0
- package/dist/cjs/assets/scripts/tooltip/index.js +57 -0
- package/dist/cjs/assets/scripts/tooltip/utils.js +41 -0
- package/dist/cjs/assets/scripts/utils/selectbox/DOMRenderer.js +384 -0
- package/dist/cjs/assets/scripts/utils/selectbox/DropdownModel.js +368 -0
- package/dist/cjs/assets/scripts/utils/selectbox/SelectBoxController.js +681 -0
- package/dist/cjs/assets/scripts/utils/selectbox/UnifiedSelectBox.js +711 -0
- package/dist/cjs/constant/color.js +2 -0
- package/dist/cjs/src/components/button/Button.js +9 -35
- package/dist/cjs/src/components/button/ButtonGroup.js +9 -10
- package/dist/cjs/src/components/button/ButtonStepper.js +22 -0
- package/dist/cjs/src/components/button/index.js +22 -0
- package/dist/cjs/src/components/checkbox/Checkbox.js +20 -19
- package/dist/cjs/src/components/checkbox/CheckboxInput.js +22 -45
- package/dist/cjs/src/components/combobox/ComboBox.js +337 -0
- package/dist/cjs/src/components/combobox/index.js +12 -0
- package/dist/cjs/src/components/date-picker/CustomInput.js +52 -0
- package/dist/cjs/src/components/date-picker/DatePicker.js +126 -24
- package/dist/cjs/src/components/date-picker/RangeDatePicker.js +3 -1
- package/dist/cjs/src/components/date-picker/RangeDatePickerWithButtons.js +7 -3
- package/dist/cjs/src/components/{input → file-upload}/FileInput.js +17 -9
- package/dist/cjs/src/components/file-upload/index.js +16 -0
- package/dist/cjs/src/components/image-file-input/ImageFileInput.js +263 -0
- package/dist/cjs/src/components/image-file-input/components/ImagePreview.js +44 -0
- package/dist/cjs/src/components/image-file-input/index.js +16 -0
- package/dist/cjs/src/components/index.js +44 -0
- package/dist/cjs/src/components/input/InputBase.js +54 -10
- package/dist/cjs/src/components/input/NumberInput.js +130 -0
- package/dist/cjs/src/components/input/Textarea.js +12 -20
- package/dist/cjs/src/components/input/index.js +11 -11
- package/dist/cjs/src/components/modal/Modal.js +7 -3
- package/dist/cjs/src/components/notification/FloatingNotification.js +34 -3
- package/dist/cjs/src/components/notification/FullWidthNotification.js +54 -5
- package/dist/cjs/src/components/notification/MessageNotification.js +137 -0
- package/dist/cjs/src/components/notification/Notification.js +23 -9
- package/dist/cjs/src/components/notification/index.js +11 -0
- package/dist/cjs/src/components/pagination/NavButton.js +1 -13
- package/dist/cjs/src/components/pagination/Pagination.js +6 -20
- package/dist/cjs/src/components/progress-bar/ProgressBar.js +89 -20
- package/dist/cjs/src/components/progress-bar/components/SegmentBar.js +25 -0
- package/dist/cjs/src/components/progress-bar/components/SegmentLabels.js +74 -0
- package/dist/cjs/src/components/progress-bar/hooks/useProgressBar.js +119 -0
- package/dist/cjs/src/components/progress-bar/index.js +11 -0
- package/dist/cjs/src/components/progress-bar/types.js +5 -0
- package/dist/cjs/src/components/progress-bar/utils.js +31 -0
- package/dist/cjs/src/components/radio/Radio.js +5 -6
- package/dist/cjs/src/components/select/Select.js +7 -4
- package/dist/cjs/src/components/select-dropdown/SelectDropdown.js +146 -0
- package/dist/cjs/src/components/select-dropdown/index.js +12 -0
- package/dist/cjs/src/components/selectbox/SelectBox.js +283 -0
- package/dist/cjs/src/components/selectbox/index.js +12 -0
- package/dist/cjs/src/components/shared/hintText/HintText.js +1 -1
- package/dist/cjs/src/components/switch/Switch.js +123 -0
- package/dist/cjs/src/components/switch/index.js +12 -0
- package/dist/cjs/src/components/tab/HorizontalTab.js +8 -20
- package/dist/cjs/src/components/tab/TabButton.js +33 -16
- package/dist/cjs/src/components/tab/VerticalTab.js +15 -30
- package/dist/cjs/src/components/tag/Tag.js +92 -3
- package/dist/cjs/src/components/tooltip/Tooltip.js +138 -30
- package/dist/cjs/src/hooks/dropdown/index.js +47 -0
- package/dist/cjs/src/hooks/dropdown/useDropdown.js +109 -0
- package/dist/cjs/src/hooks/dropdown/useDropdownKeyboard.js +131 -0
- package/dist/cjs/src/hooks/dropdown/useDropdownPosition.js +27 -0
- package/dist/cjs/src/hooks/dropdown/useOutsideClick.js +33 -0
- package/dist/cjs/src/hooks/dropdown/useScrollLock.js +78 -0
- package/dist/cjs/src/hooks/dropdown/useWindowResize.js +52 -0
- package/dist/cjs/src/hooks/index.js +18 -1
- package/dist/cjs/src/types/dropdown/dropdown.js +5 -0
- package/dist/cjs/src/types/dropdown/index.js +27 -0
- package/dist/cjs/src/types/dropdown/option.js +5 -0
- package/dist/cjs/src/types/index.js +16 -0
- package/dist/cjs/src/utils/date-picker.js +37 -1
- package/dist/cjs/src/utils/dropdown/dropdownUtils.js +107 -0
- package/dist/cjs/src/utils/dropdown/index.js +27 -0
- package/dist/cjs/src/utils/dropdown/multiSelect.js +100 -0
- package/dist/cjs/src/utils/index.js +27 -0
- package/dist/esm/assets/scripts/comboBox.js +275 -0
- package/dist/esm/assets/scripts/datePicker.js +228 -59
- package/dist/esm/assets/scripts/featuredIcon.js +90 -0
- package/dist/esm/assets/scripts/fileInput/FileInput.js +178 -0
- package/dist/esm/assets/scripts/fileInput/FileInputModel.js +241 -0
- package/dist/esm/assets/scripts/fileInput/FileInputView.js +450 -0
- package/dist/esm/assets/scripts/fileInput/const/classNames.js +25 -0
- package/dist/esm/assets/scripts/fileInput/const/index.js +2 -0
- package/dist/esm/assets/scripts/fileInput/const/types.js +7 -0
- package/dist/esm/assets/scripts/fileInput/index.js +9 -0
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInput.js +182 -0
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputModel.js +250 -0
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +349 -0
- package/dist/esm/assets/scripts/imageFileInput/const/classNames.js +30 -0
- package/dist/esm/assets/scripts/imageFileInput/const/index.js +2 -0
- package/dist/esm/assets/scripts/imageFileInput/const/types.js +7 -0
- package/dist/esm/assets/scripts/imageFileInput/index.js +9 -0
- package/dist/esm/assets/scripts/index.js +21 -1
- package/dist/esm/assets/scripts/modal/Modal.js +110 -0
- package/dist/esm/assets/scripts/modal/ModalActions.js +123 -0
- package/dist/esm/assets/scripts/modal/ModalContent.js +41 -0
- package/dist/esm/assets/scripts/modal/ModalHeader.js +110 -0
- package/dist/esm/assets/scripts/modal/const/classNames.js +31 -0
- package/dist/esm/assets/scripts/modal/const/index.js +2 -0
- package/dist/esm/assets/scripts/modal/const/types.js +1 -0
- package/dist/esm/assets/scripts/modal/index.js +15 -0
- package/dist/esm/assets/scripts/modal/utils/contentUtils.js +28 -0
- package/dist/esm/assets/scripts/notification/FloatingNotification.js +176 -0
- package/dist/esm/assets/scripts/notification/FullWidthNotification.js +115 -0
- package/dist/esm/assets/scripts/notification/MessageNotification.js +141 -0
- package/dist/esm/assets/scripts/notification/Notification.js +111 -0
- package/dist/esm/assets/scripts/notification/const/classNames.js +44 -0
- package/dist/esm/assets/scripts/notification/const/icons.js +39 -0
- package/dist/esm/assets/scripts/notification/const/index.js +4 -0
- package/dist/esm/assets/scripts/notification/const/sizes.js +48 -0
- package/dist/esm/assets/scripts/notification/const/types.js +8 -0
- package/dist/esm/assets/scripts/notification/index.js +11 -0
- package/dist/esm/assets/scripts/notification/utils.js +79 -0
- package/dist/esm/assets/scripts/progress-bar/ProgressBar.js +267 -0
- package/dist/esm/assets/scripts/progress-bar/index.js +1 -0
- package/dist/esm/assets/scripts/selectBox.js +314 -0
- package/dist/esm/assets/scripts/shared/ButtonCloseX.js +38 -0
- package/dist/esm/assets/scripts/tag/Tag.js +263 -0
- package/dist/esm/assets/scripts/tag/const/classNames.js +16 -0
- package/dist/esm/assets/scripts/tag/const/index.js +3 -0
- package/dist/esm/assets/scripts/tag/const/sizes.js +7 -0
- package/dist/esm/assets/scripts/tag/const/types.js +1 -0
- package/dist/esm/assets/scripts/tag/index.js +9 -0
- package/dist/esm/assets/scripts/tooltip/Tooltip.js +375 -0
- package/dist/esm/assets/scripts/tooltip/TooltipLayerManager.js +79 -0
- package/dist/esm/assets/scripts/tooltip/const/classNames.js +23 -0
- package/dist/esm/assets/scripts/tooltip/const/constants.js +50 -0
- package/dist/esm/assets/scripts/tooltip/const/icons.js +9 -0
- package/dist/esm/assets/scripts/tooltip/const/index.js +4 -0
- package/dist/esm/assets/scripts/tooltip/const/templates.js +42 -0
- package/dist/esm/assets/scripts/tooltip/const/types.js +1 -0
- package/dist/esm/assets/scripts/tooltip/index.js +10 -0
- package/dist/esm/assets/scripts/tooltip/utils.js +35 -0
- package/dist/esm/assets/scripts/utils/selectbox/DOMRenderer.js +379 -0
- package/dist/esm/assets/scripts/utils/selectbox/DropdownModel.js +363 -0
- package/dist/esm/assets/scripts/utils/selectbox/SelectBoxController.js +676 -0
- package/dist/esm/assets/scripts/utils/selectbox/UnifiedSelectBox.js +706 -0
- package/dist/esm/constant/color.js +2 -0
- package/dist/esm/src/components/button/Button.js +10 -36
- package/dist/esm/src/components/button/ButtonGroup.js +9 -10
- package/dist/esm/src/components/button/ButtonStepper.js +14 -0
- package/dist/esm/src/components/button/index.js +3 -1
- package/dist/esm/src/components/checkbox/Checkbox.js +21 -19
- package/dist/esm/src/components/checkbox/CheckboxInput.js +24 -47
- package/dist/esm/src/components/combobox/ComboBox.js +330 -0
- package/dist/esm/src/components/combobox/index.js +1 -0
- package/dist/esm/src/components/date-picker/CustomInput.js +45 -0
- package/dist/esm/src/components/date-picker/DatePicker.js +127 -25
- package/dist/esm/src/components/date-picker/RangeDatePicker.js +3 -1
- package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +7 -3
- package/dist/esm/src/components/{input → file-upload}/FileInput.js +17 -9
- package/dist/esm/src/components/file-upload/index.js +1 -0
- package/dist/esm/src/components/image-file-input/ImageFileInput.js +256 -0
- package/dist/esm/src/components/image-file-input/components/ImagePreview.js +37 -0
- package/dist/esm/src/components/image-file-input/index.js +1 -0
- package/dist/esm/src/components/index.js +4 -0
- package/dist/esm/src/components/input/InputBase.js +55 -11
- package/dist/esm/src/components/input/NumberInput.js +124 -0
- package/dist/esm/src/components/input/Textarea.js +12 -20
- package/dist/esm/src/components/input/index.js +2 -2
- package/dist/esm/src/components/modal/Modal.js +7 -3
- package/dist/esm/src/components/notification/FloatingNotification.js +35 -4
- package/dist/esm/src/components/notification/FullWidthNotification.js +55 -6
- package/dist/esm/src/components/notification/MessageNotification.js +130 -0
- package/dist/esm/src/components/notification/Notification.js +23 -9
- package/dist/esm/src/components/notification/index.js +2 -1
- package/dist/esm/src/components/pagination/NavButton.js +1 -13
- package/dist/esm/src/components/pagination/Pagination.js +6 -20
- package/dist/esm/src/components/progress-bar/ProgressBar.js +89 -20
- package/dist/esm/src/components/progress-bar/components/SegmentBar.js +18 -0
- package/dist/esm/src/components/progress-bar/components/SegmentLabels.js +66 -0
- package/dist/esm/src/components/progress-bar/hooks/useProgressBar.js +112 -0
- package/dist/esm/src/components/progress-bar/index.js +2 -1
- package/dist/esm/src/components/progress-bar/types.js +1 -0
- package/dist/esm/src/components/progress-bar/utils.js +22 -0
- package/dist/esm/src/components/radio/Radio.js +5 -5
- package/dist/esm/src/components/select/Select.js +7 -4
- package/dist/esm/src/components/select-dropdown/SelectDropdown.js +139 -0
- package/dist/esm/src/components/select-dropdown/index.js +1 -0
- package/dist/esm/src/components/selectbox/SelectBox.js +276 -0
- package/dist/esm/src/components/selectbox/index.js +1 -0
- package/dist/esm/src/components/shared/hintText/HintText.js +1 -1
- package/dist/esm/src/components/switch/Switch.js +116 -0
- package/dist/esm/src/components/switch/index.js +1 -0
- package/dist/esm/src/components/tab/HorizontalTab.js +7 -19
- package/dist/esm/src/components/tab/TabButton.js +34 -17
- package/dist/esm/src/components/tab/VerticalTab.js +15 -30
- package/dist/esm/src/components/tag/Tag.js +92 -3
- package/dist/esm/src/components/tooltip/Tooltip.js +139 -31
- package/dist/esm/src/hooks/dropdown/index.js +6 -0
- package/dist/esm/src/hooks/dropdown/useDropdown.js +102 -0
- package/dist/esm/src/hooks/dropdown/useDropdownKeyboard.js +124 -0
- package/dist/esm/src/hooks/dropdown/useDropdownPosition.js +20 -0
- package/dist/esm/src/hooks/dropdown/useOutsideClick.js +26 -0
- package/dist/esm/src/hooks/dropdown/useScrollLock.js +71 -0
- package/dist/esm/src/hooks/dropdown/useWindowResize.js +45 -0
- package/dist/esm/src/hooks/index.js +4 -1
- package/dist/esm/src/types/dropdown/dropdown.js +1 -0
- package/dist/esm/src/types/dropdown/index.js +2 -0
- package/dist/esm/src/types/dropdown/option.js +1 -0
- package/dist/esm/src/types/index.js +2 -0
- package/dist/esm/src/utils/date-picker.js +33 -1
- package/dist/esm/src/utils/dropdown/dropdownUtils.js +97 -0
- package/dist/esm/src/utils/dropdown/index.js +2 -0
- package/dist/esm/src/utils/dropdown/multiSelect.js +88 -0
- package/dist/esm/src/utils/index.js +4 -0
- package/dist/types/assets/scripts/comboBox.d.ts +91 -0
- package/dist/types/assets/scripts/datePicker.d.ts +17 -13
- package/dist/types/assets/scripts/featuredIcon.d.ts +23 -0
- package/dist/types/assets/scripts/fileInput/FileInput.d.ts +67 -0
- package/dist/types/assets/scripts/fileInput/FileInputModel.d.ts +70 -0
- package/dist/types/assets/scripts/fileInput/FileInputView.d.ts +77 -0
- package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +17 -0
- package/dist/types/assets/scripts/fileInput/const/index.d.ts +3 -0
- package/dist/types/assets/scripts/fileInput/const/types.d.ts +132 -0
- package/dist/types/assets/scripts/fileInput/index.d.ts +4 -0
- package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +64 -0
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +74 -0
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +80 -0
- package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +20 -0
- package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +3 -0
- package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +126 -0
- package/dist/types/assets/scripts/imageFileInput/index.d.ts +4 -0
- package/dist/types/assets/scripts/index.d.ts +28 -2
- package/dist/types/assets/scripts/modal/Modal.d.ts +28 -0
- package/dist/types/assets/scripts/modal/ModalActions.d.ts +19 -0
- package/dist/types/assets/scripts/modal/ModalContent.d.ts +14 -0
- package/dist/types/assets/scripts/modal/ModalHeader.d.ts +16 -0
- package/dist/types/assets/scripts/modal/const/classNames.d.ts +23 -0
- package/dist/types/assets/scripts/modal/const/index.d.ts +3 -0
- package/dist/types/assets/scripts/modal/const/types.d.ts +62 -0
- package/dist/types/assets/scripts/modal/index.d.ts +8 -0
- package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +11 -0
- package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +25 -0
- package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +22 -0
- package/dist/types/assets/scripts/notification/MessageNotification.d.ts +23 -0
- package/dist/types/assets/scripts/notification/Notification.d.ts +22 -0
- package/dist/types/assets/scripts/notification/const/classNames.d.ts +44 -0
- package/dist/types/assets/scripts/notification/const/icons.d.ts +26 -0
- package/dist/types/assets/scripts/notification/const/index.d.ts +6 -0
- package/dist/types/assets/scripts/notification/const/sizes.d.ts +33 -0
- package/dist/types/assets/scripts/notification/const/types.d.ts +20 -0
- package/dist/types/assets/scripts/notification/index.d.ts +8 -0
- package/dist/types/assets/scripts/notification/utils.d.ts +9 -0
- package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +68 -0
- package/dist/types/assets/scripts/progress-bar/index.d.ts +2 -0
- package/dist/types/assets/scripts/selectBox.d.ts +77 -0
- package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +6 -0
- package/dist/types/assets/scripts/tag/Tag.d.ts +28 -0
- package/dist/types/assets/scripts/tag/const/classNames.d.ts +12 -0
- package/dist/types/assets/scripts/tag/const/index.d.ts +4 -0
- package/dist/types/assets/scripts/tag/const/sizes.d.ts +8 -0
- package/dist/types/assets/scripts/tag/const/types.d.ts +34 -0
- package/dist/types/assets/scripts/tag/index.d.ts +4 -0
- package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +55 -0
- package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +22 -0
- package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +18 -0
- package/dist/types/assets/scripts/tooltip/const/constants.d.ts +34 -0
- package/dist/types/assets/scripts/tooltip/const/icons.d.ts +5 -0
- package/dist/types/assets/scripts/tooltip/const/index.d.ts +6 -0
- package/dist/types/assets/scripts/tooltip/const/templates.d.ts +17 -0
- package/dist/types/assets/scripts/tooltip/const/types.d.ts +15 -0
- package/dist/types/assets/scripts/tooltip/index.d.ts +7 -0
- package/dist/types/assets/scripts/tooltip/utils.d.ts +3 -0
- package/dist/types/assets/scripts/utils/selectbox/DOMRenderer.d.ts +108 -0
- package/dist/types/assets/scripts/utils/selectbox/DropdownModel.d.ts +158 -0
- package/dist/types/assets/scripts/utils/selectbox/SelectBoxController.d.ts +171 -0
- package/dist/types/assets/scripts/utils/selectbox/UnifiedSelectBox.d.ts +99 -0
- package/dist/types/constant/color.d.ts +3 -1
- package/dist/types/src/components/button/Button.d.ts +14 -12
- package/dist/types/src/components/button/ButtonGroup.d.ts +4 -289
- package/dist/types/src/components/button/ButtonStepper.d.ts +10 -0
- package/dist/types/src/components/button/index.d.ts +2 -0
- package/dist/types/src/components/checkbox/Checkbox.d.ts +2 -3
- package/dist/types/src/components/combobox/ComboBox.d.ts +28 -0
- package/dist/types/src/components/combobox/index.d.ts +3 -0
- package/dist/types/src/components/date-picker/CustomInput.d.ts +12 -0
- package/dist/types/src/components/date-picker/DatePicker.d.ts +3 -0
- package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +4 -4
- package/dist/types/src/components/{input → file-upload}/FileInput.d.ts +1 -1
- package/dist/types/src/components/file-upload/index.d.ts +2 -0
- package/dist/types/src/components/image-file-input/ImageFileInput.d.ts +78 -0
- package/dist/types/src/components/image-file-input/components/ImagePreview.d.ts +6 -0
- package/dist/types/src/components/image-file-input/index.d.ts +2 -0
- package/dist/types/src/components/index.d.ts +4 -0
- package/dist/types/src/components/input/InputBase.d.ts +2 -0
- package/dist/types/src/components/input/NumberInput.d.ts +10 -0
- package/dist/types/src/components/input/index.d.ts +1 -1
- package/dist/types/src/components/modal/Modal.d.ts +3 -2
- package/dist/types/src/components/notification/FloatingNotification.d.ts +5 -0
- package/dist/types/src/components/notification/FullWidthNotification.d.ts +15 -1
- package/dist/types/src/components/notification/MessageNotification.d.ts +40 -0
- package/dist/types/src/components/notification/Notification.d.ts +14 -3
- package/dist/types/src/components/notification/index.d.ts +1 -0
- package/dist/types/src/components/pagination/NavButton.d.ts +1 -4
- package/dist/types/src/components/pagination/Pagination.d.ts +2 -13
- package/dist/types/src/components/progress-bar/ProgressBar.d.ts +2 -6
- package/dist/types/src/components/progress-bar/components/SegmentBar.d.ts +8 -0
- package/dist/types/src/components/progress-bar/components/SegmentLabels.d.ts +16 -0
- package/dist/types/src/components/progress-bar/hooks/useProgressBar.d.ts +14 -0
- package/dist/types/src/components/progress-bar/index.d.ts +1 -0
- package/dist/types/src/components/progress-bar/types.d.ts +16 -0
- package/dist/types/src/components/progress-bar/utils.d.ts +13 -0
- package/dist/types/src/components/radio/Radio.d.ts +2 -3
- package/dist/types/src/components/select/Select.d.ts +1 -4
- package/dist/types/src/components/select-dropdown/SelectDropdown.d.ts +28 -0
- package/dist/types/src/components/select-dropdown/index.d.ts +2 -0
- package/dist/types/src/components/selectbox/SelectBox.d.ts +25 -0
- package/dist/types/src/components/selectbox/index.d.ts +2 -0
- package/dist/types/src/components/switch/Switch.d.ts +22 -0
- package/dist/types/src/components/switch/index.d.ts +3 -0
- package/dist/types/src/components/tab/HorizontalTab.d.ts +1 -2
- package/dist/types/src/components/tab/TabButton.d.ts +9 -12
- package/dist/types/src/components/tab/VerticalTab.d.ts +2 -2
- package/dist/types/src/components/tag/Tag.d.ts +3 -1
- package/dist/types/src/components/tooltip/Tooltip.d.ts +7 -3
- package/dist/types/src/hooks/dropdown/index.d.ts +7 -0
- package/dist/types/src/hooks/dropdown/useDropdown.d.ts +30 -0
- package/dist/types/src/hooks/dropdown/useDropdownKeyboard.d.ts +11 -0
- package/dist/types/src/hooks/dropdown/useDropdownPosition.d.ts +10 -0
- package/dist/types/src/hooks/dropdown/useOutsideClick.d.ts +6 -0
- package/dist/types/src/hooks/dropdown/useScrollLock.d.ts +5 -0
- package/dist/types/src/hooks/dropdown/useWindowResize.d.ts +8 -0
- package/dist/types/src/hooks/index.d.ts +2 -1
- package/dist/types/src/types/dropdown/dropdown.d.ts +40 -0
- package/dist/types/src/types/dropdown/index.d.ts +3 -0
- package/dist/types/src/types/dropdown/option.d.ts +20 -0
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/utils/date-picker.d.ts +3 -0
- package/dist/types/src/utils/dropdown/dropdownUtils.d.ts +18 -0
- package/dist/types/src/utils/dropdown/index.d.ts +3 -0
- package/dist/types/src/utils/dropdown/multiSelect.d.ts +32 -0
- package/dist/types/src/utils/index.d.ts +3 -0
- package/dist/ui-admin/assets/styles/style.css +2065 -397
- package/package.json +8 -4
|
@@ -51,6 +51,14 @@
|
|
|
51
51
|
--orange-500: #e4501e;
|
|
52
52
|
--orange-600: #b93815;
|
|
53
53
|
--orange-700: #772917;
|
|
54
|
+
--violet-50: #fbfaff;
|
|
55
|
+
--violet-100: #ece9fe;
|
|
56
|
+
--violet-200: #ddd6fe;
|
|
57
|
+
--violet-300: #c3b5fd;
|
|
58
|
+
--violet-400: #a48afb;
|
|
59
|
+
--violet-500: #6927da;
|
|
60
|
+
--violet-600: #5720b7;
|
|
61
|
+
--violet-700: #491c96;
|
|
54
62
|
--focus-ring-4px-primary-100: 0px 0px 0px 3px #ffeaee;
|
|
55
63
|
--focus-ring-4px-gray-100: 0px 0px 0px 3px #f2f4f7;
|
|
56
64
|
--focus-ring-4px-error-100: 0px 0px 0px 3px #fee4e2;
|
|
@@ -69,7 +77,21 @@
|
|
|
69
77
|
--shadow-xl: 0px 20px 24px -4px #10182814, 0px 8px 8px -4px #10182808;
|
|
70
78
|
--shadow-2xl: 0px 24px 48px -12px #1018282e;
|
|
71
79
|
--shadow-3xl: 0px 32px 64px -12px #10182824;
|
|
72
|
-
--
|
|
80
|
+
--shadow-tooltip: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 0px 1px 0px rgba(0, 0, 0, 0.5),
|
|
81
|
+
0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
82
|
+
--spacing-xxs: 3px;
|
|
83
|
+
--spacing-xs: 4px;
|
|
84
|
+
--spacing-sm: 6px;
|
|
85
|
+
--spacing-md: 8px;
|
|
86
|
+
--spacing-lg: 12px;
|
|
87
|
+
--spacing-xl: 16px;
|
|
88
|
+
--border-radius-xxs: 3px;
|
|
89
|
+
--border-radius-xs: 4px;
|
|
90
|
+
--border-radius-sm: 6px;
|
|
91
|
+
--border-radius-md: 8px;
|
|
92
|
+
--border-radius-lg: 12px;
|
|
93
|
+
--max-width-tooltip: 400px;
|
|
94
|
+
--font-families-commerce-sans: CommerceSans;
|
|
73
95
|
--line-heights-display-xl: 76px;
|
|
74
96
|
--line-heights-display-lg: 60px;
|
|
75
97
|
--line-heights-display-md: 46px;
|
|
@@ -283,25 +305,25 @@ button {
|
|
|
283
305
|
}
|
|
284
306
|
.ncua-btn--secondary {
|
|
285
307
|
box-shadow: var(--shadow-xs);
|
|
286
|
-
background-color: var(--
|
|
287
|
-
border: 1px solid var(--
|
|
288
|
-
color: var(--
|
|
308
|
+
background-color: var(--gray-500);
|
|
309
|
+
border: 1px solid var(--gray-600);
|
|
310
|
+
color: var(--base-white);
|
|
289
311
|
}
|
|
290
312
|
.ncua-btn--secondary:hover:not([disabled], .is-disable) {
|
|
291
|
-
background-color: var(--
|
|
292
|
-
border: 1px solid var(--
|
|
293
|
-
color: var(--
|
|
313
|
+
background-color: var(--gray-600);
|
|
314
|
+
border: 1px solid var(--gray-700);
|
|
315
|
+
color: var(--base-white);
|
|
294
316
|
}
|
|
295
317
|
.ncua-btn--secondary:focus:not([disabled], .is-disabled) {
|
|
296
|
-
background-color: var(--
|
|
297
|
-
border: 1px solid var(--
|
|
298
|
-
color: var(--
|
|
299
|
-
box-shadow: var(--shadow-xs-focused-
|
|
318
|
+
background-color: var(--gray-500);
|
|
319
|
+
border: 1px solid var(--gray-600);
|
|
320
|
+
color: var(--base-white);
|
|
321
|
+
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
300
322
|
}
|
|
301
323
|
.ncua-btn--secondary:disabled, .ncua-btn--secondary.is-disable {
|
|
302
|
-
background-color: var(--
|
|
303
|
-
border: 1px solid var(--
|
|
304
|
-
color: var(--
|
|
324
|
+
background-color: var(--gray-100);
|
|
325
|
+
border: 1px solid var(--gray-200);
|
|
326
|
+
color: var(--gray-200);
|
|
305
327
|
cursor: default;
|
|
306
328
|
}
|
|
307
329
|
.ncua-btn--secondary-gray {
|
|
@@ -331,6 +353,7 @@ button {
|
|
|
331
353
|
color: var(--blue-500);
|
|
332
354
|
}
|
|
333
355
|
.ncua-btn--tertiary:hover:not([disabled], .is-disable) {
|
|
356
|
+
background-color: var(--blue-100);
|
|
334
357
|
color: var(--blue-600);
|
|
335
358
|
}
|
|
336
359
|
.ncua-btn--tertiary:disabled, .ncua-btn--tertiary.is-disable {
|
|
@@ -341,53 +364,64 @@ button {
|
|
|
341
364
|
color: var(--gray-700);
|
|
342
365
|
}
|
|
343
366
|
.ncua-btn--tertiary-gray:hover:not([disabled], .is-disable) {
|
|
367
|
+
background-color: var(--gray-100);
|
|
344
368
|
color: var(--gray-700);
|
|
345
369
|
}
|
|
346
370
|
.ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
|
|
347
371
|
color: var(--gray-200);
|
|
348
372
|
cursor: default;
|
|
349
373
|
}
|
|
350
|
-
.ncua-btn--
|
|
374
|
+
.ncua-btn--text {
|
|
351
375
|
color: var(--blue-500);
|
|
352
376
|
}
|
|
353
|
-
.ncua-btn--
|
|
377
|
+
.ncua-btn--text:hover:not([disabled], .is-disable) {
|
|
354
378
|
color: var(--blue-600);
|
|
355
379
|
}
|
|
356
|
-
.ncua-btn--
|
|
380
|
+
.ncua-btn--text:disabled, .ncua-btn--text.is-disable {
|
|
357
381
|
color: var(--gray-200);
|
|
358
382
|
cursor: default;
|
|
359
383
|
}
|
|
360
|
-
.ncua-btn--
|
|
384
|
+
.ncua-btn--text-gray {
|
|
361
385
|
color: var(--gray-500);
|
|
362
386
|
}
|
|
363
|
-
.ncua-btn--
|
|
387
|
+
.ncua-btn--text-gray:hover:not([disabled], .is-disable) {
|
|
364
388
|
color: var(--gray-700);
|
|
365
389
|
}
|
|
366
|
-
.ncua-btn--
|
|
390
|
+
.ncua-btn--text-gray:disabled, .ncua-btn--text-gray.is-disable {
|
|
391
|
+
color: var(--gray-200);
|
|
392
|
+
cursor: default;
|
|
393
|
+
}
|
|
394
|
+
.ncua-btn--text-red {
|
|
395
|
+
color: var(--primary-red-600);
|
|
396
|
+
}
|
|
397
|
+
.ncua-btn--text-red:hover:not([disabled], .is-disable) {
|
|
398
|
+
color: var(--primary-red-700);
|
|
399
|
+
}
|
|
400
|
+
.ncua-btn--text-red:disabled, .ncua-btn--text-red.is-disable {
|
|
367
401
|
color: var(--gray-200);
|
|
368
402
|
cursor: default;
|
|
369
403
|
}
|
|
370
404
|
.ncua-btn--destructive {
|
|
371
405
|
box-shadow: var(--shadow-xs);
|
|
372
|
-
background-color: var(--
|
|
406
|
+
background-color: var(--base-white);
|
|
373
407
|
border: 1px solid var(--primary-red-600);
|
|
374
|
-
color: var(--
|
|
408
|
+
color: var(--primary-red-600);
|
|
375
409
|
}
|
|
376
410
|
.ncua-btn--destructive:hover:not([disabled], .is-disable) {
|
|
377
|
-
background-color: var(--primary-red-
|
|
411
|
+
background-color: var(--primary-red-100);
|
|
378
412
|
border: 1px solid var(--primary-red-700);
|
|
379
|
-
color: var(--
|
|
413
|
+
color: var(--primary-red-700);
|
|
380
414
|
}
|
|
381
415
|
.ncua-btn--destructive:focus:not([disabled], .is-disabled) {
|
|
382
|
-
background-color: var(--
|
|
416
|
+
background-color: var(--base-white);
|
|
383
417
|
border: 1px solid var(--primary-red-600);
|
|
384
|
-
color: var(--
|
|
385
|
-
box-shadow: var(--shadow-xs-focused-
|
|
418
|
+
color: var(--primary-red-600);
|
|
419
|
+
box-shadow: var(--shadow-xs-focused-3px-error-100);
|
|
386
420
|
}
|
|
387
421
|
.ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
|
|
388
|
-
background-color: var(--
|
|
389
|
-
border: 1px solid var(--primary-red-
|
|
390
|
-
color: var(--primary-red-
|
|
422
|
+
background-color: var(--base-white);
|
|
423
|
+
border: 1px solid var(--primary-red-200);
|
|
424
|
+
color: var(--primary-red-200);
|
|
391
425
|
cursor: default;
|
|
392
426
|
}
|
|
393
427
|
.ncua-btn--xxs {
|
|
@@ -463,7 +497,7 @@ button {
|
|
|
463
497
|
z-index: 0;
|
|
464
498
|
}
|
|
465
499
|
|
|
466
|
-
[class*=ncua-btn--
|
|
500
|
+
[class*=ncua-btn--text] {
|
|
467
501
|
padding: 0;
|
|
468
502
|
height: auto !important;
|
|
469
503
|
background-color: transparent !important;
|
|
@@ -518,25 +552,13 @@ button {
|
|
|
518
552
|
line-height: var(--line-heights-xs);
|
|
519
553
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
520
554
|
}
|
|
521
|
-
.ncua-button-group__item
|
|
522
|
-
text-decoration: none;
|
|
523
|
-
}
|
|
524
|
-
.ncua-button-group__item[href]:hover {
|
|
525
|
-
text-decoration: none;
|
|
526
|
-
}
|
|
527
|
-
.ncua-button-group__item:first-child {
|
|
555
|
+
:where(.ncua-button-group__item):first-child {
|
|
528
556
|
padding-left: 0;
|
|
529
557
|
}
|
|
530
|
-
.ncua-button-group__item:last-child {
|
|
558
|
+
:where(.ncua-button-group__item):last-child {
|
|
531
559
|
padding-right: 0;
|
|
532
560
|
}
|
|
533
|
-
.ncua-button-group__item
|
|
534
|
-
color: var(--gray-600);
|
|
535
|
-
}
|
|
536
|
-
.ncua-button-group__item:disabled, .ncua-button-group__item:disabled:hover, .ncua-button-group__item:disabled:focus, .ncua-button-group__item.is-disabled, .ncua-button-group__item.is-disabled:hover, .ncua-button-group__item.is-disabled:focus {
|
|
537
|
-
color: var(--gray-200);
|
|
538
|
-
}
|
|
539
|
-
.ncua-button-group__item + .ncua-button-group__item::after {
|
|
561
|
+
:where(.ncua-button-group__item + .ncua-button-group__item)::after {
|
|
540
562
|
content: "";
|
|
541
563
|
position: absolute;
|
|
542
564
|
left: 0;
|
|
@@ -546,92 +568,146 @@ button {
|
|
|
546
568
|
height: 12px;
|
|
547
569
|
background-color: var(--gray-200);
|
|
548
570
|
}
|
|
549
|
-
.ncua-button-group__item:where(.
|
|
550
|
-
|
|
571
|
+
:where(.ncua-button-group__item).is-current, :where(.ncua-button-group__item):hover {
|
|
572
|
+
color: var(--gray-600);
|
|
551
573
|
}
|
|
552
|
-
:where(.ncua-button-
|
|
553
|
-
|
|
574
|
+
:is(:where(.ncua-button-group__item):disabled, :where(.ncua-button-group__item:disabled):hover, :where(.ncua-button-group__item:disabled):focus) {
|
|
575
|
+
color: var(--gray-200);
|
|
576
|
+
background-color: var(--gray-50);
|
|
554
577
|
}
|
|
555
|
-
|
|
556
|
-
.ncua-button-group--xxs .ncua-button-group__item {
|
|
578
|
+
:where(.ncua-button-group--xxs) .ncua-button-group__item {
|
|
557
579
|
padding: 4px 12px;
|
|
558
580
|
font-size: var(--font-size-xxxs);
|
|
559
581
|
line-height: var(--line-heights-xxxs);
|
|
560
582
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
561
583
|
}
|
|
562
|
-
:where(.ncua-button-group--xxs .ncua-button-group__item.is-current, .ncua-button-group--xxs .ncua-button-group__item:hover, .ncua-button-group--xxs .ncua-button-group__item:focus) {
|
|
563
|
-
font-weight: var(--font-weights-commerce-sans-1);
|
|
564
|
-
}
|
|
565
|
-
.ncua-button-group--xxs .ncua-button-group__item:where(.is-only-icon) {
|
|
566
|
-
padding: 6px;
|
|
567
|
-
}
|
|
568
|
-
:where(.ncua-button-group--xxs.has-border) {
|
|
569
|
-
border-radius: 4px;
|
|
570
|
-
}
|
|
571
584
|
|
|
572
|
-
.ncua-button-group--xs .ncua-button-group__item {
|
|
585
|
+
:where(.ncua-button-group--xs) .ncua-button-group__item {
|
|
573
586
|
padding: 4px 16px;
|
|
574
587
|
font-size: var(--font-size-xs);
|
|
575
588
|
line-height: var(--line-heights-xs);
|
|
576
589
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
577
590
|
}
|
|
578
|
-
:where(.ncua-button-group--xs .ncua-button-group__item.is-current, .ncua-button-group--xs .ncua-button-group__item:hover, .ncua-button-group--xs .ncua-button-group__item:focus) {
|
|
579
|
-
font-weight: var(--font-weights-commerce-sans-1);
|
|
580
|
-
}
|
|
581
|
-
.ncua-button-group--xs .ncua-button-group__item:where(.is-only-icon) {
|
|
582
|
-
padding: 6px;
|
|
583
|
-
}
|
|
584
|
-
:where(.ncua-button-group--xs.has-border) {
|
|
585
|
-
border-radius: 6px;
|
|
586
|
-
}
|
|
587
591
|
|
|
588
|
-
.ncua-button-group--sm .ncua-button-group__item {
|
|
592
|
+
:where(.ncua-button-group--sm) .ncua-button-group__item {
|
|
589
593
|
padding: 6px 16px;
|
|
590
594
|
font-size: var(--font-size-sm);
|
|
591
595
|
line-height: var(--line-heights-sm);
|
|
592
596
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
593
597
|
}
|
|
594
|
-
:where(.ncua-button-group--sm .ncua-button-group__item.is-current, .ncua-button-group--sm .ncua-button-group__item:hover, .ncua-button-group--sm .ncua-button-group__item:focus) {
|
|
595
|
-
font-weight: var(--font-weights-commerce-sans-1);
|
|
596
|
-
}
|
|
597
|
-
.ncua-button-group--sm .ncua-button-group__item:where(.is-only-icon) {
|
|
598
|
-
padding: 10px;
|
|
599
|
-
}
|
|
600
|
-
:where(.ncua-button-group--sm.has-border) {
|
|
601
|
-
border-radius: 6px;
|
|
602
|
-
}
|
|
603
598
|
|
|
604
|
-
.ncua-button-group--md .ncua-button-group__item {
|
|
599
|
+
:where(.ncua-button-group--md) .ncua-button-group__item {
|
|
605
600
|
padding: 8px 16px;
|
|
606
601
|
font-size: var(--font-size-sm);
|
|
607
602
|
line-height: var(--line-heights-sm);
|
|
608
603
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
609
604
|
}
|
|
610
|
-
|
|
611
|
-
|
|
605
|
+
|
|
606
|
+
:where(.ncua-button-group--xxs:has(.is-only-icon), .ncua-button-group--xs:has(.is-only-icon)) .ncua-button-group__item {
|
|
607
|
+
padding: 6px;
|
|
612
608
|
}
|
|
613
|
-
|
|
609
|
+
|
|
610
|
+
:where(.ncua-button-group--sm:has(.is-only-icon), .ncua-button-group--md:has(.is-only-icon)) .ncua-button-group__item {
|
|
614
611
|
padding: 10px;
|
|
615
612
|
}
|
|
616
|
-
:where(.ncua-button-group--md.has-border) {
|
|
617
|
-
border-radius: 8px;
|
|
618
|
-
}
|
|
619
613
|
|
|
620
614
|
:where(.ncua-button-group.has-border) {
|
|
621
615
|
box-shadow: var(--shadow-xs);
|
|
616
|
+
}
|
|
617
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item {
|
|
622
618
|
border: 1px solid var(--gray-200);
|
|
623
619
|
}
|
|
624
|
-
:where(.ncua-button-group.has-border) .ncua-button-group__item
|
|
620
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item svg {
|
|
621
|
+
display: block;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
:where(.ncua-button-group.has-border .ncua-button-group__item + .ncua-button-group__item)::after {
|
|
625
625
|
content: none;
|
|
626
626
|
}
|
|
627
|
-
|
|
628
|
-
|
|
627
|
+
|
|
628
|
+
:where(.ncua-button-group.has-border .ncua-button-group__item):not(:last-child) {
|
|
629
|
+
border-width: 1px 0 1px 1px;
|
|
629
630
|
}
|
|
630
|
-
|
|
631
|
-
|
|
631
|
+
|
|
632
|
+
:where(.ncua-button-group.has-border .ncua-button-group__item):hover {
|
|
633
|
+
background: var(--gray-50);
|
|
632
634
|
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
+
|
|
636
|
+
:where(.ncua-button-group.has-border:has(.is-current)) .ncua-button-group__item {
|
|
637
|
+
background: var(--gray-50);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
:where(.ncua-button-group.has-border:has(.is-current)) svg {
|
|
641
|
+
color: inherit;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
:where(.ncua-button-group.has-border) .is-current {
|
|
645
|
+
background: var(--base-white);
|
|
646
|
+
border-color: var(--gray-300);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
:where(.ncua-button-group.has-border .is-current) svg, :where(.ncua-button-group.has-border .ncua-button-group__item:hover) svg {
|
|
650
|
+
color: var(--icon-color);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
:where(.ncua-button-group.has-border .is-current) + .ncua-button-group__item {
|
|
654
|
+
border-inline-start-color: var(--gray-300);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
:where(.ncua-button-group.has-border:has(.is-current) .ncua-button-group__item):hover {
|
|
658
|
+
background: var(--base-white);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
:where(.ncua-button-group--xxs.has-border) {
|
|
662
|
+
border-radius: 4px;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
:where(.ncua-button-group--xxs.has-border .ncua-button-group__item):first-child {
|
|
666
|
+
border-top-left-radius: 4px;
|
|
667
|
+
border-bottom-left-radius: 4px;
|
|
668
|
+
}
|
|
669
|
+
:where(.ncua-button-group--xxs.has-border .ncua-button-group__item):last-child {
|
|
670
|
+
border-top-right-radius: 4px;
|
|
671
|
+
border-bottom-right-radius: 4px;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
:where(.ncua-button-group--xs.has-border) {
|
|
675
|
+
border-radius: 6px;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
:where(.ncua-button-group--xs.has-border .ncua-button-group__item):first-child {
|
|
679
|
+
border-top-left-radius: 6px;
|
|
680
|
+
border-bottom-left-radius: 6px;
|
|
681
|
+
}
|
|
682
|
+
:where(.ncua-button-group--xs.has-border .ncua-button-group__item):last-child {
|
|
683
|
+
border-top-right-radius: 6px;
|
|
684
|
+
border-bottom-right-radius: 6px;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
:where(.ncua-button-group--sm.has-border) {
|
|
688
|
+
border-radius: 6px;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
:where(.ncua-button-group--sm.has-border .ncua-button-group__item):first-child {
|
|
692
|
+
border-top-left-radius: 6px;
|
|
693
|
+
border-bottom-left-radius: 6px;
|
|
694
|
+
}
|
|
695
|
+
:where(.ncua-button-group--sm.has-border .ncua-button-group__item):last-child {
|
|
696
|
+
border-top-right-radius: 6px;
|
|
697
|
+
border-bottom-right-radius: 6px;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
:where(.ncua-button-group--md.has-border) {
|
|
701
|
+
border-radius: 8px;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
:where(.ncua-button-group--md.has-border .ncua-button-group__item):first-child {
|
|
705
|
+
border-top-left-radius: 8px;
|
|
706
|
+
border-bottom-left-radius: 8px;
|
|
707
|
+
}
|
|
708
|
+
:where(.ncua-button-group--md.has-border .ncua-button-group__item):last-child {
|
|
709
|
+
border-top-right-radius: 8px;
|
|
710
|
+
border-bottom-right-radius: 8px;
|
|
635
711
|
}
|
|
636
712
|
|
|
637
713
|
.ncua-button-close-x {
|
|
@@ -678,7 +754,67 @@ button {
|
|
|
678
754
|
background-color: rgba(255, 255, 255, 0.2);
|
|
679
755
|
}
|
|
680
756
|
|
|
757
|
+
.ncua-button-stepper {
|
|
758
|
+
display: inline-flex;
|
|
759
|
+
align-items: center;
|
|
760
|
+
justify-content: center;
|
|
761
|
+
width: 20px;
|
|
762
|
+
height: 10px;
|
|
763
|
+
cursor: pointer;
|
|
764
|
+
background-color: var(--gray-100);
|
|
765
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23757678'/%3E%3C/svg%3E");
|
|
766
|
+
background-repeat: no-repeat;
|
|
767
|
+
background-position: center;
|
|
768
|
+
background-size: 6px 4px;
|
|
769
|
+
border-radius: 4px 4px 1px 1px;
|
|
770
|
+
}
|
|
771
|
+
.ncua-button-stepper:hover:not(:disabled), .ncua-button-stepper:focus:not(:disabled) {
|
|
772
|
+
background-color: var(--gray-200);
|
|
773
|
+
}
|
|
774
|
+
.ncua-button-stepper:disabled {
|
|
775
|
+
background-color: var(--gray-100);
|
|
776
|
+
}
|
|
777
|
+
.ncua-button-stepper--xs {
|
|
778
|
+
width: 20px;
|
|
779
|
+
height: 10px;
|
|
780
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6px' height='4px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23757678'/%3E%3C/svg%3E");
|
|
781
|
+
background-size: 6px 4px;
|
|
782
|
+
}
|
|
783
|
+
.ncua-button-stepper--xs:hover:not(:disabled), .ncua-button-stepper--xs:focus:not(:disabled) {
|
|
784
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6px' height='4px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23171818'/%3E%3C/svg%3E");
|
|
785
|
+
}
|
|
786
|
+
.ncua-input:focus-within .ncua-button-stepper--xs {
|
|
787
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6px' height='4px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%232f2f30'/%3E%3C/svg%3E");
|
|
788
|
+
}
|
|
789
|
+
.ncua-input.is-disabled .ncua-button-stepper--xs, .ncua-button-stepper--xs:disabled {
|
|
790
|
+
cursor: not-allowed;
|
|
791
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6px' height='4px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23a4a5a8'/%3E%3C/svg%3E");
|
|
792
|
+
}
|
|
793
|
+
.ncua-button-stepper--sm {
|
|
794
|
+
width: 22px;
|
|
795
|
+
height: 14px;
|
|
796
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.2px' height='4.7px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23757678'/%3E%3C/svg%3E");
|
|
797
|
+
background-size: 8.2px 4.7px;
|
|
798
|
+
}
|
|
799
|
+
.ncua-button-stepper--sm:hover:not(:disabled), .ncua-button-stepper--sm:focus:not(:disabled) {
|
|
800
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.2px' height='4.7px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23171818'/%3E%3C/svg%3E");
|
|
801
|
+
}
|
|
802
|
+
.ncua-input:focus-within .ncua-button-stepper--sm {
|
|
803
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.2px' height='4.7px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%232f2f30'/%3E%3C/svg%3E");
|
|
804
|
+
}
|
|
805
|
+
.ncua-input.is-disabled .ncua-button-stepper--sm, .ncua-button-stepper--sm:disabled {
|
|
806
|
+
cursor: not-allowed;
|
|
807
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.2px' height='4.7px' viewBox='0 0 7 4' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.14645 0.146447C3.34171 -0.0488155 3.65829 -0.0488155 3.85355 0.146447L6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355C6.65829 4.04882 6.34171 4.04882 6.14645 3.85355L3.5 1.20711L0.853553 3.85355C0.658291 4.04882 0.341709 4.04882 0.146447 3.85355C-0.0488155 3.65829 -0.0488155 3.34171 0.146447 3.14645L3.14645 0.146447Z' fill='%23a4a5a8'/%3E%3C/svg%3E");
|
|
808
|
+
}
|
|
809
|
+
.ncua-button-stepper--down {
|
|
810
|
+
transform: rotate(180deg);
|
|
811
|
+
}
|
|
812
|
+
|
|
681
813
|
.ncua-checkbox-input {
|
|
814
|
+
--check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%23171818' stroke-width='1.6666' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
|
|
815
|
+
--check-icon-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%23d3d4d8' stroke-width='1.6666' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
|
|
816
|
+
--indeterminate-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6H9.5' stroke='%232f2f30' stroke-width='1.66666' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
|
|
817
|
+
--indeterminate-icon-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6H9.5' stroke='%23d3d4d8' stroke-width='1.66666' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
|
|
682
818
|
position: relative;
|
|
683
819
|
flex: none;
|
|
684
820
|
display: inline-block;
|
|
@@ -728,22 +864,30 @@ button {
|
|
|
728
864
|
background-color: var(--gray-100);
|
|
729
865
|
border-radius: 4px;
|
|
730
866
|
}
|
|
731
|
-
.ncua-checkbox-
|
|
867
|
+
.ncua-checkbox-input:has(input:checked)::before, .ncua-checkbox-input.has-indeterminate::before {
|
|
732
868
|
position: absolute;
|
|
733
|
-
top:
|
|
734
|
-
left:
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
width:
|
|
739
|
-
height:
|
|
740
|
-
|
|
869
|
+
top: 50%;
|
|
870
|
+
left: 50%;
|
|
871
|
+
transform: translate(-50%, -50%);
|
|
872
|
+
content: "";
|
|
873
|
+
z-index: 5;
|
|
874
|
+
width: 12px;
|
|
875
|
+
height: 12px;
|
|
876
|
+
background-repeat: no-repeat;
|
|
877
|
+
background-position: center center;
|
|
878
|
+
background-size: 100% 100%;
|
|
741
879
|
}
|
|
742
|
-
.ncua-checkbox-input
|
|
743
|
-
|
|
880
|
+
.ncua-checkbox-input:has(input:checked)::before {
|
|
881
|
+
background-image: var(--check-icon);
|
|
744
882
|
}
|
|
745
|
-
.ncua-checkbox-input
|
|
746
|
-
|
|
883
|
+
.ncua-checkbox-input:has(input:disabled:checked)::before {
|
|
884
|
+
background-image: var(--check-icon-disabled);
|
|
885
|
+
}
|
|
886
|
+
.ncua-checkbox-input.has-indeterminate::before {
|
|
887
|
+
background-image: var(--indeterminate-icon);
|
|
888
|
+
}
|
|
889
|
+
.ncua-checkbox-input.has-indeterminate:has(input:disabled)::before {
|
|
890
|
+
background-image: var(--indeterminate-icon-disabled);
|
|
747
891
|
}
|
|
748
892
|
|
|
749
893
|
.ncua-checkbox-field {
|
|
@@ -1188,67 +1332,12 @@ button {
|
|
|
1188
1332
|
color: var(--primary-red-600);
|
|
1189
1333
|
}
|
|
1190
1334
|
|
|
1191
|
-
.ncua-file-input {
|
|
1192
|
-
display: inline-flex;
|
|
1193
|
-
flex-direction: column;
|
|
1194
|
-
align-items: flex-start;
|
|
1195
|
-
gap: 6px;
|
|
1196
|
-
}
|
|
1197
|
-
.ncua-file-input__input-container {
|
|
1198
|
-
display: flex;
|
|
1199
|
-
flex-direction: column;
|
|
1200
|
-
align-items: flex-start;
|
|
1201
|
-
gap: 4px;
|
|
1202
|
-
}
|
|
1203
|
-
.ncua-file-input__label {
|
|
1204
|
-
display: flex;
|
|
1205
|
-
align-items: center;
|
|
1206
|
-
gap: 4px;
|
|
1207
|
-
}
|
|
1208
|
-
.ncua-file-input__file-tags {
|
|
1209
|
-
display: flex;
|
|
1210
|
-
padding: 12px 8px;
|
|
1211
|
-
flex-direction: column;
|
|
1212
|
-
align-items: flex-start;
|
|
1213
|
-
gap: 6px;
|
|
1214
|
-
align-self: stretch;
|
|
1215
|
-
background: var(--gray-50);
|
|
1216
|
-
}
|
|
1217
|
-
.ncua-file-input__hint-list {
|
|
1218
|
-
margin: 0;
|
|
1219
|
-
list-style: disc;
|
|
1220
|
-
color: var(--gray-400);
|
|
1221
|
-
}
|
|
1222
|
-
.ncua-file-input--xs {
|
|
1223
|
-
font-size: var(--font-size-xxs);
|
|
1224
|
-
line-height: var(--line-heights-xxs);
|
|
1225
|
-
}
|
|
1226
|
-
.ncua-file-input--sm {
|
|
1227
|
-
font-size: var(--font-size-xs);
|
|
1228
|
-
line-height: var(--line-heights-xs);
|
|
1229
|
-
}
|
|
1230
|
-
.ncua-file-input--xs .ncua-file-input__input-container {
|
|
1231
|
-
gap: 4px;
|
|
1232
|
-
}
|
|
1233
|
-
.ncua-file-input--sm .ncua-file-input__input-container {
|
|
1234
|
-
gap: 6px;
|
|
1235
|
-
}
|
|
1236
|
-
.ncua-file-input--xs .ncua-file-input__hint-list {
|
|
1237
|
-
font-size: var(--font-size-xxxs);
|
|
1238
|
-
line-height: var(--line-heights-xxxs);
|
|
1239
|
-
}
|
|
1240
|
-
.ncua-file-input--md .ncua-file-input__hint-list {
|
|
1241
|
-
font-size: inherit;
|
|
1242
|
-
line-height: inherit;
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
1335
|
.ncua-input {
|
|
1246
1336
|
display: inline-flex;
|
|
1247
1337
|
flex-direction: column;
|
|
1248
1338
|
line-height: normal;
|
|
1249
1339
|
vertical-align: top;
|
|
1250
1340
|
gap: 4px;
|
|
1251
|
-
font-size: var(--font-size-xxs);
|
|
1252
1341
|
}
|
|
1253
1342
|
.ncua-input > *:last-child {
|
|
1254
1343
|
margin-bottom: 0;
|
|
@@ -1266,6 +1355,7 @@ button {
|
|
|
1266
1355
|
.ncua-input__content {
|
|
1267
1356
|
box-shadow: var(--shadow-xs);
|
|
1268
1357
|
border-radius: 6px;
|
|
1358
|
+
align-items: center;
|
|
1269
1359
|
}
|
|
1270
1360
|
.ncua-input:where(:not([class*=textarea])) .ncua-input__content {
|
|
1271
1361
|
display: flex;
|
|
@@ -1283,6 +1373,16 @@ button {
|
|
|
1283
1373
|
.ncua-input__field--sm {
|
|
1284
1374
|
padding: 6px 12px;
|
|
1285
1375
|
}
|
|
1376
|
+
.ncua-input__field:has(.ncua-input__stepper-button-group ~ .ncua-input__number) {
|
|
1377
|
+
padding-top: 2px;
|
|
1378
|
+
padding-bottom: 2px;
|
|
1379
|
+
padding-left: 2px;
|
|
1380
|
+
}
|
|
1381
|
+
.ncua-input__field:has(.ncua-input__number ~ .ncua-input__stepper-button-group) {
|
|
1382
|
+
padding-top: 2px;
|
|
1383
|
+
padding-bottom: 2px;
|
|
1384
|
+
padding-right: 2px;
|
|
1385
|
+
}
|
|
1286
1386
|
.ncua-input__field {
|
|
1287
1387
|
position: relative;
|
|
1288
1388
|
flex: 1;
|
|
@@ -1330,9 +1430,20 @@ button {
|
|
|
1330
1430
|
.ncua-input textarea:focus {
|
|
1331
1431
|
outline: none;
|
|
1332
1432
|
}
|
|
1433
|
+
.ncua-input .ncua-input__content-wrap {
|
|
1434
|
+
display: flex;
|
|
1435
|
+
align-items: center;
|
|
1436
|
+
}
|
|
1333
1437
|
.ncua-input .ncua-input__field {
|
|
1334
1438
|
border-radius: 6px;
|
|
1335
1439
|
}
|
|
1440
|
+
.ncua-input .ncua-input__field-text-count {
|
|
1441
|
+
color: var(--gray-300);
|
|
1442
|
+
padding-left: 8px;
|
|
1443
|
+
}
|
|
1444
|
+
.ncua-input .ncua-input__field-text-count-current {
|
|
1445
|
+
color: var(--gray-400);
|
|
1446
|
+
}
|
|
1336
1447
|
.ncua-input--xs {
|
|
1337
1448
|
gap: 4px;
|
|
1338
1449
|
}
|
|
@@ -1347,7 +1458,10 @@ button {
|
|
|
1347
1458
|
font-size: var(--font-size-sm);
|
|
1348
1459
|
line-height: var(--line-heights-sm);
|
|
1349
1460
|
}
|
|
1350
|
-
.ncua-input
|
|
1461
|
+
.ncua-input {
|
|
1462
|
+
font-size: var(--font-size-xxs);
|
|
1463
|
+
}
|
|
1464
|
+
.ncua-input--xs {
|
|
1351
1465
|
font-size: var(--font-size-xxs);
|
|
1352
1466
|
}
|
|
1353
1467
|
.ncua-input--sm {
|
|
@@ -1367,6 +1481,7 @@ button {
|
|
|
1367
1481
|
.ncua-input__clear {
|
|
1368
1482
|
border-radius: 10px;
|
|
1369
1483
|
background: var(--gray-100);
|
|
1484
|
+
cursor: pointer;
|
|
1370
1485
|
}
|
|
1371
1486
|
.ncua-input__clear-icon {
|
|
1372
1487
|
padding: 2px;
|
|
@@ -1400,16 +1515,6 @@ button {
|
|
|
1400
1515
|
.ncua-input.is-disabled .ncua-input__field {
|
|
1401
1516
|
overflow: hidden;
|
|
1402
1517
|
}
|
|
1403
|
-
.ncua-input.is-disabled .ncua-input__field::after {
|
|
1404
|
-
position: absolute;
|
|
1405
|
-
top: 0;
|
|
1406
|
-
left: 0;
|
|
1407
|
-
content: "";
|
|
1408
|
-
width: 100%;
|
|
1409
|
-
height: 100%;
|
|
1410
|
-
background: inherit;
|
|
1411
|
-
opacity: 0.5;
|
|
1412
|
-
}
|
|
1413
1518
|
.ncua-input.is-disabled input,
|
|
1414
1519
|
.ncua-input.is-disabled textarea {
|
|
1415
1520
|
color: var(--gray-300);
|
|
@@ -1424,6 +1529,31 @@ button {
|
|
|
1424
1529
|
.ncua-input.full-width {
|
|
1425
1530
|
width: 100%;
|
|
1426
1531
|
}
|
|
1532
|
+
.ncua-input__number::-webkit-inner-spin-button, .ncua-input__number::-webkit-outer-spin-button {
|
|
1533
|
+
-webkit-appearance: none;
|
|
1534
|
+
margin: 0;
|
|
1535
|
+
}
|
|
1536
|
+
.ncua-input__number {
|
|
1537
|
+
-moz-appearance: textfield;
|
|
1538
|
+
appearance: textfield;
|
|
1539
|
+
}
|
|
1540
|
+
.ncua-input__stepper-button-group {
|
|
1541
|
+
display: flex;
|
|
1542
|
+
flex-direction: column;
|
|
1543
|
+
gap: 2px;
|
|
1544
|
+
}
|
|
1545
|
+
.ncua-input__field--xs .ncua-input__stepper-button-group ~ .ncua-input__number {
|
|
1546
|
+
padding-left: 10px;
|
|
1547
|
+
}
|
|
1548
|
+
.ncua-input__field--sm .ncua-input__stepper-button-group ~ .ncua-input__number {
|
|
1549
|
+
padding-left: 12px;
|
|
1550
|
+
}
|
|
1551
|
+
.ncua-input__field--xs .ncua-input__icon-wrap + .ncua-input__stepper-button-group {
|
|
1552
|
+
margin-left: 10px;
|
|
1553
|
+
}
|
|
1554
|
+
.ncua-input__field--sm .ncua-input__icon-wrap + .ncua-input__stepper-button-group {
|
|
1555
|
+
margin-left: 12px;
|
|
1556
|
+
}
|
|
1427
1557
|
|
|
1428
1558
|
.ncua-input__leading-text-wrap .ncua-input__leading-text {
|
|
1429
1559
|
display: flex;
|
|
@@ -1456,10 +1586,6 @@ button {
|
|
|
1456
1586
|
background-color: var(--base-white);
|
|
1457
1587
|
border: 1px solid var(--gray-200);
|
|
1458
1588
|
padding: 4px 10px;
|
|
1459
|
-
padding: 5px 10px;
|
|
1460
|
-
font-size: var(--font-size-xs);
|
|
1461
|
-
line-height: var(--line-heights-xs);
|
|
1462
|
-
font-weight: var(--font-weights-commerce-sans-1);
|
|
1463
1589
|
}
|
|
1464
1590
|
.ncua-input__trailing-button .ncua-input__button--xs {
|
|
1465
1591
|
padding: 4px 10px;
|
|
@@ -1476,6 +1602,12 @@ button {
|
|
|
1476
1602
|
.ncua-input__trailing-button .ncua-input__button:not(:disabled) {
|
|
1477
1603
|
cursor: pointer;
|
|
1478
1604
|
}
|
|
1605
|
+
.ncua-input__trailing-button .ncua-input__button {
|
|
1606
|
+
padding: 5px 10px;
|
|
1607
|
+
font-size: var(--font-size-xs);
|
|
1608
|
+
line-height: var(--line-heights-xs);
|
|
1609
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
1610
|
+
}
|
|
1479
1611
|
.ncua-input__trailing-button .ncua-input__button--xs {
|
|
1480
1612
|
padding: 5px 10px;
|
|
1481
1613
|
font-size: var(--font-size-xs);
|
|
@@ -1500,9 +1632,33 @@ button {
|
|
|
1500
1632
|
font-size: var(--font-size-xxs);
|
|
1501
1633
|
}
|
|
1502
1634
|
.ncua-input--textarea textarea {
|
|
1635
|
+
resize: block;
|
|
1503
1636
|
font-size: var(--font-size-xs);
|
|
1504
1637
|
line-height: var(--line-heights-xs);
|
|
1638
|
+
height: 100%;
|
|
1639
|
+
word-wrap: break-word;
|
|
1640
|
+
min-height: 120px;
|
|
1641
|
+
padding: 12px;
|
|
1642
|
+
border: 1px solid var(--gray-200);
|
|
1643
|
+
border-radius: 8px;
|
|
1644
|
+
box-shadow: var(--shadow-xs);
|
|
1645
|
+
}
|
|
1646
|
+
.ncua-input--textarea textarea:disabled {
|
|
1647
|
+
white-space: pre-wrap;
|
|
1648
|
+
background-color: var(--gray-50);
|
|
1649
|
+
border-color: var(--gray-200);
|
|
1505
1650
|
}
|
|
1651
|
+
.ncua-input--textarea textarea:focus {
|
|
1652
|
+
border-color: var(--gray-400);
|
|
1653
|
+
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
1654
|
+
}
|
|
1655
|
+
.ncua-input--textarea.destructive textarea {
|
|
1656
|
+
border-color: var(--primary-red-600);
|
|
1657
|
+
}
|
|
1658
|
+
.ncua-input--textarea.destructive textarea:focus {
|
|
1659
|
+
box-shadow: var(--shadow-xs-focused-4px-error-100);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1506
1662
|
.ncua-input--textarea--xs textarea {
|
|
1507
1663
|
font-size: var(--font-size-xs);
|
|
1508
1664
|
line-height: var(--line-heights-xs);
|
|
@@ -1517,24 +1673,6 @@ button {
|
|
|
1517
1673
|
.ncua-input--textarea--sm {
|
|
1518
1674
|
font-size: var(--font-size-xs);
|
|
1519
1675
|
}
|
|
1520
|
-
.ncua-input--textarea .ncua-input__content {
|
|
1521
|
-
flex-direction: column;
|
|
1522
|
-
align-items: flex-start;
|
|
1523
|
-
height: 126px;
|
|
1524
|
-
}
|
|
1525
|
-
.ncua-input--textarea .ncua-input__field {
|
|
1526
|
-
padding: 12px;
|
|
1527
|
-
height: 100%;
|
|
1528
|
-
border-radius: 8px;
|
|
1529
|
-
}
|
|
1530
|
-
.ncua-input--textarea textarea {
|
|
1531
|
-
height: 100%;
|
|
1532
|
-
resize: none;
|
|
1533
|
-
word-wrap: break-word;
|
|
1534
|
-
}
|
|
1535
|
-
.ncua-input--textarea textarea:disabled {
|
|
1536
|
-
white-space: pre-wrap;
|
|
1537
|
-
}
|
|
1538
1676
|
|
|
1539
1677
|
.ncua-input__text-count-wrap {
|
|
1540
1678
|
width: 100%;
|
|
@@ -1557,6 +1695,54 @@ button {
|
|
|
1557
1695
|
color: var(--primary-red-600);
|
|
1558
1696
|
}
|
|
1559
1697
|
|
|
1698
|
+
.ncua-combobox {
|
|
1699
|
+
display: inline-block;
|
|
1700
|
+
min-width: 320px;
|
|
1701
|
+
}
|
|
1702
|
+
.ncua-combobox__content {
|
|
1703
|
+
position: relative;
|
|
1704
|
+
}
|
|
1705
|
+
.ncua-combobox .ncua-input {
|
|
1706
|
+
width: 100%;
|
|
1707
|
+
}
|
|
1708
|
+
.ncua-combobox .ncua-input__content {
|
|
1709
|
+
width: 100%;
|
|
1710
|
+
}
|
|
1711
|
+
.ncua-combobox .ncua-input.is-disabled .ncua-btn--text {
|
|
1712
|
+
color: var(--gray-200);
|
|
1713
|
+
}
|
|
1714
|
+
.ncua-combobox .ncua-input__icon-wrap .ncua-btn__label {
|
|
1715
|
+
min-width: 20px;
|
|
1716
|
+
}
|
|
1717
|
+
.ncua-combobox__tags {
|
|
1718
|
+
display: flex;
|
|
1719
|
+
flex-wrap: wrap;
|
|
1720
|
+
gap: 4px;
|
|
1721
|
+
margin-top: 8px;
|
|
1722
|
+
}
|
|
1723
|
+
.ncua-combobox.ncua-combobox--xs .ncua-hint-text {
|
|
1724
|
+
margin-block-start: 4px;
|
|
1725
|
+
font-size: var(--font-size-xxs);
|
|
1726
|
+
line-height: var(--line-heights-xxs);
|
|
1727
|
+
}
|
|
1728
|
+
.ncua-combobox.ncua-combobox--sm .ncua-hint-text {
|
|
1729
|
+
margin-block-start: 6px;
|
|
1730
|
+
font-size: var(--font-size-xs);
|
|
1731
|
+
line-height: var(--line-heights-xs);
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
.ncua-select-dropdown__no-results {
|
|
1735
|
+
padding: 21px 0;
|
|
1736
|
+
color: var(--gray-700);
|
|
1737
|
+
font-size: var(--font-size-xs);
|
|
1738
|
+
text-align: center;
|
|
1739
|
+
cursor: default;
|
|
1740
|
+
user-select: none;
|
|
1741
|
+
}
|
|
1742
|
+
.ncua-select-dropdown__no-results:hover {
|
|
1743
|
+
background-color: transparent;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1560
1746
|
.ncua-label {
|
|
1561
1747
|
display: flex;
|
|
1562
1748
|
gap: 4px;
|
|
@@ -1568,6 +1754,10 @@ button {
|
|
|
1568
1754
|
color: var(--primary-red-500);
|
|
1569
1755
|
}
|
|
1570
1756
|
|
|
1757
|
+
.ncua-modal-open {
|
|
1758
|
+
overflow: hidden !important;
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1571
1761
|
.ncua-modal-backdrop {
|
|
1572
1762
|
position: fixed;
|
|
1573
1763
|
top: 0;
|
|
@@ -1591,6 +1781,7 @@ button {
|
|
|
1591
1781
|
display: flex;
|
|
1592
1782
|
flex-direction: column;
|
|
1593
1783
|
box-shadow: var(--shadow-xl);
|
|
1784
|
+
padding: 16px 0px;
|
|
1594
1785
|
}
|
|
1595
1786
|
.ncua-modal--sm {
|
|
1596
1787
|
max-width: 400px;
|
|
@@ -1604,6 +1795,9 @@ button {
|
|
|
1604
1795
|
.ncua-modal--xl {
|
|
1605
1796
|
max-width: 760px;
|
|
1606
1797
|
}
|
|
1798
|
+
.ncua-modal--2xl {
|
|
1799
|
+
max-width: 1000px;
|
|
1800
|
+
}
|
|
1607
1801
|
@media (max-width: 768px) {
|
|
1608
1802
|
.ncua-modal {
|
|
1609
1803
|
max-height: calc(100vh - 160px);
|
|
@@ -1611,7 +1805,7 @@ button {
|
|
|
1611
1805
|
}
|
|
1612
1806
|
|
|
1613
1807
|
.ncua-modal__header {
|
|
1614
|
-
padding:
|
|
1808
|
+
padding: 0px 20px 16px;
|
|
1615
1809
|
border-bottom: none;
|
|
1616
1810
|
position: relative;
|
|
1617
1811
|
display: flex;
|
|
@@ -1624,6 +1818,9 @@ button {
|
|
|
1624
1818
|
background-color: var(--gray-100);
|
|
1625
1819
|
margin: 0 0 16px;
|
|
1626
1820
|
}
|
|
1821
|
+
.ncua-modal__header:has(.ncua-modal__close-button) {
|
|
1822
|
+
padding-right: 48px;
|
|
1823
|
+
}
|
|
1627
1824
|
.ncua-modal__header--left {
|
|
1628
1825
|
align-items: flex-start;
|
|
1629
1826
|
}
|
|
@@ -1651,7 +1848,7 @@ button {
|
|
|
1651
1848
|
flex: 1;
|
|
1652
1849
|
}
|
|
1653
1850
|
.ncua-modal__header--close-button.ncua-modal__header--left {
|
|
1654
|
-
padding:
|
|
1851
|
+
padding: 0px 56px 16px 20px;
|
|
1655
1852
|
}
|
|
1656
1853
|
|
|
1657
1854
|
.ncua-modal__title {
|
|
@@ -1665,6 +1862,7 @@ button {
|
|
|
1665
1862
|
font-size: var(--font-size-sm);
|
|
1666
1863
|
line-height: var(--line-heights-sm);
|
|
1667
1864
|
color: var(--gray-700);
|
|
1865
|
+
word-break: break-all;
|
|
1668
1866
|
}
|
|
1669
1867
|
.ncua-modal__title .ncua-modal__title-subtitle {
|
|
1670
1868
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
@@ -1675,7 +1873,7 @@ button {
|
|
|
1675
1873
|
|
|
1676
1874
|
.ncua-modal__close-button {
|
|
1677
1875
|
position: absolute;
|
|
1678
|
-
top:
|
|
1876
|
+
top: -6px;
|
|
1679
1877
|
right: 16px;
|
|
1680
1878
|
}
|
|
1681
1879
|
|
|
@@ -1691,7 +1889,7 @@ button {
|
|
|
1691
1889
|
}
|
|
1692
1890
|
|
|
1693
1891
|
.ncua-modal__actions-wrapper {
|
|
1694
|
-
padding: 16px 20px
|
|
1892
|
+
padding: 16px 20px 0px;
|
|
1695
1893
|
}
|
|
1696
1894
|
.ncua-modal__actions-wrapper--checkbox {
|
|
1697
1895
|
display: flex;
|
|
@@ -1754,6 +1952,9 @@ button {
|
|
|
1754
1952
|
.ncua-modal__actions--stretch button {
|
|
1755
1953
|
flex: 1;
|
|
1756
1954
|
}
|
|
1955
|
+
.ncua-modal__actions--full-width button {
|
|
1956
|
+
flex: 1;
|
|
1957
|
+
}
|
|
1757
1958
|
|
|
1758
1959
|
@media (max-width: 768px) {
|
|
1759
1960
|
.ncua-modal__actions-checkbox {
|
|
@@ -1777,7 +1978,7 @@ button {
|
|
|
1777
1978
|
position: relative;
|
|
1778
1979
|
width: 100%;
|
|
1779
1980
|
padding: 16px;
|
|
1780
|
-
max-width:
|
|
1981
|
+
max-width: 430px;
|
|
1781
1982
|
border: 1px solid var(--gray-200);
|
|
1782
1983
|
background-color: var(--base-white);
|
|
1783
1984
|
border-radius: 12px;
|
|
@@ -1810,10 +2011,12 @@ button {
|
|
|
1810
2011
|
flex-direction: column;
|
|
1811
2012
|
gap: 4px;
|
|
1812
2013
|
padding-right: 32px;
|
|
2014
|
+
align-self: center;
|
|
1813
2015
|
}
|
|
1814
2016
|
@media (max-width: 768px) {
|
|
1815
2017
|
.ncua-floating-notification__text-container {
|
|
1816
2018
|
padding-right: 0;
|
|
2019
|
+
align-self: flex-start;
|
|
1817
2020
|
}
|
|
1818
2021
|
}
|
|
1819
2022
|
.ncua-floating-notification__title-wrapper {
|
|
@@ -1865,10 +2068,10 @@ button {
|
|
|
1865
2068
|
border-radius: 6px;
|
|
1866
2069
|
padding: 5px 10px;
|
|
1867
2070
|
}
|
|
1868
|
-
.ncua-floating-notification .ncua-notification__action-button--
|
|
2071
|
+
.ncua-floating-notification .ncua-notification__action-button--text-gray {
|
|
1869
2072
|
color: var(--gray-700);
|
|
1870
2073
|
}
|
|
1871
|
-
.ncua-floating-notification .ncua-notification__action-button--
|
|
2074
|
+
.ncua-floating-notification .ncua-notification__action-button--text {
|
|
1872
2075
|
color: var(--blue-500);
|
|
1873
2076
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
1874
2077
|
}
|
|
@@ -1926,7 +2129,7 @@ button {
|
|
|
1926
2129
|
gap: 4px;
|
|
1927
2130
|
}
|
|
1928
2131
|
}
|
|
1929
|
-
.ncua-full-width-notification__title, .ncua-full-width-notification__supporting-text {
|
|
2132
|
+
.ncua-full-width-notification__title, .ncua-full-width-notification__supporting-text, .ncua-full-width-notification__link {
|
|
1930
2133
|
font-size: var(--font-size-sm);
|
|
1931
2134
|
line-height: var(--line-heights-sm);
|
|
1932
2135
|
}
|
|
@@ -1936,6 +2139,11 @@ button {
|
|
|
1936
2139
|
.ncua-full-width-notification__supporting-text {
|
|
1937
2140
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
1938
2141
|
}
|
|
2142
|
+
.ncua-full-width-notification__link, .ncua-full-width-notification__link:hover {
|
|
2143
|
+
color: inherit;
|
|
2144
|
+
text-decoration: underline;
|
|
2145
|
+
cursor: pointer;
|
|
2146
|
+
}
|
|
1939
2147
|
.ncua-full-width-notification__actions-container {
|
|
1940
2148
|
display: flex;
|
|
1941
2149
|
align-items: center;
|
|
@@ -1977,7 +2185,7 @@ button {
|
|
|
1977
2185
|
.ncua-full-width-notification--neutral .ncua-notification__action-button {
|
|
1978
2186
|
color: var(--gray-500);
|
|
1979
2187
|
}
|
|
1980
|
-
.ncua-full-width-notification--neutral .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--neutral .ncua-notification__action-button--
|
|
2188
|
+
.ncua-full-width-notification--neutral .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--neutral .ncua-notification__action-button--text {
|
|
1981
2189
|
color: var(--gray-600);
|
|
1982
2190
|
}
|
|
1983
2191
|
@media (max-width: 768px) {
|
|
@@ -1996,7 +2204,7 @@ button {
|
|
|
1996
2204
|
.ncua-full-width-notification--error .ncua-notification__action-button {
|
|
1997
2205
|
color: var(--primary-red-500);
|
|
1998
2206
|
}
|
|
1999
|
-
.ncua-full-width-notification--error .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--error .ncua-notification__action-button--
|
|
2207
|
+
.ncua-full-width-notification--error .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--error .ncua-notification__action-button--text {
|
|
2000
2208
|
color: var(--primary-red-600);
|
|
2001
2209
|
}
|
|
2002
2210
|
@media (max-width: 768px) {
|
|
@@ -2015,7 +2223,7 @@ button {
|
|
|
2015
2223
|
.ncua-full-width-notification--warning .ncua-notification__action-button {
|
|
2016
2224
|
color: var(--orange-500);
|
|
2017
2225
|
}
|
|
2018
|
-
.ncua-full-width-notification--warning .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--warning .ncua-notification__action-button--
|
|
2226
|
+
.ncua-full-width-notification--warning .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--warning .ncua-notification__action-button--text {
|
|
2019
2227
|
color: var(--orange-600);
|
|
2020
2228
|
}
|
|
2021
2229
|
@media (max-width: 768px) {
|
|
@@ -2034,7 +2242,7 @@ button {
|
|
|
2034
2242
|
.ncua-full-width-notification--success .ncua-notification__action-button {
|
|
2035
2243
|
color: var(--green-500);
|
|
2036
2244
|
}
|
|
2037
|
-
.ncua-full-width-notification--success .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--success .ncua-notification__action-button--
|
|
2245
|
+
.ncua-full-width-notification--success .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--success .ncua-notification__action-button--text {
|
|
2038
2246
|
color: var(--green-600);
|
|
2039
2247
|
}
|
|
2040
2248
|
@media (max-width: 768px) {
|
|
@@ -2043,6 +2251,25 @@ button {
|
|
|
2043
2251
|
border-style: solid;
|
|
2044
2252
|
}
|
|
2045
2253
|
}
|
|
2254
|
+
.ncua-full-width-notification--info {
|
|
2255
|
+
color: var(--violet-600);
|
|
2256
|
+
background-color: var(--violet-50);
|
|
2257
|
+
border-style: solid;
|
|
2258
|
+
border-width: 0 0 1px 0;
|
|
2259
|
+
border-color: var(--violet-200);
|
|
2260
|
+
}
|
|
2261
|
+
.ncua-full-width-notification--info .ncua-notification__action-button {
|
|
2262
|
+
color: var(--violet-500);
|
|
2263
|
+
}
|
|
2264
|
+
.ncua-full-width-notification--info .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--info .ncua-notification__action-button--text {
|
|
2265
|
+
color: var(--violet-600);
|
|
2266
|
+
}
|
|
2267
|
+
@media (max-width: 768px) {
|
|
2268
|
+
.ncua-full-width-notification--info {
|
|
2269
|
+
border-width: 1px 0 0 0;
|
|
2270
|
+
border-style: solid;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2046
2273
|
.ncua-full-width-notification .ncua-notification__action-button {
|
|
2047
2274
|
background: transparent;
|
|
2048
2275
|
border: none;
|
|
@@ -2052,7 +2279,7 @@ button {
|
|
|
2052
2279
|
line-height: var(--line-heights-xs);
|
|
2053
2280
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2054
2281
|
}
|
|
2055
|
-
.ncua-full-width-notification .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification .ncua-notification__action-button--
|
|
2282
|
+
.ncua-full-width-notification .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification .ncua-notification__action-button--text {
|
|
2056
2283
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2057
2284
|
}
|
|
2058
2285
|
@media (max-width: 768px) {
|
|
@@ -2061,94 +2288,295 @@ button {
|
|
|
2061
2288
|
}
|
|
2062
2289
|
}
|
|
2063
2290
|
|
|
2064
|
-
.ncua-
|
|
2065
|
-
|
|
2066
|
-
flex: none;
|
|
2067
|
-
display: inline-block;
|
|
2068
|
-
width: 16px;
|
|
2069
|
-
height: 16px;
|
|
2070
|
-
line-height: 1;
|
|
2071
|
-
background-color: var(--base-white);
|
|
2072
|
-
border-radius: 50%;
|
|
2291
|
+
.ncua-message-notification {
|
|
2292
|
+
width: 100%;
|
|
2073
2293
|
}
|
|
2074
|
-
.ncua-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
z-index: 1;
|
|
2079
|
-
-webkit-appearance: none;
|
|
2080
|
-
-moz-appearance: none;
|
|
2081
|
-
appearance: none;
|
|
2082
|
-
margin: 0;
|
|
2294
|
+
.ncua-message-notification__container {
|
|
2295
|
+
display: flex;
|
|
2296
|
+
align-items: center;
|
|
2297
|
+
flex-direction: column;
|
|
2083
2298
|
width: 100%;
|
|
2084
|
-
|
|
2085
|
-
border: 1px solid var(--gray-200);
|
|
2086
|
-
font: inherit;
|
|
2087
|
-
border-radius: 50%;
|
|
2299
|
+
padding: 16px 24px;
|
|
2088
2300
|
}
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2301
|
+
@media (max-width: 768px) {
|
|
2302
|
+
.ncua-message-notification__container {
|
|
2303
|
+
padding: 16px;
|
|
2304
|
+
}
|
|
2092
2305
|
}
|
|
2093
|
-
.ncua-
|
|
2094
|
-
|
|
2095
|
-
|
|
2306
|
+
.ncua-message-notification__content {
|
|
2307
|
+
width: 100%;
|
|
2308
|
+
display: flex;
|
|
2309
|
+
align-items: center;
|
|
2310
|
+
justify-content: space-between;
|
|
2311
|
+
gap: 24px;
|
|
2096
2312
|
}
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2313
|
+
@media (max-width: 768px) {
|
|
2314
|
+
.ncua-message-notification__content {
|
|
2315
|
+
flex-direction: column;
|
|
2316
|
+
align-items: flex-start;
|
|
2317
|
+
gap: 12px;
|
|
2318
|
+
}
|
|
2100
2319
|
}
|
|
2101
|
-
.ncua-
|
|
2102
|
-
|
|
2103
|
-
|
|
2320
|
+
.ncua-message-notification__content-wrapper {
|
|
2321
|
+
flex: 1;
|
|
2322
|
+
display: flex;
|
|
2323
|
+
align-items: center;
|
|
2324
|
+
gap: 12px;
|
|
2325
|
+
min-width: 0;
|
|
2104
2326
|
}
|
|
2105
|
-
.ncua-
|
|
2106
|
-
|
|
2107
|
-
top: 50%;
|
|
2108
|
-
left: 50%;
|
|
2109
|
-
content: "";
|
|
2110
|
-
transform: translate(-50%, -50%);
|
|
2111
|
-
width: 6px;
|
|
2112
|
-
height: 6px;
|
|
2113
|
-
border-radius: 50%;
|
|
2327
|
+
.ncua-message-notification__icon {
|
|
2328
|
+
flex-shrink: 0;
|
|
2114
2329
|
}
|
|
2115
|
-
.ncua-
|
|
2116
|
-
|
|
2330
|
+
.ncua-message-notification__text-container {
|
|
2331
|
+
flex: 1;
|
|
2332
|
+
display: flex;
|
|
2333
|
+
flex-direction: column;
|
|
2334
|
+
min-width: 0;
|
|
2117
2335
|
}
|
|
2118
|
-
.ncua-
|
|
2119
|
-
|
|
2336
|
+
.ncua-message-notification__title {
|
|
2337
|
+
font-size: var(--font-size-md);
|
|
2338
|
+
line-height: var(--line-heights-md);
|
|
2339
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2120
2340
|
}
|
|
2121
|
-
.ncua-
|
|
2122
|
-
|
|
2341
|
+
.ncua-message-notification__supporting-text {
|
|
2342
|
+
font-size: var(--font-size-sm);
|
|
2343
|
+
line-height: var(--line-heights-sm);
|
|
2344
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
2123
2345
|
}
|
|
2124
|
-
.ncua-
|
|
2125
|
-
|
|
2346
|
+
.ncua-message-notification__actions-container {
|
|
2347
|
+
display: flex;
|
|
2348
|
+
align-items: center;
|
|
2349
|
+
gap: 8px;
|
|
2350
|
+
flex-shrink: 0;
|
|
2126
2351
|
}
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2352
|
+
@media (max-width: 768px) {
|
|
2353
|
+
.ncua-message-notification__actions-container {
|
|
2354
|
+
width: 100%;
|
|
2355
|
+
justify-content: flex-end;
|
|
2356
|
+
}
|
|
2130
2357
|
}
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2358
|
+
.ncua-message-notification__actions {
|
|
2359
|
+
display: flex;
|
|
2360
|
+
align-items: center;
|
|
2361
|
+
gap: 8px;
|
|
2362
|
+
}
|
|
2363
|
+
.ncua-message-notification__footer-container {
|
|
2364
|
+
display: flex;
|
|
2365
|
+
align-items: center;
|
|
2366
|
+
gap: 8px;
|
|
2367
|
+
justify-content: flex-end;
|
|
2368
|
+
}
|
|
2369
|
+
.ncua-message-notification__hide-link {
|
|
2370
|
+
text-decoration: underline;
|
|
2371
|
+
cursor: pointer;
|
|
2372
|
+
font-size: var(--font-size-xs);
|
|
2134
2373
|
line-height: var(--line-heights-xs);
|
|
2135
2374
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2136
|
-
|
|
2375
|
+
}
|
|
2376
|
+
.ncua-message-notification__close-button {
|
|
2377
|
+
display: flex;
|
|
2378
|
+
align-items: center;
|
|
2379
|
+
justify-content: center;
|
|
2380
|
+
background: transparent;
|
|
2381
|
+
border: none;
|
|
2137
2382
|
cursor: pointer;
|
|
2383
|
+
border-radius: 8px;
|
|
2384
|
+
padding: 8px;
|
|
2385
|
+
flex-shrink: 0;
|
|
2138
2386
|
}
|
|
2139
|
-
.ncua-
|
|
2140
|
-
|
|
2141
|
-
color: var(--gray-
|
|
2142
|
-
|
|
2387
|
+
.ncua-message-notification--neutral {
|
|
2388
|
+
color: var(--gray-600);
|
|
2389
|
+
background-color: var(--gray-50);
|
|
2390
|
+
border-radius: 8px;
|
|
2391
|
+
border: 1px solid var(--gray-300);
|
|
2392
|
+
box-shadow: var(--shadow-lg);
|
|
2143
2393
|
}
|
|
2144
|
-
.ncua-
|
|
2145
|
-
color: var(--gray-
|
|
2394
|
+
.ncua-message-notification--neutral .ncua-message-notification__title {
|
|
2395
|
+
color: var(--gray-600);
|
|
2146
2396
|
}
|
|
2147
|
-
.ncua-
|
|
2148
|
-
|
|
2149
|
-
|
|
2397
|
+
.ncua-message-notification--neutral .ncua-message-notification__supporting-text {
|
|
2398
|
+
color: var(--gray-500);
|
|
2399
|
+
opacity: 0.8;
|
|
2150
2400
|
}
|
|
2151
|
-
.ncua-
|
|
2401
|
+
.ncua-message-notification--neutral .ncua-notification__action-button {
|
|
2402
|
+
color: var(--gray-500);
|
|
2403
|
+
}
|
|
2404
|
+
.ncua-message-notification--neutral .ncua-notification__action-button--text, .ncua-message-notification--neutral .ncua-notification__action-button--text-gray {
|
|
2405
|
+
color: var(--gray-600);
|
|
2406
|
+
}
|
|
2407
|
+
.ncua-message-notification--neutral .ncua-message-notification__hide-link {
|
|
2408
|
+
color: var(--gray-500);
|
|
2409
|
+
}
|
|
2410
|
+
.ncua-message-notification--error {
|
|
2411
|
+
color: var(--primary-red-600);
|
|
2412
|
+
background-color: var(--primary-red-50);
|
|
2413
|
+
border-radius: 8px;
|
|
2414
|
+
border: 1px solid var(--primary-red-300);
|
|
2415
|
+
box-shadow: var(--shadow-lg);
|
|
2416
|
+
}
|
|
2417
|
+
.ncua-message-notification--error .ncua-message-notification__title {
|
|
2418
|
+
color: var(--primary-red-600);
|
|
2419
|
+
}
|
|
2420
|
+
.ncua-message-notification--error .ncua-message-notification__supporting-text {
|
|
2421
|
+
color: var(--gray-500);
|
|
2422
|
+
opacity: 0.8;
|
|
2423
|
+
}
|
|
2424
|
+
.ncua-message-notification--error .ncua-notification__action-button {
|
|
2425
|
+
color: var(--primary-red-500);
|
|
2426
|
+
}
|
|
2427
|
+
.ncua-message-notification--error .ncua-notification__action-button--text, .ncua-message-notification--error .ncua-notification__action-button--text-gray {
|
|
2428
|
+
color: var(--primary-red-600);
|
|
2429
|
+
}
|
|
2430
|
+
.ncua-message-notification--error .ncua-message-notification__hide-link {
|
|
2431
|
+
color: var(--gray-500);
|
|
2432
|
+
}
|
|
2433
|
+
.ncua-message-notification--warning {
|
|
2434
|
+
color: var(--orange-600);
|
|
2435
|
+
background-color: var(--orange-50);
|
|
2436
|
+
border-radius: 8px;
|
|
2437
|
+
border: 1px solid var(--orange-300);
|
|
2438
|
+
box-shadow: var(--shadow-lg);
|
|
2439
|
+
}
|
|
2440
|
+
.ncua-message-notification--warning .ncua-message-notification__title {
|
|
2441
|
+
color: var(--orange-600);
|
|
2442
|
+
}
|
|
2443
|
+
.ncua-message-notification--warning .ncua-message-notification__supporting-text {
|
|
2444
|
+
color: var(--gray-500);
|
|
2445
|
+
opacity: 0.8;
|
|
2446
|
+
}
|
|
2447
|
+
.ncua-message-notification--warning .ncua-notification__action-button {
|
|
2448
|
+
color: var(--orange-500);
|
|
2449
|
+
}
|
|
2450
|
+
.ncua-message-notification--warning .ncua-notification__action-button--text, .ncua-message-notification--warning .ncua-notification__action-button--text-gray {
|
|
2451
|
+
color: var(--orange-600);
|
|
2452
|
+
}
|
|
2453
|
+
.ncua-message-notification--warning .ncua-message-notification__hide-link {
|
|
2454
|
+
color: var(--gray-500);
|
|
2455
|
+
}
|
|
2456
|
+
.ncua-message-notification--success {
|
|
2457
|
+
color: var(--green-600);
|
|
2458
|
+
background-color: var(--green-50);
|
|
2459
|
+
border-radius: 8px;
|
|
2460
|
+
border: 1px solid var(--green-300);
|
|
2461
|
+
box-shadow: var(--shadow-lg);
|
|
2462
|
+
}
|
|
2463
|
+
.ncua-message-notification--success .ncua-message-notification__title {
|
|
2464
|
+
color: var(--green-600);
|
|
2465
|
+
}
|
|
2466
|
+
.ncua-message-notification--success .ncua-message-notification__supporting-text {
|
|
2467
|
+
color: var(--gray-500);
|
|
2468
|
+
opacity: 0.8;
|
|
2469
|
+
}
|
|
2470
|
+
.ncua-message-notification--success .ncua-notification__action-button {
|
|
2471
|
+
color: var(--green-500);
|
|
2472
|
+
}
|
|
2473
|
+
.ncua-message-notification--success .ncua-notification__action-button--text, .ncua-message-notification--success .ncua-notification__action-button--text-gray {
|
|
2474
|
+
color: var(--green-600);
|
|
2475
|
+
}
|
|
2476
|
+
.ncua-message-notification--success .ncua-message-notification__hide-link {
|
|
2477
|
+
color: var(--gray-500);
|
|
2478
|
+
}
|
|
2479
|
+
.ncua-message-notification .ncua-notification__action-button {
|
|
2480
|
+
background: transparent;
|
|
2481
|
+
border: none;
|
|
2482
|
+
padding: 0;
|
|
2483
|
+
vertical-align: middle;
|
|
2484
|
+
font-size: var(--font-size-xs);
|
|
2485
|
+
line-height: var(--line-heights-xs);
|
|
2486
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
2487
|
+
}
|
|
2488
|
+
.ncua-message-notification .ncua-notification__action-button--text, .ncua-message-notification .ncua-notification__action-button--text-gray {
|
|
2489
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
.ncua-radio-input {
|
|
2493
|
+
position: relative;
|
|
2494
|
+
flex: none;
|
|
2495
|
+
display: inline-block;
|
|
2496
|
+
width: 16px;
|
|
2497
|
+
height: 16px;
|
|
2498
|
+
line-height: 1;
|
|
2499
|
+
background-color: var(--base-white);
|
|
2500
|
+
border-radius: 50%;
|
|
2501
|
+
}
|
|
2502
|
+
.ncua-radio-input :where(input) {
|
|
2503
|
+
position: absolute;
|
|
2504
|
+
top: 0;
|
|
2505
|
+
left: 0;
|
|
2506
|
+
z-index: 1;
|
|
2507
|
+
-webkit-appearance: none;
|
|
2508
|
+
-moz-appearance: none;
|
|
2509
|
+
appearance: none;
|
|
2510
|
+
margin: 0;
|
|
2511
|
+
width: 100%;
|
|
2512
|
+
height: 100%;
|
|
2513
|
+
border: 1px solid var(--gray-200);
|
|
2514
|
+
font: inherit;
|
|
2515
|
+
border-radius: 50%;
|
|
2516
|
+
}
|
|
2517
|
+
.ncua-radio-input :where(input):not(:disabled):hover {
|
|
2518
|
+
border-color: var(--gray-600);
|
|
2519
|
+
background-color: var(--gray-100);
|
|
2520
|
+
}
|
|
2521
|
+
.ncua-radio-input :where(input):focus {
|
|
2522
|
+
border-color: var(--gray-400);
|
|
2523
|
+
box-shadow: var(--focus-ring-4px-gray-100);
|
|
2524
|
+
}
|
|
2525
|
+
.ncua-radio-input :where(input):checked {
|
|
2526
|
+
border-color: var(--gray-700);
|
|
2527
|
+
outline: none;
|
|
2528
|
+
}
|
|
2529
|
+
.ncua-radio-input :where(input):disabled {
|
|
2530
|
+
border-color: var(--gray-200);
|
|
2531
|
+
background-color: var(--gray-100);
|
|
2532
|
+
}
|
|
2533
|
+
.ncua-radio-input :where(input)::before {
|
|
2534
|
+
position: absolute;
|
|
2535
|
+
top: 50%;
|
|
2536
|
+
left: 50%;
|
|
2537
|
+
content: "";
|
|
2538
|
+
transform: translate(-50%, -50%);
|
|
2539
|
+
width: 6px;
|
|
2540
|
+
height: 6px;
|
|
2541
|
+
border-radius: 50%;
|
|
2542
|
+
}
|
|
2543
|
+
.ncua-radio-input :where(input):disabled::before {
|
|
2544
|
+
background-color: var(--gray-100);
|
|
2545
|
+
}
|
|
2546
|
+
.ncua-radio-input :where(input):checked::before {
|
|
2547
|
+
background-color: var(--gray-700);
|
|
2548
|
+
}
|
|
2549
|
+
.ncua-radio-input :where(input):checked:disabled::before {
|
|
2550
|
+
background-color: var(--gray-200);
|
|
2551
|
+
}
|
|
2552
|
+
.ncua-radio-input.destructive :where(input) {
|
|
2553
|
+
border-color: var(--primary-red-600);
|
|
2554
|
+
}
|
|
2555
|
+
.ncua-radio-input.destructive :where(input):focus {
|
|
2556
|
+
border-color: var(--primary-red-600);
|
|
2557
|
+
box-shadow: var(--shadow-xs-focused-4px-error-100);
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
.ncua-radio-field {
|
|
2561
|
+
position: relative;
|
|
2562
|
+
line-height: var(--line-heights-xs);
|
|
2563
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
2564
|
+
font-size: var(--font-size-xs);
|
|
2565
|
+
cursor: pointer;
|
|
2566
|
+
}
|
|
2567
|
+
.ncua-radio-field__text {
|
|
2568
|
+
display: block;
|
|
2569
|
+
color: var(--gray-500);
|
|
2570
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
2571
|
+
}
|
|
2572
|
+
.ncua-radio-field__support-text {
|
|
2573
|
+
color: var(--gray-400);
|
|
2574
|
+
}
|
|
2575
|
+
.ncua-radio-field--sm .ncua-radio-field__text, .ncua-radio-field--sm .ncua-radio-field__support-text {
|
|
2576
|
+
font-size: var(--font-size-sm);
|
|
2577
|
+
line-height: var(--line-heights-sm);
|
|
2578
|
+
}
|
|
2579
|
+
.ncua-radio-field.has-text {
|
|
2152
2580
|
display: inline-flex;
|
|
2153
2581
|
gap: 6px;
|
|
2154
2582
|
}
|
|
@@ -2173,14 +2601,14 @@ button {
|
|
|
2173
2601
|
.ncua-tag--sm {
|
|
2174
2602
|
font-size: var(--font-size-xxxs);
|
|
2175
2603
|
padding: 2px 8px;
|
|
2176
|
-
line-height:
|
|
2177
|
-
border-radius:
|
|
2604
|
+
line-height: var(--line-heights-xxxs);
|
|
2605
|
+
border-radius: var(--border-radius-xs);
|
|
2178
2606
|
}
|
|
2179
2607
|
.ncua-tag--md {
|
|
2180
2608
|
font-size: var(--font-size-sm);
|
|
2181
2609
|
padding: 1px 9px;
|
|
2182
|
-
line-height:
|
|
2183
|
-
border-radius:
|
|
2610
|
+
line-height: var(--line-heights-sm);
|
|
2611
|
+
border-radius: var(--border-radius-sm);
|
|
2184
2612
|
}
|
|
2185
2613
|
.ncua-tag__text {
|
|
2186
2614
|
overflow: hidden;
|
|
@@ -2190,28 +2618,28 @@ button {
|
|
|
2190
2618
|
word-wrap: break-word;
|
|
2191
2619
|
}
|
|
2192
2620
|
.ncua-tag > svg, .ncua-tag > .ncua-dot {
|
|
2193
|
-
margin-right:
|
|
2621
|
+
margin-right: var(--spacing-xs);
|
|
2194
2622
|
}
|
|
2195
2623
|
.ncua-tag__count {
|
|
2196
2624
|
display: inline-flex;
|
|
2197
2625
|
align-items: center;
|
|
2198
2626
|
min-width: 16px;
|
|
2199
2627
|
height: 14px;
|
|
2200
|
-
margin-left:
|
|
2628
|
+
margin-left: var(--spacing-sm);
|
|
2201
2629
|
margin-right: -5px;
|
|
2202
2630
|
padding: 0 5px;
|
|
2203
2631
|
background-color: var(--gray-100);
|
|
2204
|
-
border-radius:
|
|
2632
|
+
border-radius: var(--border-radius-xxs);
|
|
2205
2633
|
text-align: center;
|
|
2206
2634
|
}
|
|
2207
2635
|
.ncua-tag__count + .ncua-tag__close {
|
|
2208
|
-
margin-left:
|
|
2636
|
+
margin-left: var(--spacing-sm);
|
|
2209
2637
|
}
|
|
2210
2638
|
.ncua-tag--md .ncua-tag__count {
|
|
2211
2639
|
height: 16px;
|
|
2212
2640
|
}
|
|
2213
2641
|
.ncua-tag__close {
|
|
2214
|
-
margin-left:
|
|
2642
|
+
margin-left: var(--spacing-xxs);
|
|
2215
2643
|
margin-right: -5px;
|
|
2216
2644
|
padding: 0;
|
|
2217
2645
|
display: inline-flex;
|
|
@@ -2220,6 +2648,84 @@ button {
|
|
|
2220
2648
|
background-color: transparent;
|
|
2221
2649
|
border: none;
|
|
2222
2650
|
}
|
|
2651
|
+
.ncua-tag--truncated {
|
|
2652
|
+
position: relative;
|
|
2653
|
+
overflow: visible;
|
|
2654
|
+
}
|
|
2655
|
+
.ncua-tag__tooltip {
|
|
2656
|
+
position: absolute;
|
|
2657
|
+
z-index: 1000;
|
|
2658
|
+
pointer-events: none;
|
|
2659
|
+
}
|
|
2660
|
+
.ncua-tag__tooltip:not([class*="--top-"]):not([class*="--bottom-"]):not([class*="--left"]):not([class*="--right"]) {
|
|
2661
|
+
bottom: 100%;
|
|
2662
|
+
left: 50%;
|
|
2663
|
+
transform: translateX(-50%);
|
|
2664
|
+
margin-bottom: var(--spacing-md);
|
|
2665
|
+
}
|
|
2666
|
+
.ncua-tag__tooltip--top {
|
|
2667
|
+
bottom: 100%;
|
|
2668
|
+
left: 50%;
|
|
2669
|
+
transform: translateX(-50%);
|
|
2670
|
+
margin-bottom: var(--spacing-md);
|
|
2671
|
+
}
|
|
2672
|
+
.ncua-tag__tooltip--bottom {
|
|
2673
|
+
top: 100%;
|
|
2674
|
+
left: 50%;
|
|
2675
|
+
transform: translateX(-50%);
|
|
2676
|
+
margin-top: var(--spacing-md);
|
|
2677
|
+
}
|
|
2678
|
+
.ncua-tag__tooltip--left {
|
|
2679
|
+
right: 100%;
|
|
2680
|
+
top: 50%;
|
|
2681
|
+
transform: translateY(-50%);
|
|
2682
|
+
margin-right: var(--spacing-md);
|
|
2683
|
+
}
|
|
2684
|
+
.ncua-tag__tooltip--right {
|
|
2685
|
+
left: 100%;
|
|
2686
|
+
top: 50%;
|
|
2687
|
+
transform: translateY(-50%);
|
|
2688
|
+
margin-left: var(--spacing-md);
|
|
2689
|
+
}
|
|
2690
|
+
.ncua-tag__tooltip--top-left {
|
|
2691
|
+
bottom: 100%;
|
|
2692
|
+
right: 0;
|
|
2693
|
+
margin-bottom: var(--spacing-md);
|
|
2694
|
+
}
|
|
2695
|
+
.ncua-tag__tooltip--top-right {
|
|
2696
|
+
bottom: 100%;
|
|
2697
|
+
left: 0;
|
|
2698
|
+
margin-bottom: var(--spacing-md);
|
|
2699
|
+
}
|
|
2700
|
+
.ncua-tag__tooltip--bottom-left {
|
|
2701
|
+
top: 100%;
|
|
2702
|
+
right: 0;
|
|
2703
|
+
margin-top: var(--spacing-md);
|
|
2704
|
+
}
|
|
2705
|
+
.ncua-tag__tooltip--bottom-right {
|
|
2706
|
+
top: 100%;
|
|
2707
|
+
left: 0;
|
|
2708
|
+
margin-top: var(--spacing-md);
|
|
2709
|
+
}
|
|
2710
|
+
.ncua-tag__tooltip--measuring {
|
|
2711
|
+
opacity: 0;
|
|
2712
|
+
visibility: hidden;
|
|
2713
|
+
}
|
|
2714
|
+
.ncua-tag__tooltip-content {
|
|
2715
|
+
display: block;
|
|
2716
|
+
padding: var(--spacing-md) var(--spacing-lg);
|
|
2717
|
+
background-color: var(--base-white);
|
|
2718
|
+
color: var(--gray-500);
|
|
2719
|
+
font-size: var(--font-size-xxs);
|
|
2720
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
2721
|
+
line-height: 1.33;
|
|
2722
|
+
border-radius: var(--border-radius-sm);
|
|
2723
|
+
border: 1px solid var(--gray-100);
|
|
2724
|
+
white-space: nowrap;
|
|
2725
|
+
text-align: center;
|
|
2726
|
+
max-width: var(--max-width-tooltip);
|
|
2727
|
+
box-shadow: var(--shadow-tooltip);
|
|
2728
|
+
}
|
|
2223
2729
|
|
|
2224
2730
|
.ncua-tooltip {
|
|
2225
2731
|
position: relative;
|
|
@@ -2230,6 +2736,10 @@ button {
|
|
|
2230
2736
|
.ncua-tooltip svg {
|
|
2231
2737
|
cursor: pointer;
|
|
2232
2738
|
}
|
|
2739
|
+
.ncua-tooltip__icon {
|
|
2740
|
+
display: inline-block;
|
|
2741
|
+
cursor: pointer;
|
|
2742
|
+
}
|
|
2233
2743
|
.ncua-tooltip__bg {
|
|
2234
2744
|
position: absolute;
|
|
2235
2745
|
border-radius: 6px;
|
|
@@ -2237,7 +2747,7 @@ button {
|
|
|
2237
2747
|
display: flex;
|
|
2238
2748
|
flex-direction: column;
|
|
2239
2749
|
gap: 4px;
|
|
2240
|
-
box-shadow:
|
|
2750
|
+
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
2241
2751
|
}
|
|
2242
2752
|
.ncua-tooltip__bg::after {
|
|
2243
2753
|
position: absolute;
|
|
@@ -2247,6 +2757,31 @@ button {
|
|
|
2247
2757
|
.ncua-tooltip__content {
|
|
2248
2758
|
line-height: 14px;
|
|
2249
2759
|
width: max-content;
|
|
2760
|
+
font-weight: 100;
|
|
2761
|
+
}
|
|
2762
|
+
.ncua-tooltip__close-button {
|
|
2763
|
+
position: absolute;
|
|
2764
|
+
top: 4px;
|
|
2765
|
+
right: 8px;
|
|
2766
|
+
background: none;
|
|
2767
|
+
border: none;
|
|
2768
|
+
cursor: pointer;
|
|
2769
|
+
padding: 4px;
|
|
2770
|
+
border-radius: 4px;
|
|
2771
|
+
display: flex;
|
|
2772
|
+
align-items: center;
|
|
2773
|
+
justify-content: center;
|
|
2774
|
+
color: inherit;
|
|
2775
|
+
opacity: 0.7;
|
|
2776
|
+
transition: opacity 0.2s ease;
|
|
2777
|
+
}
|
|
2778
|
+
.ncua-tooltip__close-button:hover {
|
|
2779
|
+
opacity: 1;
|
|
2780
|
+
background-color: transparent;
|
|
2781
|
+
}
|
|
2782
|
+
.ncua-tooltip__close-button svg {
|
|
2783
|
+
width: 14px;
|
|
2784
|
+
height: 14px;
|
|
2250
2785
|
}
|
|
2251
2786
|
.ncua-tooltip__bg--black {
|
|
2252
2787
|
background-color: var(--gray-700);
|
|
@@ -2254,6 +2789,21 @@ button {
|
|
|
2254
2789
|
.ncua-tooltip__bg--black::after {
|
|
2255
2790
|
border-color: var(--gray-700);
|
|
2256
2791
|
}
|
|
2792
|
+
.ncua-tooltip__bg--black .ncua-tooltip__close-button {
|
|
2793
|
+
color: var(--base-white);
|
|
2794
|
+
}
|
|
2795
|
+
.ncua-tooltip__bg--black.ncua-tooltip__bg--left::after {
|
|
2796
|
+
border-left-color: var(--gray-700);
|
|
2797
|
+
border-top-color: transparent;
|
|
2798
|
+
border-bottom-color: transparent;
|
|
2799
|
+
border-right-color: transparent;
|
|
2800
|
+
}
|
|
2801
|
+
.ncua-tooltip__bg--black.ncua-tooltip__bg--right::after {
|
|
2802
|
+
border-right-color: var(--gray-700);
|
|
2803
|
+
border-top-color: transparent;
|
|
2804
|
+
border-bottom-color: transparent;
|
|
2805
|
+
border-left-color: transparent;
|
|
2806
|
+
}
|
|
2257
2807
|
.ncua-tooltip__bg--black .ncua-tooltip__title {
|
|
2258
2808
|
font-weight: 500;
|
|
2259
2809
|
color: var(--base-white);
|
|
@@ -2267,6 +2817,21 @@ button {
|
|
|
2267
2817
|
.ncua-tooltip__bg--white::after {
|
|
2268
2818
|
border-color: var(--base-white);
|
|
2269
2819
|
}
|
|
2820
|
+
.ncua-tooltip__bg--white .ncua-tooltip__close-button {
|
|
2821
|
+
color: var(--gray-600);
|
|
2822
|
+
}
|
|
2823
|
+
.ncua-tooltip__bg--white.ncua-tooltip__bg--left::after {
|
|
2824
|
+
border-left-color: var(--base-white);
|
|
2825
|
+
border-top-color: transparent;
|
|
2826
|
+
border-bottom-color: transparent;
|
|
2827
|
+
border-right-color: transparent;
|
|
2828
|
+
}
|
|
2829
|
+
.ncua-tooltip__bg--white.ncua-tooltip__bg--right::after {
|
|
2830
|
+
border-right-color: var(--base-white);
|
|
2831
|
+
border-top-color: transparent;
|
|
2832
|
+
border-bottom-color: transparent;
|
|
2833
|
+
border-left-color: transparent;
|
|
2834
|
+
}
|
|
2270
2835
|
.ncua-tooltip__bg--white .ncua-tooltip__title {
|
|
2271
2836
|
font-weight: 500;
|
|
2272
2837
|
color: var(--gray-500);
|
|
@@ -2353,6 +2918,34 @@ button {
|
|
|
2353
2918
|
.ncua-tooltip__bg--bottom-right::after {
|
|
2354
2919
|
right: 15px;
|
|
2355
2920
|
}
|
|
2921
|
+
.ncua-tooltip__bg--left {
|
|
2922
|
+
top: 50%;
|
|
2923
|
+
right: calc(100% + 6px);
|
|
2924
|
+
transform: translateY(-50%);
|
|
2925
|
+
}
|
|
2926
|
+
.ncua-tooltip__bg--left::after {
|
|
2927
|
+
left: 100%;
|
|
2928
|
+
top: 50%;
|
|
2929
|
+
transform: translateY(-50%);
|
|
2930
|
+
border-top: 6px solid transparent;
|
|
2931
|
+
border-bottom: 6px solid transparent;
|
|
2932
|
+
border-left: 6px solid;
|
|
2933
|
+
border-right: 0;
|
|
2934
|
+
}
|
|
2935
|
+
.ncua-tooltip__bg--right {
|
|
2936
|
+
top: 50%;
|
|
2937
|
+
left: calc(100% + 6px);
|
|
2938
|
+
transform: translateY(-50%);
|
|
2939
|
+
}
|
|
2940
|
+
.ncua-tooltip__bg--right::after {
|
|
2941
|
+
right: 100%;
|
|
2942
|
+
top: 50%;
|
|
2943
|
+
transform: translateY(-50%);
|
|
2944
|
+
border-top: 6px solid transparent;
|
|
2945
|
+
border-bottom: 6px solid transparent;
|
|
2946
|
+
border-right: 6px solid;
|
|
2947
|
+
border-left: 0;
|
|
2948
|
+
}
|
|
2356
2949
|
.ncua-tooltip--hidden-arrow .ncua-tooltip__bg::after {
|
|
2357
2950
|
content: none;
|
|
2358
2951
|
}
|
|
@@ -2362,10 +2955,59 @@ button {
|
|
|
2362
2955
|
.ncua-tooltip:not(:hover) .ncua-tooltip__bg {
|
|
2363
2956
|
display: none;
|
|
2364
2957
|
}
|
|
2365
|
-
.ncua-tooltip:
|
|
2366
|
-
|
|
2958
|
+
.ncua-tooltip:hover .ncua-tooltip__bg {
|
|
2959
|
+
display: flex;
|
|
2367
2960
|
}
|
|
2368
|
-
|
|
2961
|
+
.ncua-tooltip--long:not(:hover) .ncua-tooltip__bg--visible {
|
|
2962
|
+
display: flex;
|
|
2963
|
+
}
|
|
2964
|
+
.ncua-tooltip--auto .ncua-tooltip__bg {
|
|
2965
|
+
display: none;
|
|
2966
|
+
}
|
|
2967
|
+
.ncua-tooltip--auto .ncua-tooltip__bg--visible {
|
|
2968
|
+
display: flex;
|
|
2969
|
+
}
|
|
2970
|
+
.ncua-tooltip--auto .ncua-tooltip__bg--measuring {
|
|
2971
|
+
display: flex !important;
|
|
2972
|
+
visibility: hidden !important;
|
|
2973
|
+
}
|
|
2974
|
+
.ncua-tooltip--auto .ncua-tooltip__bg--force-hidden {
|
|
2975
|
+
display: none !important;
|
|
2976
|
+
}
|
|
2977
|
+
.ncua-tooltip:has(.ncua-tooltip__title) .ncua-tooltip__bg {
|
|
2978
|
+
padding: 12px;
|
|
2979
|
+
}
|
|
2980
|
+
.ncua-tooltip__bg:has(.ncua-tooltip__close-button) {
|
|
2981
|
+
padding-right: 35px;
|
|
2982
|
+
}
|
|
2983
|
+
.ncua-tooltip--long .ncua-tooltip__bg {
|
|
2984
|
+
padding: 12px;
|
|
2985
|
+
padding-right: 36px;
|
|
2986
|
+
}
|
|
2987
|
+
.ncua-tooltip--short .ncua-tooltip__bg {
|
|
2988
|
+
white-space: nowrap;
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
.ncua-tooltip-global-layer {
|
|
2992
|
+
position: fixed;
|
|
2993
|
+
inset: 0;
|
|
2994
|
+
pointer-events: none;
|
|
2995
|
+
z-index: 2000;
|
|
2996
|
+
display: block;
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
.ncua-tooltip-panel {
|
|
3000
|
+
position: fixed;
|
|
3001
|
+
left: -99999px;
|
|
3002
|
+
top: -99999px;
|
|
3003
|
+
opacity: 0;
|
|
3004
|
+
transition: opacity 0.18s ease;
|
|
3005
|
+
pointer-events: auto;
|
|
3006
|
+
right: auto;
|
|
3007
|
+
bottom: auto;
|
|
3008
|
+
transform: none;
|
|
3009
|
+
}
|
|
3010
|
+
|
|
2369
3011
|
:root {
|
|
2370
3012
|
--select-height-xs: 28px;
|
|
2371
3013
|
--select-height-sm: 36px;
|
|
@@ -2385,6 +3027,7 @@ button {
|
|
|
2385
3027
|
border: 1px solid var(--gray-200);
|
|
2386
3028
|
background-color: var(--base-white);
|
|
2387
3029
|
overflow: hidden;
|
|
3030
|
+
box-shadow: var(--shadow-xs);
|
|
2388
3031
|
}
|
|
2389
3032
|
.ncua-select__tag {
|
|
2390
3033
|
-webkit-appearance: none;
|
|
@@ -2394,63 +3037,76 @@ button {
|
|
|
2394
3037
|
flex: 1;
|
|
2395
3038
|
outline: none;
|
|
2396
3039
|
color: var(--gray-700);
|
|
2397
|
-
background:
|
|
3040
|
+
background: var(--base-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23757678' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center;
|
|
3041
|
+
background-size: var(--icon-size) var(--icon-size);
|
|
3042
|
+
}
|
|
3043
|
+
.ncua-select__tag:disabled {
|
|
3044
|
+
background: var(--gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23757678' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center;
|
|
2398
3045
|
background-size: var(--icon-size) var(--icon-size);
|
|
3046
|
+
cursor: not-allowed;
|
|
3047
|
+
color: var(--gray-300);
|
|
2399
3048
|
}
|
|
2400
3049
|
.ncua-select__content:focus-within {
|
|
2401
3050
|
border-color: var(--gray-400);
|
|
2402
3051
|
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
2403
3052
|
}
|
|
3053
|
+
.ncua-select__content:has(.ncua-select__tag:disabled) {
|
|
3054
|
+
border-color: var(--gray-200);
|
|
3055
|
+
}
|
|
2404
3056
|
.ncua-select.destructive .ncua-select__content {
|
|
2405
3057
|
border-color: var(--primary-red-600);
|
|
2406
3058
|
}
|
|
2407
3059
|
.ncua-select.destructive .ncua-select__content:focus-within {
|
|
2408
3060
|
box-shadow: var(--shadow-xs-focused-4px-error-100);
|
|
2409
3061
|
}
|
|
2410
|
-
.ncua-select--xs {
|
|
3062
|
+
.ncua-select--xs .ncua-select__content {
|
|
2411
3063
|
height: var(--select-height-xs);
|
|
2412
3064
|
border-radius: 6px;
|
|
2413
3065
|
}
|
|
2414
|
-
.ncua-select--xs
|
|
3066
|
+
.ncua-select--xs .ncua-select__tag {
|
|
2415
3067
|
padding-inline: 10px 28px;
|
|
2416
3068
|
font-size: var(--font-size-xs);
|
|
2417
3069
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2418
3070
|
line-height: var(--line-heights-xs);
|
|
2419
3071
|
}
|
|
2420
|
-
.ncua-select--xs
|
|
3072
|
+
.ncua-select--xs .ncua-hint-text {
|
|
2421
3073
|
margin-block-start: 4px;
|
|
2422
3074
|
font-size: var(--font-size-xxs);
|
|
2423
3075
|
line-height: var(--line-heights-xxs);
|
|
2424
3076
|
}
|
|
2425
3077
|
.ncua-select--sm {
|
|
3078
|
+
--icon-size: 16px;
|
|
3079
|
+
}
|
|
3080
|
+
.ncua-select--sm .ncua-select__content {
|
|
2426
3081
|
height: var(--select-height-sm);
|
|
2427
3082
|
border-radius: 6px;
|
|
2428
|
-
--icon-size: 16px;
|
|
2429
3083
|
}
|
|
2430
|
-
.ncua-select--sm
|
|
3084
|
+
.ncua-select--sm .ncua-select__tag {
|
|
2431
3085
|
padding-inline: 12px 30px;
|
|
2432
3086
|
font-size: var(--font-size-sm);
|
|
2433
3087
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2434
3088
|
line-height: var(--line-heights-sm);
|
|
2435
3089
|
}
|
|
2436
|
-
.ncua-select--sm
|
|
3090
|
+
.ncua-select--sm .ncua-hint-text {
|
|
2437
3091
|
margin-block-start: 6px;
|
|
2438
3092
|
font-size: var(--font-size-xs);
|
|
2439
3093
|
line-height: var(--line-heights-xs);
|
|
2440
3094
|
}
|
|
2441
3095
|
.ncua-select--md {
|
|
3096
|
+
--icon-size: 16px;
|
|
3097
|
+
}
|
|
3098
|
+
.ncua-select--md .ncua-select__content {
|
|
2442
3099
|
min-width: 132px;
|
|
2443
3100
|
height: var(--select-height-md);
|
|
2444
3101
|
border-radius: 8px;
|
|
2445
|
-
--icon-size: 16px;
|
|
2446
3102
|
}
|
|
2447
|
-
.ncua-select--md
|
|
3103
|
+
.ncua-select--md .ncua-select__tag {
|
|
2448
3104
|
padding-inline: 12px 30px;
|
|
2449
3105
|
font-size: var(--font-size-sm);
|
|
2450
3106
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2451
3107
|
line-height: var(--line-heights-sm);
|
|
2452
3108
|
}
|
|
2453
|
-
.ncua-select--md
|
|
3109
|
+
.ncua-select--md .ncua-hint-text {
|
|
2454
3110
|
margin-block-start: 6px;
|
|
2455
3111
|
font-size: var(--font-size-xs);
|
|
2456
3112
|
line-height: var(--line-heights-xs);
|
|
@@ -2475,6 +3131,294 @@ button {
|
|
|
2475
3131
|
border-radius: 0;
|
|
2476
3132
|
}
|
|
2477
3133
|
|
|
3134
|
+
:root {
|
|
3135
|
+
--select-dropdown-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
.ncua-select-dropdown {
|
|
3139
|
+
position: absolute;
|
|
3140
|
+
left: 0;
|
|
3141
|
+
z-index: 1;
|
|
3142
|
+
overflow: hidden;
|
|
3143
|
+
min-width: 100%;
|
|
3144
|
+
width: max-content;
|
|
3145
|
+
background-color: var(--base-white);
|
|
3146
|
+
border: 1px solid var(--gray-100);
|
|
3147
|
+
border-radius: 8px;
|
|
3148
|
+
box-shadow: var(--shadow-lg);
|
|
3149
|
+
}
|
|
3150
|
+
.ncua-select-dropdown--down {
|
|
3151
|
+
top: calc(100% + 4px);
|
|
3152
|
+
}
|
|
3153
|
+
.ncua-select-dropdown--up {
|
|
3154
|
+
bottom: calc(100% + 4px);
|
|
3155
|
+
}
|
|
3156
|
+
.ncua-select-dropdown__content {
|
|
3157
|
+
padding: 8px 6px;
|
|
3158
|
+
}
|
|
3159
|
+
.ncua-select-dropdown__options {
|
|
3160
|
+
margin: 0;
|
|
3161
|
+
padding: 0;
|
|
3162
|
+
list-style: none;
|
|
3163
|
+
overflow-y: auto;
|
|
3164
|
+
overscroll-behavior: contain;
|
|
3165
|
+
scrollbar-width: thin;
|
|
3166
|
+
scrollbar-color: #eaecf0 transparent;
|
|
3167
|
+
}
|
|
3168
|
+
.ncua-select-dropdown__options::-webkit-scrollbar {
|
|
3169
|
+
width: 6px;
|
|
3170
|
+
}
|
|
3171
|
+
.ncua-select-dropdown__options::-webkit-scrollbar-track {
|
|
3172
|
+
background: transparent;
|
|
3173
|
+
border-radius: 8px;
|
|
3174
|
+
}
|
|
3175
|
+
.ncua-select-dropdown__options::-webkit-scrollbar-thumb {
|
|
3176
|
+
background: #eaecf0;
|
|
3177
|
+
border-radius: 8px;
|
|
3178
|
+
}
|
|
3179
|
+
.ncua-select-dropdown__options::-webkit-scrollbar-thumb:hover {
|
|
3180
|
+
background: #d0d5dd;
|
|
3181
|
+
}
|
|
3182
|
+
.ncua-select-dropdown__option {
|
|
3183
|
+
min-width: 84px;
|
|
3184
|
+
padding: 8px 26px 8px 12px;
|
|
3185
|
+
cursor: pointer;
|
|
3186
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
3187
|
+
position: relative;
|
|
3188
|
+
border-radius: 6px;
|
|
3189
|
+
}
|
|
3190
|
+
.ncua-select-dropdown__option:hover, .ncua-select-dropdown__option--focused {
|
|
3191
|
+
background-color: var(--gray-50);
|
|
3192
|
+
}
|
|
3193
|
+
.ncua-select-dropdown__option--selected {
|
|
3194
|
+
background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 24 24' stroke='none'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M20.707 5.293a1 1 0 0 1 0 1.414l-11 11a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L9 15.586 19.293 5.293a1 1 0 0 1 1.414 0' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 8px center;
|
|
3195
|
+
}
|
|
3196
|
+
.ncua-select-dropdown__option__option-text {
|
|
3197
|
+
display: inline-block;
|
|
3198
|
+
max-width: 327px;
|
|
3199
|
+
color: var(--gray-600);
|
|
3200
|
+
white-space: nowrap;
|
|
3201
|
+
overflow: hidden;
|
|
3202
|
+
text-overflow: ellipsis;
|
|
3203
|
+
}
|
|
3204
|
+
.ncua-select-dropdown--xs .ncua-select-dropdown__option {
|
|
3205
|
+
font-size: var(--font-size-xs);
|
|
3206
|
+
line-height: var(--line-heights-xs);
|
|
3207
|
+
}
|
|
3208
|
+
.ncua-select-dropdown--sm .ncua-select-dropdown__option {
|
|
3209
|
+
font-size: var(--font-size-xs);
|
|
3210
|
+
line-height: var(--line-heights-xs);
|
|
3211
|
+
}
|
|
3212
|
+
.ncua-select-dropdown--md .ncua-select-dropdown__option {
|
|
3213
|
+
font-size: var(--font-size-sm);
|
|
3214
|
+
line-height: var(--line-heights-sm);
|
|
3215
|
+
}
|
|
3216
|
+
.ncua-select-dropdown__footer {
|
|
3217
|
+
border-top: 1px solid var(--gray-100);
|
|
3218
|
+
background-color: var(--color-white);
|
|
3219
|
+
border-radius: 0 0 8px 8px;
|
|
3220
|
+
}
|
|
3221
|
+
.ncua-select-dropdown__footer-buttons {
|
|
3222
|
+
display: flex;
|
|
3223
|
+
justify-content: space-between;
|
|
3224
|
+
align-items: center;
|
|
3225
|
+
padding: 8px 12px;
|
|
3226
|
+
}
|
|
3227
|
+
.ncua-select-dropdown__footer-left {
|
|
3228
|
+
display: flex;
|
|
3229
|
+
align-items: center;
|
|
3230
|
+
}
|
|
3231
|
+
.ncua-select-dropdown__footer-right {
|
|
3232
|
+
display: flex;
|
|
3233
|
+
align-items: center;
|
|
3234
|
+
gap: 4px;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
:root {
|
|
3238
|
+
--selectbox-simple-height-xs: 18px;
|
|
3239
|
+
--selectbox-simple-height-sm: 22px;
|
|
3240
|
+
--selectbox-simple-height-md: 22px;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
.ncua-selectbox {
|
|
3244
|
+
position: relative;
|
|
3245
|
+
display: inline-block;
|
|
3246
|
+
}
|
|
3247
|
+
.ncua-selectbox__content {
|
|
3248
|
+
position: relative;
|
|
3249
|
+
display: flex;
|
|
3250
|
+
align-items: center;
|
|
3251
|
+
background-color: var(--base-white);
|
|
3252
|
+
border: 1px solid var(--gray-200);
|
|
3253
|
+
cursor: pointer;
|
|
3254
|
+
transition: all 0.15s ease-in-out;
|
|
3255
|
+
}
|
|
3256
|
+
.ncua-selectbox__content:hover:not(.ncua-selectbox--disabled .ncua-selectbox__content) {
|
|
3257
|
+
border-color: var(--gray-300);
|
|
3258
|
+
}
|
|
3259
|
+
.ncua-selectbox__content:focus {
|
|
3260
|
+
outline: none;
|
|
3261
|
+
border-color: var(--gray-400);
|
|
3262
|
+
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
3263
|
+
}
|
|
3264
|
+
.ncua-selectbox__value {
|
|
3265
|
+
flex: 1;
|
|
3266
|
+
overflow: hidden;
|
|
3267
|
+
text-overflow: ellipsis;
|
|
3268
|
+
white-space: nowrap;
|
|
3269
|
+
color: var(--gray-700);
|
|
3270
|
+
}
|
|
3271
|
+
.ncua-selectbox__value:empty::before {
|
|
3272
|
+
content: attr(data-placeholder);
|
|
3273
|
+
color: var(--gray-400);
|
|
3274
|
+
}
|
|
3275
|
+
.ncua-selectbox__chevron {
|
|
3276
|
+
position: absolute;
|
|
3277
|
+
right: 8px;
|
|
3278
|
+
top: 50%;
|
|
3279
|
+
transform: translateY(-50%);
|
|
3280
|
+
transition: transform 0.2s ease-in-out;
|
|
3281
|
+
pointer-events: none;
|
|
3282
|
+
display: flex;
|
|
3283
|
+
align-items: center;
|
|
3284
|
+
justify-content: center;
|
|
3285
|
+
color: var(--gray-500);
|
|
3286
|
+
}
|
|
3287
|
+
.ncua-selectbox__chevron svg {
|
|
3288
|
+
width: var(--icon-size);
|
|
3289
|
+
height: var(--icon-size);
|
|
3290
|
+
}
|
|
3291
|
+
.ncua-selectbox__chevron--up {
|
|
3292
|
+
transform: translateY(-50%) rotate(180deg);
|
|
3293
|
+
}
|
|
3294
|
+
.ncua-selectbox__arrow {
|
|
3295
|
+
position: absolute;
|
|
3296
|
+
right: 8px;
|
|
3297
|
+
top: 50%;
|
|
3298
|
+
transform: translateY(-50%);
|
|
3299
|
+
transition: transform 0.2s ease-in-out;
|
|
3300
|
+
pointer-events: none;
|
|
3301
|
+
display: flex;
|
|
3302
|
+
align-items: center;
|
|
3303
|
+
justify-content: center;
|
|
3304
|
+
color: var(--gray-400);
|
|
3305
|
+
}
|
|
3306
|
+
.ncua-selectbox__arrow svg {
|
|
3307
|
+
width: var(--icon-size);
|
|
3308
|
+
height: var(--icon-size);
|
|
3309
|
+
}
|
|
3310
|
+
.ncua-selectbox__arrow--up {
|
|
3311
|
+
transform: translateY(-50%) rotate(180deg);
|
|
3312
|
+
}
|
|
3313
|
+
.ncua-selectbox--open .ncua-selectbox__content {
|
|
3314
|
+
border-color: var(--gray-400);
|
|
3315
|
+
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
3316
|
+
}
|
|
3317
|
+
.ncua-selectbox--disabled .ncua-selectbox__content {
|
|
3318
|
+
background-color: var(--gray-50);
|
|
3319
|
+
border-color: var(--gray-200);
|
|
3320
|
+
cursor: not-allowed;
|
|
3321
|
+
}
|
|
3322
|
+
.ncua-selectbox--disabled .ncua-selectbox__value {
|
|
3323
|
+
color: var(--gray-400);
|
|
3324
|
+
}
|
|
3325
|
+
.ncua-selectbox--disabled .ncua-selectbox__arrow {
|
|
3326
|
+
color: var(--gray-300);
|
|
3327
|
+
}
|
|
3328
|
+
.ncua-selectbox.destructive .ncua-selectbox__content {
|
|
3329
|
+
border-color: var(--primary-red-600);
|
|
3330
|
+
}
|
|
3331
|
+
.ncua-selectbox.destructive .ncua-selectbox__content:focus {
|
|
3332
|
+
box-shadow: var(--shadow-xs-focused-4px-error-100);
|
|
3333
|
+
}
|
|
3334
|
+
.ncua-selectbox--xs .ncua-selectbox__content {
|
|
3335
|
+
height: var(--select-height-xs);
|
|
3336
|
+
border-radius: 6px;
|
|
3337
|
+
}
|
|
3338
|
+
.ncua-selectbox--xs .ncua-selectbox__value {
|
|
3339
|
+
padding-inline: 10px 28px;
|
|
3340
|
+
font-size: var(--font-size-xs);
|
|
3341
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
3342
|
+
line-height: var(--line-heights-xs);
|
|
3343
|
+
}
|
|
3344
|
+
.ncua-selectbox--xs .ncua-hint-text {
|
|
3345
|
+
margin-block-start: 4px;
|
|
3346
|
+
font-size: var(--font-size-xxs);
|
|
3347
|
+
line-height: var(--line-heights-xxs);
|
|
3348
|
+
}
|
|
3349
|
+
.ncua-selectbox--sm {
|
|
3350
|
+
--icon-size: 16px;
|
|
3351
|
+
}
|
|
3352
|
+
.ncua-selectbox--sm .ncua-selectbox__content {
|
|
3353
|
+
height: var(--select-height-sm);
|
|
3354
|
+
border-radius: 6px;
|
|
3355
|
+
}
|
|
3356
|
+
.ncua-selectbox--sm .ncua-selectbox__value {
|
|
3357
|
+
padding-inline: 12px 30px;
|
|
3358
|
+
font-size: var(--font-size-sm);
|
|
3359
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
3360
|
+
line-height: var(--line-heights-sm);
|
|
3361
|
+
}
|
|
3362
|
+
.ncua-selectbox--sm .ncua-hint-text {
|
|
3363
|
+
margin-block-start: 6px;
|
|
3364
|
+
font-size: var(--font-size-xs);
|
|
3365
|
+
line-height: var(--line-heights-xs);
|
|
3366
|
+
}
|
|
3367
|
+
.ncua-selectbox--md {
|
|
3368
|
+
min-width: 132px;
|
|
3369
|
+
--icon-size: 16px;
|
|
3370
|
+
}
|
|
3371
|
+
.ncua-selectbox--md .ncua-selectbox__content {
|
|
3372
|
+
height: var(--select-height-md);
|
|
3373
|
+
border-radius: 8px;
|
|
3374
|
+
}
|
|
3375
|
+
.ncua-selectbox--md .ncua-selectbox__value {
|
|
3376
|
+
padding-inline: 12px 30px;
|
|
3377
|
+
font-size: var(--font-size-sm);
|
|
3378
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3379
|
+
line-height: var(--line-heights-sm);
|
|
3380
|
+
}
|
|
3381
|
+
.ncua-selectbox--md .ncua-hint-text {
|
|
3382
|
+
margin-block-start: 6px;
|
|
3383
|
+
font-size: var(--font-size-xs);
|
|
3384
|
+
line-height: var(--line-heights-xs);
|
|
3385
|
+
}
|
|
3386
|
+
.ncua-selectbox--simple .ncua-selectbox__content {
|
|
3387
|
+
border: 0;
|
|
3388
|
+
background-color: transparent;
|
|
3389
|
+
}
|
|
3390
|
+
.ncua-selectbox--simple .ncua-selectbox__content:hover:not(.ncua-selectbox--disabled .ncua-selectbox--simple .ncua-selectbox__content) {
|
|
3391
|
+
border-color: transparent;
|
|
3392
|
+
}
|
|
3393
|
+
.ncua-selectbox--simple .ncua-selectbox__content:focus {
|
|
3394
|
+
border-color: transparent;
|
|
3395
|
+
box-shadow: none;
|
|
3396
|
+
}
|
|
3397
|
+
.ncua-selectbox--simple.ncua-selectbox--xs .ncua-selectbox__content {
|
|
3398
|
+
min-width: auto;
|
|
3399
|
+
height: var(--selectbox-simple-height-xs);
|
|
3400
|
+
border-radius: 0;
|
|
3401
|
+
}
|
|
3402
|
+
.ncua-selectbox--simple.ncua-selectbox--sm .ncua-selectbox__content {
|
|
3403
|
+
min-width: auto;
|
|
3404
|
+
height: var(--selectbox-simple-height-sm);
|
|
3405
|
+
border-radius: 0;
|
|
3406
|
+
}
|
|
3407
|
+
.ncua-selectbox--simple.ncua-selectbox--md .ncua-selectbox__content {
|
|
3408
|
+
min-width: auto;
|
|
3409
|
+
height: var(--selectbox-simple-height-md);
|
|
3410
|
+
border-radius: 0;
|
|
3411
|
+
}
|
|
3412
|
+
.ncua-selectbox--multiple {
|
|
3413
|
+
min-width: 320px;
|
|
3414
|
+
}
|
|
3415
|
+
.ncua-selectbox__tags {
|
|
3416
|
+
display: flex;
|
|
3417
|
+
flex-wrap: wrap;
|
|
3418
|
+
gap: 4px;
|
|
3419
|
+
margin-top: 8px;
|
|
3420
|
+
}
|
|
3421
|
+
|
|
2478
3422
|
.ncua-pagination {
|
|
2479
3423
|
display: flex;
|
|
2480
3424
|
align-items: center;
|
|
@@ -2607,20 +3551,226 @@ button {
|
|
|
2607
3551
|
box-shadow: var(--shadow-lg);
|
|
2608
3552
|
}
|
|
2609
3553
|
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
3554
|
+
:root {
|
|
3555
|
+
--switch-xxs-height: 24px;
|
|
3556
|
+
--switch-xxs-line-height: 14px;
|
|
3557
|
+
--switch-xxs-padding: 5px 12px;
|
|
3558
|
+
--switch-xxs-border-radius: 4px;
|
|
3559
|
+
--switch-xxs-gap: 0px;
|
|
3560
|
+
--switch-xs-height: 28px;
|
|
3561
|
+
--switch-xs-line-height: 18px;
|
|
3562
|
+
--switch-xs-padding: 5px 12px;
|
|
3563
|
+
--switch-xs-border-radius: 6px;
|
|
3564
|
+
--switch-xs-gap: 0px;
|
|
3565
|
+
--switch-sm-height: 32px;
|
|
3566
|
+
--switch-sm-line-height: 22px;
|
|
3567
|
+
--switch-sm-padding: 5px 12px;
|
|
3568
|
+
--switch-sm-border-radius: 6px;
|
|
3569
|
+
--switch-sm-gap: 0px;
|
|
3570
|
+
--switch-md-height: 36px;
|
|
3571
|
+
--switch-md-line-height: 22px;
|
|
3572
|
+
--switch-md-padding: 5px 12px;
|
|
3573
|
+
--switch-md-border-radius: 8px;
|
|
3574
|
+
--switch-md-gap: 0px;
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
.ncua-switch {
|
|
3578
|
+
position: relative;
|
|
3579
|
+
display: inline-grid;
|
|
3580
|
+
grid-template-columns: 1fr 1fr;
|
|
3581
|
+
gap: 2px;
|
|
3582
|
+
align-items: center;
|
|
3583
|
+
background-color: var(--gray-100);
|
|
3584
|
+
padding: 2px;
|
|
3585
|
+
user-select: none;
|
|
3586
|
+
vertical-align: top;
|
|
3587
|
+
cursor: pointer;
|
|
3588
|
+
margin: 0;
|
|
3589
|
+
font-weight: inherit;
|
|
3590
|
+
height: var(--switch-xs-height);
|
|
3591
|
+
border-radius: var(--switch-xs-border-radius);
|
|
3592
|
+
gap: var(--switch-xs-gap);
|
|
2621
3593
|
}
|
|
2622
|
-
.ncua-
|
|
2623
|
-
|
|
3594
|
+
.ncua-switch__radio {
|
|
3595
|
+
display: none;
|
|
3596
|
+
position: absolute;
|
|
3597
|
+
opacity: 0;
|
|
3598
|
+
width: 0;
|
|
3599
|
+
height: 0;
|
|
3600
|
+
margin: 0;
|
|
3601
|
+
padding: 0;
|
|
3602
|
+
pointer-events: none;
|
|
3603
|
+
}
|
|
3604
|
+
.ncua-switch__option {
|
|
3605
|
+
position: relative;
|
|
3606
|
+
display: flex;
|
|
3607
|
+
align-items: center;
|
|
3608
|
+
justify-content: center;
|
|
3609
|
+
min-width: 0;
|
|
3610
|
+
background-color: var(--gray-100);
|
|
3611
|
+
border: none;
|
|
3612
|
+
cursor: pointer;
|
|
3613
|
+
transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
|
3614
|
+
font-family: inherit;
|
|
3615
|
+
font-weight: var(--font-weights-medium);
|
|
3616
|
+
color: var(--gray-300);
|
|
3617
|
+
outline: none;
|
|
3618
|
+
white-space: nowrap;
|
|
3619
|
+
text-align: center;
|
|
3620
|
+
height: calc(var(--switch-xs-height) - 4px);
|
|
3621
|
+
padding: var(--switch-xs-padding);
|
|
3622
|
+
font-size: var(--font-size-xs);
|
|
3623
|
+
line-height: var(--switch-xs-line-height);
|
|
3624
|
+
border-radius: calc(var(--switch-xs-border-radius) - 2px);
|
|
3625
|
+
}
|
|
3626
|
+
.ncua-switch__option--active {
|
|
3627
|
+
background-color: var(--base-white);
|
|
3628
|
+
color: var(--gray-600);
|
|
3629
|
+
box-shadow: var(--shadow-sm);
|
|
3630
|
+
z-index: 1;
|
|
3631
|
+
}
|
|
3632
|
+
.ncua-switch__option--inactive {
|
|
3633
|
+
background-color: var(--gray-100);
|
|
3634
|
+
color: var(--gray-300);
|
|
3635
|
+
}
|
|
3636
|
+
.ncua-switch__option:not(:disabled):hover:not(.ncua-switch__option--active) {
|
|
3637
|
+
background-color: var(--gray-100);
|
|
3638
|
+
color: var(--gray-400);
|
|
3639
|
+
}
|
|
3640
|
+
.ncua-switch__label {
|
|
3641
|
+
display: flex;
|
|
3642
|
+
align-items: center;
|
|
3643
|
+
justify-content: center;
|
|
3644
|
+
gap: 3px;
|
|
3645
|
+
margin: 0;
|
|
3646
|
+
line-height: 1;
|
|
3647
|
+
}
|
|
3648
|
+
.ncua-switch__label > * {
|
|
3649
|
+
display: inline-flex;
|
|
3650
|
+
align-items: center;
|
|
3651
|
+
}
|
|
3652
|
+
.ncua-switch__label svg,
|
|
3653
|
+
.ncua-switch__label img {
|
|
3654
|
+
flex-shrink: 0;
|
|
3655
|
+
vertical-align: middle;
|
|
3656
|
+
max-height: 14px;
|
|
3657
|
+
object-fit: contain;
|
|
3658
|
+
}
|
|
3659
|
+
.ncua-switch__label img {
|
|
3660
|
+
max-width: none;
|
|
3661
|
+
height: auto;
|
|
3662
|
+
}
|
|
3663
|
+
.ncua-switch__text {
|
|
3664
|
+
font-size: var(--font-size-xs);
|
|
3665
|
+
line-height: var(--switch-xs-line-height);
|
|
3666
|
+
}
|
|
3667
|
+
.ncua-switch--xxs {
|
|
3668
|
+
height: var(--switch-xxs-height);
|
|
3669
|
+
border-radius: var(--switch-xxs-border-radius);
|
|
3670
|
+
gap: var(--switch-xxs-gap);
|
|
3671
|
+
}
|
|
3672
|
+
.ncua-switch--xxs .ncua-switch__option {
|
|
3673
|
+
height: calc(var(--switch-xxs-height) - 4px);
|
|
3674
|
+
padding: var(--switch-xxs-padding);
|
|
3675
|
+
font-size: var(--font-size-xxxs);
|
|
3676
|
+
line-height: var(--switch-xxs-line-height);
|
|
3677
|
+
border-radius: calc(var(--switch-xxs-border-radius) - 2px);
|
|
3678
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3679
|
+
}
|
|
3680
|
+
.ncua-switch--xxs .ncua-switch__label {
|
|
3681
|
+
gap: 2px;
|
|
3682
|
+
}
|
|
3683
|
+
.ncua-switch--xxs .ncua-switch__label svg,
|
|
3684
|
+
.ncua-switch--xxs .ncua-switch__label img {
|
|
3685
|
+
max-height: 12px;
|
|
3686
|
+
}
|
|
3687
|
+
.ncua-switch--xs {
|
|
3688
|
+
height: var(--switch-xs-height);
|
|
3689
|
+
border-radius: var(--switch-xs-border-radius);
|
|
3690
|
+
gap: var(--switch-xs-gap);
|
|
3691
|
+
}
|
|
3692
|
+
.ncua-switch--xs .ncua-switch__option {
|
|
3693
|
+
height: calc(var(--switch-xs-height) - 4px);
|
|
3694
|
+
padding: var(--switch-xs-padding);
|
|
3695
|
+
font-size: var(--font-size-xs);
|
|
3696
|
+
line-height: var(--switch-xs-line-height);
|
|
3697
|
+
border-radius: calc(var(--switch-xs-border-radius) - 2px);
|
|
3698
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3699
|
+
}
|
|
3700
|
+
.ncua-switch--xs .ncua-switch__label {
|
|
3701
|
+
gap: 3px;
|
|
3702
|
+
}
|
|
3703
|
+
.ncua-switch--xs .ncua-switch__label svg,
|
|
3704
|
+
.ncua-switch--xs .ncua-switch__label img {
|
|
3705
|
+
max-height: 14px;
|
|
3706
|
+
}
|
|
3707
|
+
.ncua-switch--sm {
|
|
3708
|
+
height: var(--switch-sm-height);
|
|
3709
|
+
border-radius: var(--switch-sm-border-radius);
|
|
3710
|
+
gap: var(--switch-sm-gap);
|
|
3711
|
+
}
|
|
3712
|
+
.ncua-switch--sm .ncua-switch__option {
|
|
3713
|
+
height: calc(var(--switch-sm-height) - 4px);
|
|
3714
|
+
padding: var(--switch-sm-padding);
|
|
3715
|
+
font-size: var(--font-size-sm);
|
|
3716
|
+
line-height: var(--switch-sm-line-height);
|
|
3717
|
+
border-radius: calc(var(--switch-sm-border-radius) - 2px);
|
|
3718
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3719
|
+
}
|
|
3720
|
+
.ncua-switch--sm .ncua-switch__label {
|
|
3721
|
+
gap: 4px;
|
|
3722
|
+
}
|
|
3723
|
+
.ncua-switch--sm .ncua-switch__label svg,
|
|
3724
|
+
.ncua-switch--sm .ncua-switch__label img {
|
|
3725
|
+
max-height: 16px;
|
|
3726
|
+
}
|
|
3727
|
+
.ncua-switch--md {
|
|
3728
|
+
height: var(--switch-md-height);
|
|
3729
|
+
border-radius: var(--switch-md-border-radius);
|
|
3730
|
+
gap: var(--switch-md-gap);
|
|
3731
|
+
}
|
|
3732
|
+
.ncua-switch--md .ncua-switch__option {
|
|
3733
|
+
height: calc(var(--switch-md-height) - 4px);
|
|
3734
|
+
padding: var(--switch-md-padding);
|
|
3735
|
+
font-size: var(--font-size-sm);
|
|
3736
|
+
line-height: var(--switch-md-line-height);
|
|
3737
|
+
border-radius: calc(var(--switch-md-border-radius) - 2px);
|
|
3738
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
3739
|
+
}
|
|
3740
|
+
.ncua-switch--md .ncua-switch__label {
|
|
3741
|
+
gap: 5px;
|
|
3742
|
+
}
|
|
3743
|
+
.ncua-switch--md .ncua-switch__label svg,
|
|
3744
|
+
.ncua-switch--md .ncua-switch__label img {
|
|
3745
|
+
max-height: 18px;
|
|
3746
|
+
}
|
|
3747
|
+
.ncua-switch--disabled {
|
|
3748
|
+
cursor: not-allowed;
|
|
3749
|
+
}
|
|
3750
|
+
.ncua-switch--disabled .ncua-switch__option {
|
|
3751
|
+
cursor: not-allowed;
|
|
3752
|
+
color: var(--gray-300);
|
|
3753
|
+
}
|
|
3754
|
+
.ncua-switch--disabled .ncua-switch__option--active {
|
|
3755
|
+
background-color: var(--gray-50);
|
|
3756
|
+
color: var(--gray-300);
|
|
3757
|
+
box-shadow: var(--shadow-sm);
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
@keyframes ncua-spinner-rotate {
|
|
3761
|
+
from {
|
|
3762
|
+
transform: rotate(0deg);
|
|
3763
|
+
}
|
|
3764
|
+
to {
|
|
3765
|
+
transform: rotate(360deg);
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
.ncua-spinner {
|
|
3769
|
+
display: grid;
|
|
3770
|
+
place-items: center;
|
|
3771
|
+
}
|
|
3772
|
+
.ncua-spinner__content {
|
|
3773
|
+
text-align: center;
|
|
2624
3774
|
}
|
|
2625
3775
|
.ncua-spinner__content::before {
|
|
2626
3776
|
content: "";
|
|
@@ -2815,7 +3965,6 @@ button {
|
|
|
2815
3965
|
|
|
2816
3966
|
.ncua-date-picker {
|
|
2817
3967
|
position: relative;
|
|
2818
|
-
display: inline-flex;
|
|
2819
3968
|
width: 138px;
|
|
2820
3969
|
height: 28px;
|
|
2821
3970
|
}
|
|
@@ -2836,7 +3985,7 @@ button {
|
|
|
2836
3985
|
.ncua-date-picker__input {
|
|
2837
3986
|
width: 100%;
|
|
2838
3987
|
height: 100%;
|
|
2839
|
-
padding: 0;
|
|
3988
|
+
padding: 0 3px 0 0;
|
|
2840
3989
|
border: 0;
|
|
2841
3990
|
outline: none;
|
|
2842
3991
|
color: inherit;
|
|
@@ -2844,7 +3993,8 @@ button {
|
|
|
2844
3993
|
font: inherit;
|
|
2845
3994
|
}
|
|
2846
3995
|
.ncua-date-picker__input::placeholder {
|
|
2847
|
-
color: var(--gray-
|
|
3996
|
+
color: var(--gray-300, #a4a5a8);
|
|
3997
|
+
font-size: var(--font-size-xxs, 12px);
|
|
2848
3998
|
}
|
|
2849
3999
|
.ncua-date-picker__input:disabled {
|
|
2850
4000
|
background-color: var(--gray-50);
|
|
@@ -2876,12 +4026,19 @@ button {
|
|
|
2876
4026
|
.ncua-date-picker .flatpickr-calendar::before, .ncua-date-picker .flatpickr-calendar::after {
|
|
2877
4027
|
content: none;
|
|
2878
4028
|
}
|
|
4029
|
+
.ncua-date-picker .flatpickr-calendar.static {
|
|
4030
|
+
top: calc(100% + 6px);
|
|
4031
|
+
}
|
|
2879
4032
|
.ncua-date-picker .numInputWrapper .cur-year {
|
|
2880
4033
|
margin-inline-start: 4px;
|
|
2881
4034
|
transform: translateY(2px);
|
|
2882
4035
|
}
|
|
2883
4036
|
.ncua-date-picker .numInputWrapper span {
|
|
2884
4037
|
opacity: 1;
|
|
4038
|
+
width: 12px;
|
|
4039
|
+
height: 12px;
|
|
4040
|
+
border: 0;
|
|
4041
|
+
padding: 0;
|
|
2885
4042
|
}
|
|
2886
4043
|
.ncua-date-picker .flatpickr-months {
|
|
2887
4044
|
justify-content: space-between;
|
|
@@ -2919,6 +4076,21 @@ button {
|
|
|
2919
4076
|
overflow: visible;
|
|
2920
4077
|
flex: none;
|
|
2921
4078
|
}
|
|
4079
|
+
.ncua-date-picker .flatpickr-months .numInputWrapper span::after {
|
|
4080
|
+
top: 0;
|
|
4081
|
+
width: 12px;
|
|
4082
|
+
height: 12px;
|
|
4083
|
+
border: 0;
|
|
4084
|
+
background-size: 12px 12px;
|
|
4085
|
+
background-repeat: no-repeat;
|
|
4086
|
+
}
|
|
4087
|
+
.ncua-date-picker .flatpickr-months .numInputWrapper span.arrowUp::after {
|
|
4088
|
+
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2212%22%20viewBox%3D%220%200%2013%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.5%207.5L6.5%204.5L3.5%207.5%22%20stroke%3D%22%23171818%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
|
|
4089
|
+
}
|
|
4090
|
+
.ncua-date-picker .flatpickr-months .numInputWrapper span.arrowDown::after {
|
|
4091
|
+
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2212%22%20viewBox%3D%220%200%2013%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.5%207.5L6.5%204.5L3.5%207.5%22%20stroke%3D%22%23171818%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
|
|
4092
|
+
transform: rotate(180deg);
|
|
4093
|
+
}
|
|
2922
4094
|
.ncua-date-picker .flatpickr-current-month {
|
|
2923
4095
|
position: initial;
|
|
2924
4096
|
width: auto;
|
|
@@ -2932,6 +4104,10 @@ button {
|
|
|
2932
4104
|
font-size: var(--font-size-lg);
|
|
2933
4105
|
color: inherit;
|
|
2934
4106
|
}
|
|
4107
|
+
.ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
|
|
4108
|
+
.ncua-date-picker .flatpickr-current-month .numInputWrapper:hover {
|
|
4109
|
+
border-radius: 6px;
|
|
4110
|
+
}
|
|
2935
4111
|
.ncua-date-picker .flatpickr-monthDropdown-months {
|
|
2936
4112
|
margin: 0;
|
|
2937
4113
|
padding: 0;
|
|
@@ -2943,6 +4119,9 @@ button {
|
|
|
2943
4119
|
font-weight: 700;
|
|
2944
4120
|
line-height: 22px;
|
|
2945
4121
|
}
|
|
4122
|
+
.ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months {
|
|
4123
|
+
margin-block-start: 0;
|
|
4124
|
+
}
|
|
2946
4125
|
.ncua-date-picker .flatpickr-innerContainer {
|
|
2947
4126
|
justify-content: center;
|
|
2948
4127
|
}
|
|
@@ -3056,17 +4235,129 @@ button {
|
|
|
3056
4235
|
.ncua-date-picker--disabled .ncua-date-picker__input {
|
|
3057
4236
|
color: var(--gray-300);
|
|
3058
4237
|
}
|
|
4238
|
+
.ncua-date-picker--disabled .ncua-date-picker__ico path {
|
|
4239
|
+
stroke: var(--gray-300);
|
|
4240
|
+
}
|
|
4241
|
+
.ncua-date-picker--destructive .flatpickr-wrapper {
|
|
4242
|
+
border-color: var(--primary-red-500);
|
|
4243
|
+
}
|
|
4244
|
+
.ncua-date-picker--destructive .ncua-date-picker__destructive {
|
|
4245
|
+
color: var(--primary-red-500);
|
|
4246
|
+
font-size: var(--font-size-xxs);
|
|
4247
|
+
}
|
|
4248
|
+
.ncua-date-picker--has-time {
|
|
4249
|
+
width: auto;
|
|
4250
|
+
}
|
|
4251
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time,
|
|
4252
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time {
|
|
4253
|
+
align-items: center;
|
|
4254
|
+
padding: 8px 16px;
|
|
4255
|
+
max-height: 112px;
|
|
4256
|
+
height: 112px;
|
|
4257
|
+
line-height: 1;
|
|
4258
|
+
}
|
|
4259
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .numInputWrapper,
|
|
4260
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .numInputWrapper {
|
|
4261
|
+
height: 100%;
|
|
4262
|
+
display: flex;
|
|
4263
|
+
align-items: center;
|
|
4264
|
+
justify-content: center;
|
|
4265
|
+
}
|
|
4266
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .numInputWrapper:hover,
|
|
4267
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .numInputWrapper:hover {
|
|
4268
|
+
background-color: transparent;
|
|
4269
|
+
}
|
|
4270
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time input,
|
|
4271
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .flatpickr-am-pm,
|
|
4272
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time input,
|
|
4273
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .flatpickr-am-pm {
|
|
4274
|
+
color: var(--gray-700, #171818);
|
|
4275
|
+
font-weight: var(--font-weights-commerce-sans-2, 700);
|
|
4276
|
+
height: 40px;
|
|
4277
|
+
width: 50px;
|
|
4278
|
+
border-radius: 6px;
|
|
4279
|
+
}
|
|
4280
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .flatpickr-time-separator,
|
|
4281
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .flatpickr-am-pm,
|
|
4282
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .flatpickr-time-separator,
|
|
4283
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .flatpickr-am-pm {
|
|
4284
|
+
display: flex;
|
|
4285
|
+
align-items: center;
|
|
4286
|
+
justify-content: center;
|
|
4287
|
+
}
|
|
4288
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .flatpickr-time-separator,
|
|
4289
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .flatpickr-time-separator {
|
|
4290
|
+
height: 100%;
|
|
4291
|
+
}
|
|
4292
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowUp,
|
|
4293
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowDown,
|
|
4294
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowUp,
|
|
4295
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowDown {
|
|
4296
|
+
left: 50%;
|
|
4297
|
+
transform: translateX(-50%);
|
|
4298
|
+
display: flex;
|
|
4299
|
+
align-items: center;
|
|
4300
|
+
justify-content: center;
|
|
4301
|
+
height: 24px;
|
|
4302
|
+
width: 24px;
|
|
4303
|
+
padding: 0;
|
|
4304
|
+
}
|
|
4305
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowUp::after,
|
|
4306
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowDown::after,
|
|
4307
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowUp::after,
|
|
4308
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowDown::after {
|
|
4309
|
+
border: 0;
|
|
4310
|
+
width: 14px;
|
|
4311
|
+
height: 14px;
|
|
4312
|
+
}
|
|
4313
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowUp:hover,
|
|
4314
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowDown:hover,
|
|
4315
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowUp:hover,
|
|
4316
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowDown:hover {
|
|
4317
|
+
background-color: var(--gray-50);
|
|
4318
|
+
border-radius: 4px;
|
|
4319
|
+
}
|
|
4320
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowUp,
|
|
4321
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowUp {
|
|
4322
|
+
top: 0;
|
|
4323
|
+
}
|
|
4324
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowUp::after,
|
|
4325
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowUp::after {
|
|
4326
|
+
top: 50%;
|
|
4327
|
+
transform: translateY(-50%);
|
|
4328
|
+
background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.58736 4.83736C6.81516 4.60955 7.18451 4.60955 7.41232 4.83736L10.9123 8.33736C11.1401 8.56516 11.1401 8.93451 10.9123 9.16232C10.6845 9.39012 10.3152 9.39012 10.0874 9.16232L6.99984 6.0748L3.91232 9.16232C3.68451 9.39012 3.31516 9.39012 3.08736 9.16232C2.85955 8.93451 2.85955 8.56516 3.08736 8.33736L6.58736 4.83736Z' fill='%23757678'/%3E%3C/svg%3E") !important;
|
|
4329
|
+
}
|
|
4330
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowDown,
|
|
4331
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowDown {
|
|
4332
|
+
top: auto;
|
|
4333
|
+
bottom: 0;
|
|
4334
|
+
}
|
|
4335
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime .flatpickr-time .arrowDown::after,
|
|
4336
|
+
.ncua-date-picker--has-time .flatpickr-calendar.hasTime.noCalendar .flatpickr-time .arrowDown::after {
|
|
4337
|
+
top: 50%;
|
|
4338
|
+
transform: translateY(-50%) rotate(180deg);
|
|
4339
|
+
background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.58736 4.83736C6.81516 4.60955 7.18451 4.60955 7.41232 4.83736L10.9123 8.33736C11.1401 8.56516 11.1401 8.93451 10.9123 9.16232C10.6845 9.39012 10.3152 9.39012 10.0874 9.16232L6.99984 6.0748L3.91232 9.16232C3.68451 9.39012 3.31516 9.39012 3.08736 9.16232C2.85955 8.93451 2.85955 8.56516 3.08736 8.33736L6.58736 4.83736Z' fill='%23757678'/%3E%3C/svg%3E") !important;
|
|
4340
|
+
}
|
|
4341
|
+
.ncua-date-picker--has-time .flatpickr-calendar.noCalendar {
|
|
4342
|
+
padding-block-start: 0;
|
|
4343
|
+
}
|
|
4344
|
+
.ncua-date-picker--has-time .flatpickr-calendar.noCalendar .flatpickr-time {
|
|
4345
|
+
border-block-start-width: 0;
|
|
4346
|
+
}
|
|
3059
4347
|
|
|
3060
4348
|
.ncua-range-date-picker {
|
|
3061
4349
|
display: inline-flex;
|
|
3062
4350
|
align-items: center;
|
|
3063
|
-
gap:
|
|
4351
|
+
gap: 4px;
|
|
3064
4352
|
}
|
|
3065
4353
|
|
|
3066
4354
|
.ncua-range-date-picker-with-buttons {
|
|
3067
4355
|
display: inline-flex;
|
|
3068
4356
|
align-items: center;
|
|
3069
|
-
gap:
|
|
4357
|
+
gap: 4px;
|
|
4358
|
+
}
|
|
4359
|
+
.ncua-range-date-picker-with-buttons .ncua-button-group {
|
|
4360
|
+
margin-inline-end: 4px;
|
|
3070
4361
|
}
|
|
3071
4362
|
|
|
3072
4363
|
.ncua-carousel-number-group {
|
|
@@ -3349,11 +4640,15 @@ button {
|
|
|
3349
4640
|
.ncua-progress-bar-bottom-float {
|
|
3350
4641
|
padding-bottom: 42px;
|
|
3351
4642
|
}
|
|
4643
|
+
.ncua-progress-bar--single-segment {
|
|
4644
|
+
text-align: left;
|
|
4645
|
+
}
|
|
3352
4646
|
.ncua-progress-bar__content {
|
|
3353
4647
|
display: flex;
|
|
3354
4648
|
align-items: center;
|
|
3355
4649
|
width: 100%;
|
|
3356
4650
|
gap: 8px;
|
|
4651
|
+
margin-bottom: 4px;
|
|
3357
4652
|
}
|
|
3358
4653
|
.ncua-progress-bar__bar {
|
|
3359
4654
|
flex-grow: 1;
|
|
@@ -3362,11 +4657,44 @@ button {
|
|
|
3362
4657
|
border-radius: 5px;
|
|
3363
4658
|
overflow: hidden;
|
|
3364
4659
|
}
|
|
4660
|
+
.ncua-progress-bar__bar--segments {
|
|
4661
|
+
display: flex;
|
|
4662
|
+
border-radius: 5px;
|
|
4663
|
+
background-color: var(--gray-100);
|
|
4664
|
+
}
|
|
3365
4665
|
.ncua-progress-bar__fill {
|
|
3366
4666
|
height: 100%;
|
|
3367
|
-
background-color: var(--gray-600);
|
|
3368
4667
|
border-radius: 5px;
|
|
3369
4668
|
transition: width 0.3s ease;
|
|
4669
|
+
flex-shrink: 0;
|
|
4670
|
+
background-color: var(--gray-600);
|
|
4671
|
+
}
|
|
4672
|
+
.ncua-progress-bar__fill--spaced {
|
|
4673
|
+
margin-left: auto;
|
|
4674
|
+
}
|
|
4675
|
+
.ncua-progress-bar__fill--color-red {
|
|
4676
|
+
background-color: var(--primary-red-400);
|
|
4677
|
+
}
|
|
4678
|
+
.ncua-progress-bar__fill--color-green {
|
|
4679
|
+
background-color: var(--green-400);
|
|
4680
|
+
}
|
|
4681
|
+
.ncua-progress-bar__fill--color-blue {
|
|
4682
|
+
background-color: var(--blue-400);
|
|
4683
|
+
}
|
|
4684
|
+
.ncua-progress-bar__fill--color-pink {
|
|
4685
|
+
background-color: var(--pink-400);
|
|
4686
|
+
}
|
|
4687
|
+
.ncua-progress-bar__fill--color-orange {
|
|
4688
|
+
background-color: var(--orange-400);
|
|
4689
|
+
}
|
|
4690
|
+
.ncua-progress-bar__fill--color-violet {
|
|
4691
|
+
background-color: var(--violet-400);
|
|
4692
|
+
}
|
|
4693
|
+
.ncua-progress-bar__fill--color-gray {
|
|
4694
|
+
background-color: var(--gray-400);
|
|
4695
|
+
}
|
|
4696
|
+
.ncua-progress-bar__bar--segments .ncua-progress-bar__fill {
|
|
4697
|
+
border-radius: 5px;
|
|
3370
4698
|
}
|
|
3371
4699
|
.ncua-progress-bar__label {
|
|
3372
4700
|
font-size: var(--font-size-sm);
|
|
@@ -3375,10 +4703,18 @@ button {
|
|
|
3375
4703
|
}
|
|
3376
4704
|
.ncua-progress-bar__label-right {
|
|
3377
4705
|
min-width: 45px;
|
|
4706
|
+
font-size: 11px;
|
|
4707
|
+
line-height: 14px;
|
|
4708
|
+
font-style: normal;
|
|
4709
|
+
font-weight: 500;
|
|
3378
4710
|
}
|
|
3379
4711
|
.ncua-progress-bar__label-bottom {
|
|
3380
4712
|
margin-top: 8px;
|
|
3381
4713
|
align-self: flex-end;
|
|
4714
|
+
font-size: 11px;
|
|
4715
|
+
line-height: 14px;
|
|
4716
|
+
font-style: normal;
|
|
4717
|
+
font-weight: 500;
|
|
3382
4718
|
}
|
|
3383
4719
|
.ncua-progress-bar__label-top-float, .ncua-progress-bar__label-bottom-float {
|
|
3384
4720
|
position: absolute;
|
|
@@ -3400,6 +4736,42 @@ button {
|
|
|
3400
4736
|
.ncua-progress-bar__label-bottom-float {
|
|
3401
4737
|
bottom: 0;
|
|
3402
4738
|
}
|
|
4739
|
+
.ncua-progress-bar__label--segment {
|
|
4740
|
+
font-size: 11px;
|
|
4741
|
+
line-height: 14px;
|
|
4742
|
+
font-style: normal;
|
|
4743
|
+
font-weight: 500;
|
|
4744
|
+
white-space: nowrap;
|
|
4745
|
+
position: absolute;
|
|
4746
|
+
transform: translateX(-50%);
|
|
4747
|
+
}
|
|
4748
|
+
.ncua-progress-bar__label--color-red {
|
|
4749
|
+
color: var(--primary-red-600);
|
|
4750
|
+
}
|
|
4751
|
+
.ncua-progress-bar__label--color-green {
|
|
4752
|
+
color: var(--green-600);
|
|
4753
|
+
}
|
|
4754
|
+
.ncua-progress-bar__label--color-blue {
|
|
4755
|
+
color: var(--blue-600);
|
|
4756
|
+
}
|
|
4757
|
+
.ncua-progress-bar__label--color-pink {
|
|
4758
|
+
color: var(--pink-600);
|
|
4759
|
+
}
|
|
4760
|
+
.ncua-progress-bar__label--color-orange {
|
|
4761
|
+
color: var(--orange-600);
|
|
4762
|
+
}
|
|
4763
|
+
.ncua-progress-bar__label--color-violet {
|
|
4764
|
+
color: var(--violet-600);
|
|
4765
|
+
}
|
|
4766
|
+
.ncua-progress-bar__label--color-gray {
|
|
4767
|
+
color: var(--gray-600);
|
|
4768
|
+
}
|
|
4769
|
+
.ncua-progress-bar__labels--multiple {
|
|
4770
|
+
position: relative;
|
|
4771
|
+
width: 100%;
|
|
4772
|
+
margin-top: 4px;
|
|
4773
|
+
height: 20px;
|
|
4774
|
+
}
|
|
3403
4775
|
|
|
3404
4776
|
.ncua-empty-state {
|
|
3405
4777
|
display: flex;
|
|
@@ -3426,11 +4798,20 @@ button {
|
|
|
3426
4798
|
margin-top: 16px;
|
|
3427
4799
|
}
|
|
3428
4800
|
|
|
3429
|
-
.ncua-tab
|
|
4801
|
+
.ncua-horizontal-tab {
|
|
4802
|
+
position: relative;
|
|
4803
|
+
overflow-x: auto;
|
|
4804
|
+
}
|
|
4805
|
+
.ncua-horizontal-tab__item {
|
|
4806
|
+
width: auto !important;
|
|
4807
|
+
}
|
|
4808
|
+
.ncua-horizontal-tab__item:last-child {
|
|
4809
|
+
margin-right: 0 !important;
|
|
4810
|
+
}
|
|
4811
|
+
.ncua-horizontal-tab .ncua-tab-button {
|
|
3430
4812
|
display: inline-flex;
|
|
3431
4813
|
gap: 8px;
|
|
3432
4814
|
align-items: center;
|
|
3433
|
-
justify-content: center;
|
|
3434
4815
|
width: 100%;
|
|
3435
4816
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
3436
4817
|
color: var(--gray-400);
|
|
@@ -3440,62 +4821,68 @@ button {
|
|
|
3440
4821
|
padding: 5px 12px;
|
|
3441
4822
|
height: 34px;
|
|
3442
4823
|
font-size: var(--font-size-xs);
|
|
4824
|
+
justify-content: center;
|
|
3443
4825
|
}
|
|
3444
|
-
.ncua-tab-button:hover, .ncua-tab-button.is-active {
|
|
4826
|
+
.ncua-horizontal-tab .ncua-tab-button:hover, .ncua-horizontal-tab .ncua-tab-button.is-active {
|
|
3445
4827
|
color: var(--gray-700);
|
|
3446
4828
|
}
|
|
3447
|
-
.ncua-tab
|
|
4829
|
+
.ncua-horizontal-tab--sm .ncua-tab-button {
|
|
3448
4830
|
padding: 5px 12px;
|
|
3449
4831
|
height: 34px;
|
|
3450
4832
|
font-size: var(--font-size-xs);
|
|
3451
4833
|
}
|
|
3452
|
-
.ncua-tab-button
|
|
4834
|
+
.ncua-horizontal-tab--sm.ncua-horizontal-tab--button-white .ncua-tab-button {
|
|
4835
|
+
height: 28px;
|
|
4836
|
+
}
|
|
4837
|
+
.ncua-horizontal-tab--md .ncua-tab-button {
|
|
3453
4838
|
padding: 7px 12px;
|
|
3454
4839
|
height: 38px;
|
|
3455
4840
|
font-size: var(--font-size-sm);
|
|
3456
4841
|
}
|
|
3457
|
-
.ncua-tab-button
|
|
4842
|
+
.ncua-horizontal-tab--md.ncua-horizontal-tab--button-white .ncua-tab-button {
|
|
4843
|
+
height: 32px;
|
|
4844
|
+
}
|
|
4845
|
+
.ncua-horizontal-tab--lg .ncua-tab-button {
|
|
3458
4846
|
padding: 9px 14px;
|
|
3459
4847
|
height: 44px;
|
|
3460
4848
|
font-size: var(--font-size-md);
|
|
3461
4849
|
}
|
|
3462
|
-
.ncua-tab-
|
|
3463
|
-
|
|
4850
|
+
.ncua-horizontal-tab--lg.ncua-horizontal-tab--button-white .ncua-tab-button {
|
|
4851
|
+
height: 40px;
|
|
3464
4852
|
}
|
|
3465
|
-
.ncua-tab
|
|
3466
|
-
|
|
3467
|
-
}
|
|
3468
|
-
.ncua-tab-button--button-white {
|
|
3469
|
-
padding: 5px 12px;
|
|
3470
|
-
height: 28px;
|
|
3471
|
-
}
|
|
3472
|
-
.ncua-tab-button--button-white.ncua-tab-button--sm {
|
|
3473
|
-
padding: 5px 12px;
|
|
3474
|
-
height: 28px;
|
|
4853
|
+
.ncua-horizontal-tab--fullWidth {
|
|
4854
|
+
width: 100%;
|
|
3475
4855
|
}
|
|
3476
|
-
.ncua-tab
|
|
3477
|
-
|
|
3478
|
-
height: 32px;
|
|
4856
|
+
.ncua-horizontal-tab--fullWidth .ncua-horizontal-tab__item {
|
|
4857
|
+
width: 100% !important;
|
|
3479
4858
|
}
|
|
3480
|
-
.ncua-tab
|
|
3481
|
-
|
|
3482
|
-
height: 40px;
|
|
4859
|
+
.ncua-horizontal-tab--fullWidth .swiper-slide {
|
|
4860
|
+
flex-shrink: 1;
|
|
3483
4861
|
}
|
|
3484
|
-
.ncua-tab-
|
|
3485
|
-
|
|
4862
|
+
.ncua-horizontal-tab--underline::after, .ncua-horizontal-tab--underline-fill::after {
|
|
4863
|
+
position: absolute;
|
|
4864
|
+
bottom: 0;
|
|
4865
|
+
left: 0;
|
|
4866
|
+
width: 100%;
|
|
4867
|
+
height: 1px;
|
|
4868
|
+
content: "";
|
|
4869
|
+
background-color: var(--gray-100);
|
|
3486
4870
|
}
|
|
3487
|
-
.ncua-tab-button--
|
|
3488
|
-
|
|
3489
|
-
box-shadow: var(--shadow-sm);
|
|
4871
|
+
.ncua-horizontal-tab--underline .ncua-tab-button, .ncua-horizontal-tab--underline-fill .ncua-tab-button {
|
|
4872
|
+
border-radius: 0;
|
|
3490
4873
|
}
|
|
3491
|
-
.ncua-tab
|
|
4874
|
+
.ncua-horizontal-tab--underline-fill .ncua-tab-button {
|
|
3492
4875
|
position: relative;
|
|
3493
|
-
border-radius: 0;
|
|
3494
4876
|
}
|
|
3495
|
-
.ncua-tab
|
|
4877
|
+
.ncua-horizontal-tab--underline-fill .ncua-horizontal-tab__item:hover .ncua-tab-button,
|
|
4878
|
+
.ncua-horizontal-tab--underline-fill .ncua-tab-button.is-active,
|
|
4879
|
+
.ncua-horizontal-tab--underline-fill .ncua-tab-button.is-active:focus {
|
|
3496
4880
|
background-color: var(--gray-100);
|
|
4881
|
+
color: var(--gray-700);
|
|
3497
4882
|
}
|
|
3498
|
-
.ncua-tab
|
|
4883
|
+
.ncua-horizontal-tab--underline-fill .ncua-horizontal-tab__item:hover .ncua-tab-button::before,
|
|
4884
|
+
.ncua-horizontal-tab--underline-fill .ncua-tab-button.is-active::before,
|
|
4885
|
+
.ncua-horizontal-tab--underline-fill .ncua-tab-button.is-active:focus::before {
|
|
3499
4886
|
width: 100%;
|
|
3500
4887
|
height: 2px;
|
|
3501
4888
|
content: "";
|
|
@@ -3504,13 +4891,15 @@ button {
|
|
|
3504
4891
|
bottom: 0;
|
|
3505
4892
|
left: 0;
|
|
3506
4893
|
}
|
|
3507
|
-
.ncua-tab
|
|
3508
|
-
border-radius: 0;
|
|
3509
|
-
}
|
|
3510
|
-
.ncua-tab-button--underline:hover, .ncua-tab-button--underline.is-active {
|
|
4894
|
+
.ncua-horizontal-tab--underline .ncua-tab-button {
|
|
3511
4895
|
position: relative;
|
|
3512
4896
|
}
|
|
3513
|
-
.ncua-tab
|
|
4897
|
+
.ncua-horizontal-tab--underline .ncua-horizontal-tab__item:hover .ncua-tab-button,
|
|
4898
|
+
.ncua-horizontal-tab--underline .ncua-tab-button.is-active {
|
|
4899
|
+
color: var(--gray-700);
|
|
4900
|
+
}
|
|
4901
|
+
.ncua-horizontal-tab--underline .ncua-horizontal-tab__item:hover .ncua-tab-button::before,
|
|
4902
|
+
.ncua-horizontal-tab--underline .ncua-tab-button.is-active::before {
|
|
3514
4903
|
width: 100%;
|
|
3515
4904
|
height: 2px;
|
|
3516
4905
|
content: "";
|
|
@@ -3519,29 +4908,6 @@ button {
|
|
|
3519
4908
|
bottom: 0;
|
|
3520
4909
|
left: 0;
|
|
3521
4910
|
}
|
|
3522
|
-
.ncua-tab-button--line-vertical {
|
|
3523
|
-
border-radius: 0;
|
|
3524
|
-
}
|
|
3525
|
-
.ncua-tab-button--line-vertical:hover, .ncua-tab-button--line-vertical.is-active, .ncua-tab-button--line-vertical.is-active:focus {
|
|
3526
|
-
box-shadow: -2px 0 var(--gray-700);
|
|
3527
|
-
}
|
|
3528
|
-
|
|
3529
|
-
.ncua-horizontal-tab {
|
|
3530
|
-
position: relative;
|
|
3531
|
-
overflow-x: auto;
|
|
3532
|
-
}
|
|
3533
|
-
.ncua-horizontal-tab__item {
|
|
3534
|
-
width: auto !important;
|
|
3535
|
-
}
|
|
3536
|
-
.ncua-horizontal-tab--underline::after, .ncua-horizontal-tab--underline-fill::after {
|
|
3537
|
-
position: absolute;
|
|
3538
|
-
bottom: 0;
|
|
3539
|
-
left: 0;
|
|
3540
|
-
width: 100%;
|
|
3541
|
-
height: 1px;
|
|
3542
|
-
content: "";
|
|
3543
|
-
background-color: var(--gray-100);
|
|
3544
|
-
}
|
|
3545
4911
|
.ncua-horizontal-tab--button-primary .swiper-slide:first-child, .ncua-horizontal-tab--button-white .swiper-slide:first-child {
|
|
3546
4912
|
padding-left: 4px;
|
|
3547
4913
|
}
|
|
@@ -3549,17 +4915,25 @@ button {
|
|
|
3549
4915
|
padding-right: 4px;
|
|
3550
4916
|
margin-right: 0;
|
|
3551
4917
|
}
|
|
4918
|
+
.ncua-horizontal-tab--button-primary .ncua-tab-button:hover, .ncua-horizontal-tab--button-primary .ncua-tab-button.is-active {
|
|
4919
|
+
background-color: var(--gray-50);
|
|
4920
|
+
}
|
|
4921
|
+
.ncua-horizontal-tab--button-primary .ncua-tab-button:focus {
|
|
4922
|
+
outline: none;
|
|
4923
|
+
box-shadow: var(--focus-ring-4px-gray-100);
|
|
4924
|
+
}
|
|
4925
|
+
.ncua-horizontal-tab--button-primary .ncua-horizontal-tab__item:hover .ncua-tab-button {
|
|
4926
|
+
background-color: var(--gray-50);
|
|
4927
|
+
color: var(--gray-700);
|
|
4928
|
+
}
|
|
3552
4929
|
.ncua-horizontal-tab--button-primary .swiper-slide {
|
|
3553
4930
|
padding: 4px 0;
|
|
3554
4931
|
}
|
|
3555
4932
|
.ncua-horizontal-tab--button-white {
|
|
3556
|
-
|
|
3557
|
-
background: var(--gray-50);
|
|
4933
|
+
background-color: var(--gray-50);
|
|
3558
4934
|
border: 1px solid var(--gray-100);
|
|
3559
4935
|
border-radius: 8px;
|
|
3560
|
-
|
|
3561
|
-
.ncua-horizontal-tab--button-white .swiper-slide {
|
|
3562
|
-
padding: 3px 0;
|
|
4936
|
+
display: inline-block;
|
|
3563
4937
|
}
|
|
3564
4938
|
.ncua-horizontal-tab--button-white .ncua-tab-button {
|
|
3565
4939
|
background-color: var(--gray-50);
|
|
@@ -3567,20 +4941,55 @@ button {
|
|
|
3567
4941
|
.ncua-horizontal-tab--button-white .ncua-tab-button:hover, .ncua-horizontal-tab--button-white .ncua-tab-button.is-active {
|
|
3568
4942
|
background-color: var(--base-white);
|
|
3569
4943
|
border-radius: 6px;
|
|
3570
|
-
box-shadow:
|
|
4944
|
+
box-shadow: var(--shadow-sm);
|
|
3571
4945
|
color: var(--gray-500);
|
|
3572
4946
|
}
|
|
3573
|
-
.ncua-horizontal-tab--
|
|
3574
|
-
|
|
4947
|
+
.ncua-horizontal-tab--button-white .ncua-tab-button:focus {
|
|
4948
|
+
outline: none;
|
|
4949
|
+
box-shadow: var(--shadow-sm);
|
|
3575
4950
|
}
|
|
3576
|
-
.ncua-horizontal-tab--
|
|
3577
|
-
|
|
4951
|
+
.ncua-horizontal-tab--button-white .swiper-slide {
|
|
4952
|
+
padding: 3px 0;
|
|
3578
4953
|
}
|
|
3579
|
-
.ncua-horizontal-tab--
|
|
3580
|
-
|
|
4954
|
+
.ncua-horizontal-tab--button-white .ncua-horizontal-tab__item:hover .ncua-tab-button {
|
|
4955
|
+
background-color: var(--base-white);
|
|
4956
|
+
border-radius: 6px;
|
|
4957
|
+
box-shadow: var(--shadow-sm);
|
|
4958
|
+
color: var(--gray-500);
|
|
3581
4959
|
}
|
|
3582
|
-
.ncua-horizontal-
|
|
3583
|
-
|
|
4960
|
+
.ncua-horizontal-tab--line-vertical .ncua-tab-button {
|
|
4961
|
+
border-radius: 0;
|
|
4962
|
+
}
|
|
4963
|
+
.ncua-horizontal-tab--line-vertical .ncua-tab-button:hover, .ncua-horizontal-tab--line-vertical .ncua-tab-button.is-active, .ncua-horizontal-tab--line-vertical .ncua-tab-button.is-active:focus {
|
|
4964
|
+
box-shadow: -2px 0 var(--gray-700);
|
|
4965
|
+
}
|
|
4966
|
+
.ncua-horizontal-tab--line-vertical .ncua-horizontal-tab__item:hover .ncua-tab-button {
|
|
4967
|
+
box-shadow: -2px 0 var(--gray-700);
|
|
4968
|
+
color: var(--gray-700);
|
|
4969
|
+
}
|
|
4970
|
+
.ncua-horizontal-tab__item:has(.ncua-tab-close) {
|
|
4971
|
+
position: relative;
|
|
4972
|
+
}
|
|
4973
|
+
.ncua-horizontal-tab__item:has(.ncua-tab-close) .ncua-tab-button {
|
|
4974
|
+
padding-inline-end: 34px;
|
|
4975
|
+
}
|
|
4976
|
+
.ncua-horizontal-tab__item:has(.ncua-tab-close) .ncua-tab-close {
|
|
4977
|
+
position: absolute;
|
|
4978
|
+
top: 50%;
|
|
4979
|
+
right: 12px;
|
|
4980
|
+
transform: translateY(-50%);
|
|
4981
|
+
width: 14px;
|
|
4982
|
+
height: 14px;
|
|
4983
|
+
padding: 0;
|
|
4984
|
+
background-color: transparent;
|
|
4985
|
+
color: var(--gray-300);
|
|
4986
|
+
cursor: pointer;
|
|
4987
|
+
}
|
|
4988
|
+
.ncua-horizontal-tab__item:has(.ncua-tab-close) .ncua-tab-close svg {
|
|
4989
|
+
vertical-align: top;
|
|
4990
|
+
}
|
|
4991
|
+
.ncua-horizontal-tab__item:has(.ncua-tab-close) .ncua-tab-close:hover {
|
|
4992
|
+
color: var(--gray-600);
|
|
3584
4993
|
}
|
|
3585
4994
|
|
|
3586
4995
|
.ncua-vertical-tab {
|
|
@@ -3589,11 +4998,36 @@ button {
|
|
|
3589
4998
|
flex-direction: column;
|
|
3590
4999
|
gap: 4px;
|
|
3591
5000
|
}
|
|
5001
|
+
.ncua-vertical-tab .ncua-tab-button {
|
|
5002
|
+
display: inline-flex;
|
|
5003
|
+
gap: 8px;
|
|
5004
|
+
align-items: center;
|
|
5005
|
+
width: 100%;
|
|
5006
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
5007
|
+
color: var(--gray-400);
|
|
5008
|
+
border-radius: 6px;
|
|
5009
|
+
cursor: pointer;
|
|
5010
|
+
background-color: transparent;
|
|
5011
|
+
padding: 5px 12px;
|
|
5012
|
+
height: 34px;
|
|
5013
|
+
font-size: var(--font-size-xs);
|
|
5014
|
+
justify-content: flex-start;
|
|
5015
|
+
}
|
|
5016
|
+
.ncua-vertical-tab .ncua-tab-button:hover, .ncua-vertical-tab .ncua-tab-button.is-active {
|
|
5017
|
+
color: var(--gray-700);
|
|
5018
|
+
}
|
|
5019
|
+
.ncua-vertical-tab--button-primary .ncua-tab-button:hover, .ncua-vertical-tab--button-primary .ncua-tab-button.is-active {
|
|
5020
|
+
background-color: var(--gray-50);
|
|
5021
|
+
}
|
|
5022
|
+
.ncua-vertical-tab--button-primary .ncua-tab-button:focus {
|
|
5023
|
+
outline: none;
|
|
5024
|
+
box-shadow: var(--focus-ring-4px-gray-100);
|
|
5025
|
+
}
|
|
3592
5026
|
.ncua-vertical-tab--button-white {
|
|
3593
|
-
padding: 4px;
|
|
3594
5027
|
background-color: var(--gray-50);
|
|
3595
5028
|
border: 1px solid var(--gray-100);
|
|
3596
5029
|
border-radius: 8px;
|
|
5030
|
+
padding: 4px;
|
|
3597
5031
|
}
|
|
3598
5032
|
.ncua-vertical-tab--button-white .ncua-tab-button {
|
|
3599
5033
|
background-color: var(--gray-50);
|
|
@@ -3604,8 +5038,15 @@ button {
|
|
|
3604
5038
|
box-shadow: var(--shadow-sm);
|
|
3605
5039
|
color: var(--gray-500);
|
|
3606
5040
|
}
|
|
3607
|
-
.ncua-vertical-tab .ncua-tab-button {
|
|
3608
|
-
|
|
5041
|
+
.ncua-vertical-tab--button-white .ncua-tab-button:focus {
|
|
5042
|
+
outline: none;
|
|
5043
|
+
box-shadow: var(--shadow-sm);
|
|
5044
|
+
}
|
|
5045
|
+
.ncua-vertical-tab--line-vertical .ncua-tab-button {
|
|
5046
|
+
border-radius: 0;
|
|
5047
|
+
}
|
|
5048
|
+
.ncua-vertical-tab--line-vertical .ncua-tab-button:hover, .ncua-vertical-tab--line-vertical .ncua-tab-button.is-active, .ncua-vertical-tab--line-vertical .ncua-tab-button.is-active:focus {
|
|
5049
|
+
box-shadow: -2px 0 var(--gray-700);
|
|
3609
5050
|
}
|
|
3610
5051
|
|
|
3611
5052
|
.ncua-progress-circle {
|
|
@@ -3749,6 +5190,233 @@ button {
|
|
|
3749
5190
|
top: 80%;
|
|
3750
5191
|
}
|
|
3751
5192
|
|
|
5193
|
+
.ncua-file-input {
|
|
5194
|
+
display: inline-flex;
|
|
5195
|
+
flex-direction: column;
|
|
5196
|
+
align-items: flex-start;
|
|
5197
|
+
gap: 6px;
|
|
5198
|
+
}
|
|
5199
|
+
.ncua-file-input__input-container {
|
|
5200
|
+
display: flex;
|
|
5201
|
+
flex-direction: column;
|
|
5202
|
+
align-items: flex-start;
|
|
5203
|
+
gap: 4px;
|
|
5204
|
+
}
|
|
5205
|
+
.ncua-file-input__label {
|
|
5206
|
+
display: flex;
|
|
5207
|
+
align-items: center;
|
|
5208
|
+
gap: 4px;
|
|
5209
|
+
}
|
|
5210
|
+
.ncua-file-input__file-tags {
|
|
5211
|
+
display: flex;
|
|
5212
|
+
padding: 12px 8px;
|
|
5213
|
+
flex-direction: column;
|
|
5214
|
+
align-items: flex-start;
|
|
5215
|
+
gap: 6px;
|
|
5216
|
+
align-self: stretch;
|
|
5217
|
+
background: var(--gray-50);
|
|
5218
|
+
}
|
|
5219
|
+
.ncua-file-input__file-tag-container {
|
|
5220
|
+
display: flex;
|
|
5221
|
+
align-items: center;
|
|
5222
|
+
gap: 4px;
|
|
5223
|
+
}
|
|
5224
|
+
.ncua-file-input__file-image {
|
|
5225
|
+
width: 20px;
|
|
5226
|
+
height: 20px;
|
|
5227
|
+
object-fit: cover;
|
|
5228
|
+
}
|
|
5229
|
+
.ncua-file-input__hint-list {
|
|
5230
|
+
margin: 0;
|
|
5231
|
+
list-style: disc;
|
|
5232
|
+
color: var(--gray-400);
|
|
5233
|
+
padding-left: 16px;
|
|
5234
|
+
}
|
|
5235
|
+
.ncua-file-input--xs {
|
|
5236
|
+
font-size: var(--font-size-xxs);
|
|
5237
|
+
line-height: var(--line-heights-xxs);
|
|
5238
|
+
}
|
|
5239
|
+
.ncua-file-input--sm {
|
|
5240
|
+
font-size: var(--font-size-xs);
|
|
5241
|
+
line-height: var(--line-heights-xs);
|
|
5242
|
+
}
|
|
5243
|
+
.ncua-file-input--xs .ncua-file-input__input-container {
|
|
5244
|
+
gap: 4px;
|
|
5245
|
+
}
|
|
5246
|
+
.ncua-file-input--sm .ncua-file-input__input-container {
|
|
5247
|
+
gap: 6px;
|
|
5248
|
+
}
|
|
5249
|
+
.ncua-file-input--xs .ncua-file-input__hint-list {
|
|
5250
|
+
font-size: var(--font-size-xxs);
|
|
5251
|
+
line-height: var(--line-heights-xxs);
|
|
5252
|
+
}
|
|
5253
|
+
.ncua-file-input--sm .ncua-file-input__hint-list {
|
|
5254
|
+
font-size: inherit;
|
|
5255
|
+
line-height: inherit;
|
|
5256
|
+
}
|
|
5257
|
+
|
|
5258
|
+
.ncua-image-file-input {
|
|
5259
|
+
display: flex;
|
|
5260
|
+
gap: 8px;
|
|
5261
|
+
}
|
|
5262
|
+
.ncua-image-file-input__previews {
|
|
5263
|
+
display: flex;
|
|
5264
|
+
gap: 8px;
|
|
5265
|
+
}
|
|
5266
|
+
.ncua-image-file-input__empty-slot-wrapper {
|
|
5267
|
+
position: relative;
|
|
5268
|
+
display: inline-flex;
|
|
5269
|
+
align-items: center;
|
|
5270
|
+
justify-content: center;
|
|
5271
|
+
}
|
|
5272
|
+
.ncua-image-file-input__empty-slot-wrapper .ncua-tooltip {
|
|
5273
|
+
position: absolute;
|
|
5274
|
+
top: 50%;
|
|
5275
|
+
left: 50%;
|
|
5276
|
+
transform: translate(-50%, -50%);
|
|
5277
|
+
z-index: 10;
|
|
5278
|
+
}
|
|
5279
|
+
.ncua-image-file-input__empty-slot-wrapper .ncua-tooltip svg {
|
|
5280
|
+
opacity: 0;
|
|
5281
|
+
cursor: pointer;
|
|
5282
|
+
}
|
|
5283
|
+
.ncua-image-file-input__preview-container {
|
|
5284
|
+
position: relative;
|
|
5285
|
+
border: 1px dashed var(--gray-200);
|
|
5286
|
+
border-radius: var(--border-radius-md);
|
|
5287
|
+
background-color: var(--gray-50);
|
|
5288
|
+
background-repeat: no-repeat;
|
|
5289
|
+
background-position: center;
|
|
5290
|
+
overflow: hidden;
|
|
5291
|
+
cursor: pointer;
|
|
5292
|
+
}
|
|
5293
|
+
.ncua-image-file-input__preview-container:has(.ncua-image-file-input__preview-image) {
|
|
5294
|
+
border: none;
|
|
5295
|
+
}
|
|
5296
|
+
.ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image)) {
|
|
5297
|
+
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
5298
|
+
}
|
|
5299
|
+
.ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image)):focus {
|
|
5300
|
+
outline: 2px solid var(--primary-500);
|
|
5301
|
+
outline-offset: 2px;
|
|
5302
|
+
}
|
|
5303
|
+
.ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image))[disabled], .ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image)).is-disable {
|
|
5304
|
+
background-color: var(--gray-100);
|
|
5305
|
+
cursor: not-allowed;
|
|
5306
|
+
pointer-events: none;
|
|
5307
|
+
}
|
|
5308
|
+
.ncua-image-file-input__preview-container::after {
|
|
5309
|
+
content: "";
|
|
5310
|
+
position: absolute;
|
|
5311
|
+
top: 0;
|
|
5312
|
+
left: 0;
|
|
5313
|
+
width: 100%;
|
|
5314
|
+
height: 100%;
|
|
5315
|
+
background: rgba(23, 24, 24, 0.9);
|
|
5316
|
+
border-radius: var(--border-radius-md);
|
|
5317
|
+
opacity: 0;
|
|
5318
|
+
transition: opacity 0.2s ease;
|
|
5319
|
+
pointer-events: none;
|
|
5320
|
+
}
|
|
5321
|
+
.ncua-image-file-input__preview-container:has(.ncua-image-file-input__preview-image):hover::after {
|
|
5322
|
+
opacity: 1;
|
|
5323
|
+
}
|
|
5324
|
+
.ncua-image-file-input__preview-container[disabled], .ncua-image-file-input__preview-container.is-disable, .ncua-image-file-input__preview-container.ncua-btn:hover {
|
|
5325
|
+
border: 1px dashed var(--gray-200);
|
|
5326
|
+
}
|
|
5327
|
+
.ncua-image-file-input__preview-remove-button {
|
|
5328
|
+
position: absolute;
|
|
5329
|
+
top: 50%;
|
|
5330
|
+
left: 50%;
|
|
5331
|
+
transform: translate(-50%, -50%);
|
|
5332
|
+
opacity: 0;
|
|
5333
|
+
transition: opacity 0.2s ease;
|
|
5334
|
+
z-index: 1;
|
|
5335
|
+
padding: 0;
|
|
5336
|
+
min-width: auto;
|
|
5337
|
+
background: transparent;
|
|
5338
|
+
color: var(--gray-200);
|
|
5339
|
+
}
|
|
5340
|
+
.ncua-image-file-input__preview-container:hover .ncua-image-file-input__preview-remove-button {
|
|
5341
|
+
opacity: 1;
|
|
5342
|
+
}
|
|
5343
|
+
.ncua-image-file-input__preview-remove-button:hover:not([disabled], .is-disable) {
|
|
5344
|
+
color: var(--gray-200);
|
|
5345
|
+
}
|
|
5346
|
+
.ncua-image-file-input__preview-image {
|
|
5347
|
+
position: absolute;
|
|
5348
|
+
top: 0;
|
|
5349
|
+
left: 0;
|
|
5350
|
+
width: 100%;
|
|
5351
|
+
height: 100%;
|
|
5352
|
+
border-radius: var(--border-radius-md);
|
|
5353
|
+
object-fit: cover;
|
|
5354
|
+
}
|
|
5355
|
+
.ncua-image-file-input .ncua-file-input__hint-list {
|
|
5356
|
+
font-size: var(--font-size-xxs);
|
|
5357
|
+
line-height: var(--line-heights-xxs);
|
|
5358
|
+
}
|
|
5359
|
+
.ncua-image-file-input .ncua-file-input__hint-list li + li {
|
|
5360
|
+
margin-top: 0;
|
|
5361
|
+
}
|
|
5362
|
+
.ncua-image-file-input .ncua-file-input__input-container:has(.ncua-label:empty) {
|
|
5363
|
+
gap: 0;
|
|
5364
|
+
}
|
|
5365
|
+
.ncua-image-file-input--xs {
|
|
5366
|
+
font-size: var(--font-size-xs);
|
|
5367
|
+
line-height: var(--line-heights-xs);
|
|
5368
|
+
}
|
|
5369
|
+
.ncua-image-file-input--xs .ncua-image-file-input__previews {
|
|
5370
|
+
height: 48px;
|
|
5371
|
+
min-width: 48px;
|
|
5372
|
+
}
|
|
5373
|
+
.ncua-image-file-input--xs .ncua-image-file-input__empty-slot-wrapper .ncua-tooltip svg {
|
|
5374
|
+
width: 48px;
|
|
5375
|
+
height: 48px;
|
|
5376
|
+
}
|
|
5377
|
+
.ncua-image-file-input--xs .ncua-image-file-input__preview-container {
|
|
5378
|
+
width: 48px;
|
|
5379
|
+
height: 48px;
|
|
5380
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 4.16669V15.8334M4.16669 10H15.8334' stroke='%23757678' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
5381
|
+
}
|
|
5382
|
+
.ncua-image-file-input--xs .ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image))[disabled], .ncua-image-file-input--xs .ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image)).is-disable {
|
|
5383
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 4.16669V15.8334M4.16669 10H15.8334' stroke='%23d3d4d8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
5384
|
+
}
|
|
5385
|
+
.ncua-image-file-input--xs .ncua-image-file-input__empty-slot-wrapper .ncua-tooltip .ncua-tooltip__bg {
|
|
5386
|
+
top: auto;
|
|
5387
|
+
bottom: -20px;
|
|
5388
|
+
}
|
|
5389
|
+
.ncua-image-file-input--sm {
|
|
5390
|
+
font-size: var(--font-size-sm);
|
|
5391
|
+
line-height: var(--line-heights-sm);
|
|
5392
|
+
}
|
|
5393
|
+
.ncua-image-file-input--sm .ncua-image-file-input__previews {
|
|
5394
|
+
height: 80px;
|
|
5395
|
+
min-width: 80px;
|
|
5396
|
+
}
|
|
5397
|
+
.ncua-image-file-input--sm .ncua-image-file-input__empty-slot-wrapper .ncua-tooltip svg {
|
|
5398
|
+
width: 80px;
|
|
5399
|
+
height: 80px;
|
|
5400
|
+
}
|
|
5401
|
+
.ncua-image-file-input--sm .ncua-image-file-input__preview-container {
|
|
5402
|
+
width: 80px;
|
|
5403
|
+
height: 80px;
|
|
5404
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 4.16669V15.8334M4.16669 10H15.8334' stroke='%23757678' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
5405
|
+
}
|
|
5406
|
+
.ncua-image-file-input--sm .ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image))[disabled], .ncua-image-file-input--sm .ncua-image-file-input__preview-container:not(:has(.ncua-image-file-input__preview-image)).is-disable {
|
|
5407
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 4.16669V15.8334M4.16669 10H15.8334' stroke='%23d3d4d8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
5408
|
+
}
|
|
5409
|
+
.ncua-image-file-input--sm .ncua-image-file-input__empty-slot-wrapper .ncua-tooltip .ncua-tooltip__bg {
|
|
5410
|
+
top: auto;
|
|
5411
|
+
bottom: -16px;
|
|
5412
|
+
}
|
|
5413
|
+
.ncua-image-file-input--xs .ncua-file-input {
|
|
5414
|
+
gap: 8px;
|
|
5415
|
+
}
|
|
5416
|
+
.ncua-image-file-input--sm .ncua-file-input {
|
|
5417
|
+
gap: 16px;
|
|
5418
|
+
}
|
|
5419
|
+
|
|
3752
5420
|
.flatpickr-calendar {
|
|
3753
5421
|
background: transparent;
|
|
3754
5422
|
opacity: 0;
|