@uxf/ui 1.0.0-beta.99 → 10.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/_file-input-base/file-input-base.d.ts +12 -0
- package/_file-input-base/file-input-base.js +32 -0
- package/_file-input-base/index.d.ts +2 -0
- package/_file-input-base/index.js +5 -0
- package/_input-with-popover/index.d.ts +2 -0
- package/_input-with-popover/index.js +5 -0
- package/_input-with-popover/input-with-popover.d.ts +27 -0
- package/_input-with-popover/input-with-popover.js +89 -0
- package/_private-utils/get-provider-config.js +1 -0
- package/_select-base/_select-base.d.ts +53 -0
- package/_select-base/_select-base.js +94 -0
- package/_select-base/index.d.ts +2 -0
- package/_select-base/index.js +5 -0
- package/avatar/avatar.js +25 -5
- package/avatar/avatar.spec.js +2 -2
- package/avatar/avatar.stories.d.ts +1 -1
- package/avatar/index.d.ts +2 -1
- package/avatar/index.js +3 -15
- package/avatar-file-input/avatar-file-input.d.ts +5 -30
- package/avatar-file-input/avatar-file-input.js +12 -34
- package/avatar-file-input/avatar-file-input.spec.d.ts +1 -0
- package/avatar-file-input/avatar-file-input.spec.js +9 -0
- package/avatar-file-input/avatar-file-input.stories.d.ts +1 -1
- package/avatar-file-input/avatar-file-input.stories.js +44 -18
- package/avatar-file-input/index.d.ts +2 -1
- package/avatar-file-input/index.js +3 -15
- package/badge/badge.d.ts +1 -1
- package/badge/badge.js +25 -5
- package/badge/badge.spec.d.ts +1 -0
- package/badge/badge.spec.js +9 -0
- package/badge/badge.stories.d.ts +1 -1
- package/badge/index.d.ts +3 -1
- package/badge/index.js +3 -15
- package/badge/theme.d.ts +1 -0
- package/button/button.d.ts +3 -3
- package/button/button.js +26 -8
- package/button/button.spec.d.ts +1 -0
- package/button/button.spec.js +9 -0
- package/button/button.stories.d.ts +2 -6
- package/button/button.stories.js +19 -17
- package/button/index.d.ts +3 -1
- package/button/index.js +3 -15
- package/button/theme.d.ts +3 -0
- package/button-group/button-group.d.ts +6 -0
- package/button-group/button-group.js +13 -0
- package/button-group/button-group.spec.d.ts +1 -0
- package/button-group/button-group.spec.js +9 -0
- package/button-group/button-group.stories.d.ts +7 -0
- package/button-group/button-group.stories.js +40 -0
- package/button-group/index.d.ts +2 -0
- package/button-group/index.js +5 -0
- package/button-list/button-list.d.ts +21 -0
- package/button-list/button-list.js +77 -0
- package/button-list/button-list.spec.d.ts +1 -0
- package/button-list/button-list.spec.js +9 -0
- package/button-list/button-list.stories.d.ts +7 -0
- package/button-list/button-list.stories.js +55 -0
- package/button-list/index.d.ts +2 -0
- package/button-list/index.js +5 -0
- package/calendar/calendar-day-cell.d.ts +7 -0
- package/{date-picker-input/date-picker-day.js → calendar/calendar-day-cell.js} +8 -9
- package/calendar/calendar-provider.d.ts +6 -0
- package/{date-picker-input/date-picker-provider.js → calendar/calendar-provider.js} +9 -9
- package/calendar/calendar.d.ts +7 -0
- package/calendar/calendar.js +53 -0
- package/calendar/calendar.stories.d.ts +10 -0
- package/calendar/calendar.stories.js +49 -0
- package/calendar/index.d.ts +1 -0
- package/{form-control → calendar}/index.js +1 -1
- package/checkbox/checkbox.d.ts +6 -7
- package/checkbox/checkbox.js +48 -13
- package/checkbox/checkbox.spec.js +2 -4
- package/checkbox/checkbox.stories.d.ts +2 -2
- package/checkbox/checkbox.stories.js +8 -6
- package/checkbox/index.d.ts +3 -1
- package/checkbox/index.js +3 -15
- package/{checkbox-visual → checkbox}/theme.d.ts +1 -0
- package/checkbox-button/checkbox-button.d.ts +3 -2
- package/checkbox-button/checkbox-button.js +26 -6
- package/checkbox-button/checkbox-button.spec.js +2 -3
- package/checkbox-button/checkbox-button.stories.d.ts +1 -1
- package/checkbox-button/checkbox-button.stories.js +8 -18
- package/checkbox-button/index.d.ts +2 -1
- package/checkbox-button/index.js +3 -15
- package/checkbox-input/checkbox-input.d.ts +12 -0
- package/checkbox-input/checkbox-input.js +37 -0
- package/checkbox-input/checkbox-input.spec.d.ts +1 -0
- package/checkbox-input/checkbox-input.spec.js +9 -0
- package/{checkbox-visual/checkbox-visual.stories.d.ts → checkbox-input/checkbox-input.stories.d.ts} +2 -2
- package/{checkbox-visual/checkbox-visual.stories.js → checkbox-input/checkbox-input.stories.js} +9 -7
- package/checkbox-input/index.d.ts +2 -0
- package/checkbox-input/index.js +5 -0
- package/chip/chip.d.ts +8 -5
- package/chip/chip.js +31 -10
- package/chip/chip.stories.d.ts +2 -6
- package/chip/chip.stories.js +28 -11
- package/chip/theme.d.ts +12 -4
- package/color-radio/color-radio.d.ts +12 -0
- package/color-radio/color-radio.js +65 -0
- package/color-radio/color-radio.spec.d.ts +1 -0
- package/color-radio/color-radio.spec.js +9 -0
- package/color-radio/color-radio.stories.d.ts +7 -0
- package/color-radio/color-radio.stories.js +31 -0
- package/color-radio/index.d.ts +2 -0
- package/color-radio/index.js +5 -0
- package/color-radio-group/color-radio-group.d.ts +3 -2
- package/color-radio-group/color-radio-group.js +12 -10
- package/color-radio-group/color-radio-group.spec.d.ts +1 -0
- package/color-radio-group/color-radio-group.spec.js +9 -0
- package/color-radio-group/color-radio-group.stories.d.ts +1 -1
- package/color-radio-group/color-radio-group.stories.js +4 -2
- package/color-radio-group/index.d.ts +2 -1
- package/color-radio-group/index.js +3 -15
- package/color-scheme/index.d.ts +1 -0
- package/color-scheme/index.js +3 -1
- package/color-scheme/use-color-scheme.d.ts +1 -0
- package/color-scheme/use-color-scheme.js +19 -0
- package/combobox/combobox.d.ts +19 -20
- package/combobox/combobox.js +19 -31
- package/combobox/combobox.spec.d.ts +1 -0
- package/combobox/combobox.spec.js +10 -0
- package/combobox/combobox.stories.d.ts +7 -4
- package/combobox/combobox.stories.js +25 -12
- package/combobox/index.d.ts +2 -1
- package/combobox/index.js +3 -15
- package/config/icons-config.d.ts +1 -1
- package/config/icons-config.js +1 -1
- package/config/icons.d.ts +41 -1
- package/config/icons.js +8 -0
- package/content/types.d.ts +3 -3
- package/context/context.d.ts +2 -1
- package/context/provider.d.ts +1 -1
- package/context/provider.js +3 -0
- package/context/use-component-context.d.ts +1 -1
- package/css/avatar-file-input.css +80 -5
- package/css/badge.css +1 -1
- package/css/button-group.css +22 -0
- package/css/button-list.css +61 -0
- package/css/button.css +141 -27
- package/css/calendar.css +215 -0
- package/css/checkbox-button.css +8 -8
- package/css/checkbox-input.css +24 -0
- package/css/checkbox.css +33 -60
- package/css/chip.css +499 -79
- package/css/color-radio-group.css +1 -1
- package/css/color-radio.css +17 -5
- package/css/date-picker.css +13 -81
- package/css/datetime-picker.css +11 -0
- package/css/dropdown.css +53 -7
- package/css/dropzone.css +85 -0
- package/css/error-message.css +1 -1
- package/css/file-input.css +80 -0
- package/css/flash-messages.css +6 -6
- package/css/{form-control.css → form-component.css} +1 -1
- package/css/image-gallery.css +59 -0
- package/css/input-with-popover.css +35 -0
- package/css/input.css +89 -24
- package/css/list-item.css +2 -2
- package/css/loader.css +13 -1
- package/css/modal.css +65 -0
- package/css/multi-combobox.css +49 -11
- package/css/multi-select.css +27 -0
- package/css/pagination.css +70 -5
- package/css/radio-group.css +42 -33
- package/css/radio.css +9 -13
- package/css/select-base.css +50 -0
- package/css/tabs.css +8 -8
- package/css/text-link.css +2 -2
- package/css/textarea.css +17 -10
- package/css/time-picker.css +8 -3
- package/css/toggle.css +5 -5
- package/css/tooltip.css +7 -0
- package/date-picker/date-picker-content.d.ts +2 -0
- package/{date-picker-input/date-picker.js → date-picker/date-picker-content.js} +5 -3
- package/{date-picker-input → date-picker}/date-picker-decade.js +12 -10
- package/{date-picker-input → date-picker}/date-picker-month.js +21 -15
- package/date-picker/date-picker-navigation.d.ts +9 -0
- package/date-picker/date-picker-navigation.js +19 -0
- package/{date-picker-input → date-picker}/date-picker-year.js +16 -11
- package/date-picker/date-picker.d.ts +10 -0
- package/date-picker/date-picker.js +27 -0
- package/date-picker/date-picker.spec.d.ts +1 -0
- package/date-picker/date-picker.spec.js +9 -0
- package/date-picker/date-picker.stories.d.ts +7 -0
- package/date-picker/date-picker.stories.js +43 -0
- package/date-picker/index.d.ts +3 -0
- package/date-picker/index.js +5 -0
- package/date-picker/types.d.ts +1 -0
- package/date-picker-input/date-picker-input.d.ts +9 -18
- package/date-picker-input/date-picker-input.js +54 -59
- package/date-picker-input/date-picker-input.spec.d.ts +1 -0
- package/date-picker-input/date-picker-input.spec.js +9 -0
- package/date-picker-input/date-picker-input.stories.d.ts +1 -8
- package/date-picker-input/date-picker-input.stories.js +9 -14
- package/date-picker-input/index.d.ts +2 -3
- package/date-picker-input/index.js +6 -17
- package/datetime-picker/datetime-picker.d.ts +13 -0
- package/datetime-picker/datetime-picker.js +94 -0
- package/datetime-picker/datetime-picker.spec.d.ts +1 -0
- package/datetime-picker/datetime-picker.spec.js +9 -0
- package/datetime-picker/datetime-picker.stories.d.ts +7 -0
- package/datetime-picker/datetime-picker.stories.js +43 -0
- package/datetime-picker/index.d.ts +2 -0
- package/datetime-picker/index.js +7 -0
- package/datetime-picker-input/datetime-picker-input.d.ts +12 -0
- package/datetime-picker-input/datetime-picker-input.js +81 -0
- package/datetime-picker-input/datetime-picker-input.spec.d.ts +1 -0
- package/datetime-picker-input/datetime-picker-input.spec.js +9 -0
- package/datetime-picker-input/datetime-picker-input.stories.d.ts +7 -0
- package/datetime-picker-input/datetime-picker-input.stories.js +49 -0
- package/datetime-picker-input/index.d.ts +2 -0
- package/datetime-picker-input/index.js +7 -0
- package/dropdown/dropdown.d.ts +4 -4
- package/dropdown/dropdown.js +27 -6
- package/dropdown/dropdown.spec.d.ts +1 -0
- package/dropdown/dropdown.spec.js +9 -0
- package/dropdown/dropdown.stories.d.ts +2 -2
- package/dropdown/index.d.ts +2 -1
- package/dropdown/index.js +3 -15
- package/dropzone/dropzone-input.d.ts +19 -0
- package/dropzone/dropzone-input.js +121 -0
- package/dropzone/dropzone-list.d.ts +10 -0
- package/dropzone/dropzone-list.js +92 -0
- package/dropzone/dropzone.spec.d.ts +1 -0
- package/dropzone/dropzone.spec.js +9 -0
- package/dropzone/dropzone.stories.d.ts +10 -0
- package/dropzone/dropzone.stories.js +63 -0
- package/dropzone/index.d.ts +6 -0
- package/dropzone/index.js +6 -0
- package/dropzone/types.d.ts +10 -0
- package/dropzone/types.js +2 -0
- package/error-message/error-message.d.ts +3 -4
- package/error-message/error-message.js +3 -2
- package/error-message/error-message.spec.d.ts +1 -0
- package/error-message/error-message.spec.js +9 -0
- package/error-message/error-message.stories.d.ts +3 -4
- package/error-message/index.d.ts +1 -1
- package/error-message/index.js +3 -15
- package/file-input/file-input.d.ts +12 -0
- package/file-input/file-input.js +75 -0
- package/file-input/file-input.spec.d.ts +1 -0
- package/file-input/file-input.spec.js +9 -0
- package/file-input/file-input.stories.d.ts +7 -0
- package/file-input/file-input.stories.js +50 -0
- package/file-input/index.d.ts +2 -0
- package/file-input/index.js +5 -0
- package/flash-messages/flash-message.d.ts +1 -1
- package/flash-messages/flash-message.js +1 -0
- package/flash-messages/flash-messages.js +1 -1
- package/flash-messages/flash-messages.spec.d.ts +1 -0
- package/flash-messages/flash-messages.spec.js +9 -0
- package/flash-messages/flash-messages.stories.d.ts +1 -1
- package/flash-messages/flash-messages.stories.js +12 -7
- package/flash-messages/index.d.ts +3 -0
- package/flash-messages/index.js +8 -0
- package/{form-control/form-control.d.ts → form-component/form-component.d.ts} +2 -2
- package/form-component/form-component.js +41 -0
- package/form-component/form-component.spec.d.ts +1 -0
- package/form-component/form-component.spec.js +9 -0
- package/{form-control/form-control.stories.d.ts → form-component/form-component.stories.d.ts} +2 -2
- package/form-component/form-component.stories.js +25 -0
- package/form-component/index.d.ts +2 -0
- package/form-component/index.js +5 -0
- package/hooks/use-async-loading.d.ts +4 -0
- package/hooks/use-async-loading.js +32 -0
- package/hooks/use-dropdown.d.ts +32 -2
- package/hooks/use-dropdown.js +4 -6
- package/hooks/use-input-submit.d.ts +1 -1
- package/icon/icon.d.ts +3 -3
- package/icon/icon.js +25 -5
- package/icon/icon.spec.d.ts +1 -0
- package/icon/icon.spec.js +10 -0
- package/icon/icon.stories.d.ts +6 -10
- package/icon/icon.stories.js +2 -2
- package/icon/index.d.ts +2 -1
- package/icon/index.js +3 -15
- package/icon/types.d.ts +1 -1
- package/image-gallery/components/arrow-button.d.ts +7 -0
- package/image-gallery/components/{previous-button.js → arrow-button.js} +7 -5
- package/image-gallery/components/close-button.d.ts +4 -3
- package/image-gallery/components/close-button.js +9 -5
- package/image-gallery/components/dot.d.ts +3 -3
- package/image-gallery/components/dot.js +6 -4
- package/image-gallery/components/gallery.d.ts +4 -3
- package/image-gallery/components/gallery.js +20 -20
- package/image-gallery/context.d.ts +1 -1
- package/image-gallery/image-gallery.d.ts +4 -4
- package/image-gallery/image-gallery.js +7 -8
- package/image-gallery/image-gallery.spec.d.ts +1 -0
- package/image-gallery/image-gallery.spec.js +9 -0
- package/image-gallery/image-gallery.stories.d.ts +5 -4
- package/image-gallery/image-gallery.stories.js +21 -10
- package/image-gallery/image.d.ts +2 -3
- package/image-gallery/image.js +8 -4
- package/image-gallery/index.d.ts +6 -4
- package/image-gallery/index.js +6 -24
- package/image-gallery/types.d.ts +4 -2
- package/image-gallery/use-image.js +3 -2
- package/input/index.d.ts +9 -8
- package/input/index.js +4 -2
- package/input/input-element.d.ts +2 -1
- package/input/input-element.js +28 -6
- package/input/input-left-addon.d.ts +3 -7
- package/input/input-left-addon.js +6 -4
- package/input/input-left-element.d.ts +3 -7
- package/input/input-left-element.js +3 -3
- package/input/input-remove-button.d.ts +5 -0
- package/input/input-remove-button.js +29 -0
- package/input/input-right-addon.d.ts +2 -5
- package/input/input-right-addon.js +6 -4
- package/input/input-right-element.d.ts +3 -7
- package/input/input-right-element.js +3 -3
- package/input/input.d.ts +11 -1
- package/input/input.js +23 -23
- package/input/input.spec.d.ts +1 -0
- package/input/input.spec.js +10 -0
- package/input/input.stories.d.ts +10 -9
- package/input/input.stories.js +13 -10
- package/input/theme.d.ts +2 -0
- package/label/index.d.ts +2 -1
- package/label/index.js +3 -15
- package/label/label.js +28 -6
- package/label/label.spec.d.ts +1 -0
- package/label/label.spec.js +9 -0
- package/label/label.stories.d.ts +1 -1
- package/layout/index.d.ts +2 -1
- package/layout/index.js +3 -15
- package/layout/layout.js +5 -4
- package/layout/layout.spec.d.ts +1 -0
- package/layout/layout.spec.js +9 -0
- package/layout/layout.stories.d.ts +1 -1
- package/list-item/index.d.ts +2 -1
- package/list-item/index.js +3 -15
- package/list-item/list-item.js +25 -5
- package/list-item/list-item.spec.d.ts +1 -0
- package/list-item/list-item.spec.js +9 -0
- package/list-item/list-item.stories.d.ts +1 -1
- package/list-item/list-item.stories.js +7 -5
- package/loader/index.d.ts +2 -0
- package/loader/index.js +5 -0
- package/loader/loader.d.ts +5 -2
- package/loader/loader.js +27 -6
- package/loader/loader.spec.d.ts +1 -0
- package/loader/loader.spec.js +9 -0
- package/loader/loader.stories.d.ts +2 -2
- package/loader/loader.stories.js +4 -3
- package/modal/index.d.ts +3 -0
- package/modal/index.js +9 -0
- package/modal/modal-dialog.d.ts +11 -0
- package/modal/modal-dialog.js +38 -0
- package/modal/modal-service.d.ts +5 -0
- package/modal/modal-service.js +21 -0
- package/modal/modal.d.ts +14 -0
- package/modal/modal.js +51 -0
- package/modal/modal.spec.d.ts +1 -0
- package/modal/modal.spec.js +9 -0
- package/modal/modal.stories.d.ts +7 -0
- package/modal/modal.stories.js +50 -0
- package/modal/theme.d.ts +5 -0
- package/modal/theme.js +2 -0
- package/multi-combobox/_multi-combobox-base.d.ts +8 -0
- package/multi-combobox/_multi-combobox-base.js +112 -0
- package/multi-combobox/index.d.ts +2 -0
- package/multi-combobox/index.js +5 -0
- package/multi-combobox/multi-combobox.d.ts +3 -0
- package/multi-combobox/multi-combobox.js +67 -0
- package/multi-combobox/multi-combobox.spec.d.ts +1 -0
- package/multi-combobox/multi-combobox.spec.js +10 -0
- package/multi-combobox/multi-combobox.stories.d.ts +10 -0
- package/multi-combobox/multi-combobox.stories.js +86 -0
- package/multi-combobox/types.d.ts +36 -0
- package/multi-combobox/types.js +2 -0
- package/multi-select/_multi-select-base.d.ts +8 -0
- package/multi-select/_multi-select-base.js +77 -0
- package/multi-select/index.d.ts +2 -0
- package/multi-select/index.js +5 -0
- package/multi-select/multi-select.d.ts +3 -0
- package/multi-select/multi-select.js +55 -0
- package/multi-select/multi-select.spec.d.ts +1 -0
- package/multi-select/multi-select.spec.js +9 -0
- package/multi-select/multi-select.stories.d.ts +9 -0
- package/{mutli-combobox/multi-combobox.stories.js → multi-select/multi-select.stories.js} +17 -22
- package/multi-select/types.d.ts +31 -0
- package/multi-select/types.js +2 -0
- package/package.json +12 -11
- package/pagination/index.d.ts +2 -0
- package/pagination/index.js +5 -0
- package/pagination/pagination.d.ts +3 -0
- package/pagination/pagination.js +11 -6
- package/pagination/pagination.spec.d.ts +1 -0
- package/pagination/pagination.spec.js +9 -0
- package/pagination/pagination.stories.d.ts +4 -1
- package/pagination/pagination.stories.js +23 -3
- package/pagination/theme.d.ts +7 -0
- package/pagination/theme.js +2 -0
- package/paper/index.d.ts +2 -0
- package/paper/index.js +5 -0
- package/paper/paper.d.ts +2 -2
- package/paper/paper.js +25 -5
- package/paper/paper.spec.d.ts +1 -0
- package/paper/paper.spec.js +9 -0
- package/paper/paper.stories.d.ts +2 -2
- package/radio/index.d.ts +3 -1
- package/radio/index.js +3 -15
- package/radio/radio.d.ts +9 -6
- package/radio/radio.js +45 -9
- package/radio/radio.spec.js +2 -3
- package/radio/radio.stories.d.ts +2 -2
- package/radio/radio.stories.js +12 -12
- package/radio/theme.d.ts +1 -0
- package/radio-group/index.d.ts +3 -1
- package/radio-group/index.js +3 -15
- package/radio-group/radio-group.d.ts +3 -4
- package/radio-group/radio-group.js +10 -8
- package/radio-group/radio-group.spec.js +2 -17
- package/radio-group/radio-group.stories.d.ts +1 -1
- package/radio-group/radio-group.stories.js +7 -4
- package/radio-group/theme.d.ts +2 -0
- package/raster-image/index.d.ts +2 -1
- package/raster-image/index.js +3 -15
- package/raster-image/raster-image.d.ts +3 -3
- package/raster-image/raster-image.js +2 -1
- package/raster-image/raster-image.spec.d.ts +1 -0
- package/raster-image/raster-image.spec.js +9 -0
- package/raster-image/raster-image.stories.d.ts +2 -25
- package/select/index.d.ts +2 -1
- package/select/index.js +3 -15
- package/select/select.d.ts +16 -17
- package/select/select.js +16 -52
- package/select/select.spec.d.ts +1 -0
- package/select/select.spec.js +9 -0
- package/select/select.stories.d.ts +6 -4
- package/select/select.stories.js +24 -27
- package/select/theme.d.ts +5 -0
- package/select/theme.js +2 -0
- package/tabs/index.d.ts +2 -1
- package/tabs/index.js +3 -15
- package/tabs/tabs.d.ts +2 -1
- package/tabs/tabs.js +4 -3
- package/tabs/tabs.spec.d.ts +1 -0
- package/tabs/tabs.spec.js +9 -0
- package/tabs/tabs.stories.d.ts +1 -1
- package/text-input/index.d.ts +2 -1
- package/text-input/index.js +3 -15
- package/text-input/text-input.d.ts +2 -2
- package/text-input/text-input.js +12 -19
- package/text-input/text-input.spec.js +2 -2
- package/text-input/text-input.stories.d.ts +2 -2
- package/text-input/text-input.stories.js +23 -7
- package/text-link/index.d.ts +2 -1
- package/text-link/index.js +3 -15
- package/text-link/text-link.d.ts +3 -0
- package/text-link/text-link.js +27 -7
- package/text-link/text-link.spec.d.ts +1 -0
- package/text-link/text-link.spec.js +9 -0
- package/text-link/text-link.stories.d.ts +1 -1
- package/text-link/text-link.stories.js +4 -2
- package/text-link/theme.d.ts +3 -0
- package/text-link/theme.js +2 -0
- package/textarea/index.d.ts +2 -1
- package/textarea/index.js +3 -15
- package/textarea/textarea.js +11 -19
- package/textarea/textarea.spec.d.ts +1 -0
- package/textarea/textarea.spec.js +9 -0
- package/textarea/textarea.stories.d.ts +1 -1
- package/textarea/textarea.stories.js +4 -2
- package/time-picker/index.d.ts +2 -0
- package/time-picker/index.js +5 -0
- package/{time-picker-input → time-picker}/time-picker-hour.js +2 -0
- package/{time-picker-input → time-picker}/time-picker-hours.js +1 -0
- package/time-picker/time-picker-input.spec.d.ts +1 -0
- package/time-picker/time-picker-input.spec.js +9 -0
- package/time-picker/time-picker-input.stories.d.ts +7 -0
- package/time-picker/time-picker-input.stories.js +43 -0
- package/{time-picker-input → time-picker}/time-picker-minute.js +2 -0
- package/{time-picker-input → time-picker}/time-picker-minutes.js +1 -0
- package/{time-picker-input → time-picker}/time-picker.d.ts +1 -1
- package/{time-picker-input → time-picker}/time-picker.js +2 -1
- package/time-picker-input/index.d.ts +2 -2
- package/time-picker-input/index.js +6 -16
- package/time-picker-input/time-picker-input.d.ts +7 -19
- package/time-picker-input/time-picker-input.js +51 -62
- package/time-picker-input/time-picker-input.spec.d.ts +1 -0
- package/time-picker-input/time-picker-input.spec.js +9 -0
- package/time-picker-input/time-picker-input.stories.d.ts +1 -1
- package/time-picker-input/time-picker-input.stories.js +9 -6
- package/toggle/index.d.ts +3 -1
- package/toggle/index.js +3 -15
- package/toggle/theme.d.ts +1 -0
- package/toggle/toggle.d.ts +6 -6
- package/toggle/toggle.js +26 -6
- package/toggle/toggle.spec.d.ts +1 -0
- package/toggle/toggle.spec.js +9 -0
- package/toggle/toggle.stories.d.ts +1 -1
- package/toggle/toggle.stories.js +6 -12
- package/tooltip/index.d.ts +4 -0
- package/tooltip/index.js +7 -0
- package/tooltip/tooltip.d.ts +9 -0
- package/tooltip/tooltip.js +70 -0
- package/tooltip/tooltip.spec.d.ts +1 -0
- package/tooltip/tooltip.spec.js +9 -0
- package/tooltip/tooltip.stories.d.ts +7 -0
- package/tooltip/tooltip.stories.js +19 -0
- package/tooltip/use-tooltip.d.ts +43 -0
- package/tooltip/use-tooltip.js +36 -0
- package/tw-tokens/tw-box-shadow.d.ts +1 -1
- package/tw-tokens/tw-colors.d.ts +27 -1
- package/tw-tokens/tw-colors.js +26 -0
- package/tw-tokens/tw-containers.d.ts +1 -1
- package/tw-tokens/tw-font-size.d.ts +1 -1
- package/tw-tokens/tw-font-weight.d.ts +1 -1
- package/tw-tokens/tw-line-height.d.ts +1 -1
- package/tw-tokens/tw-screens.d.ts +1 -1
- package/tw-tokens/tw-spacing.d.ts +1 -1
- package/tw-tokens/tw-z-index.d.ts +1 -1
- package/types/color.d.ts +2 -2
- package/types/file-response.d.ts +12 -0
- package/types/file-response.js +2 -0
- package/types/form-control-props.d.ts +10 -6
- package/types/index.d.ts +1 -0
- package/types/index.js +1 -0
- package/typography/typography.spec.js +2 -14
- package/typography/typography.stories.d.ts +2 -2
- package/utils/component-structure-analyzer.d.ts +2 -2
- package/utils/files/get-file-url.d.ts +2 -0
- package/utils/files/get-file-url.js +7 -0
- package/utils/icons-config.js +40 -0
- package/utils/mocks/uploadFIle.mock.d.ts +2 -0
- package/utils/mocks/uploadFIle.mock.js +46 -0
- package/utils/snap-test.js +5 -0
- package/utils/storybook-config.d.ts +2 -2
- package/utils/storybook-config.js +1 -1
- package/utils/tailwind-config.js +17 -74
- package/utils/tailwind-plugins/container.js +39 -0
- package/utils/tailwind-plugins/variants.js +15 -0
- package/utils/tailwind-theme-defaults.js +20 -0
- package/checkbox-visual/checkbox-visual.d.ts +0 -10
- package/checkbox-visual/checkbox-visual.js +0 -17
- package/checkbox-visual/index.d.ts +0 -1
- package/checkbox-visual/index.js +0 -17
- package/color-radio-group/color-radio.d.ts +0 -7
- package/color-radio-group/color-radio.js +0 -22
- package/css/button.old.css +0 -231
- package/css/chip.old.css +0 -37
- package/css/combobox.css +0 -108
- package/css/combobox.old.css +0 -102
- package/css/date-picker-input.css +0 -135
- package/css/dropdown.old.css +0 -24
- package/css/input.old.css +0 -193
- package/css/select.css +0 -72
- package/css/select.old.css +0 -66
- package/css/time-picker-input.css +0 -138
- package/date-picker-input/date-picker-day.d.ts +0 -8
- package/date-picker-input/date-picker-provider.d.ts +0 -8
- package/date-picker-input/date-picker.d.ts +0 -3
- package/date-picker-input/types.d.ts +0 -5
- package/form-control/form-control.js +0 -19
- package/form-control/form-control.stories.js +0 -25
- package/form-control/index.d.ts +0 -1
- package/image-gallery/components/next-button.d.ts +0 -6
- package/image-gallery/components/next-button.js +0 -12
- package/image-gallery/components/previous-button.d.ts +0 -6
- package/mutli-combobox/index.d.ts +0 -1
- package/mutli-combobox/index.js +0 -17
- package/mutli-combobox/multi-combobox.d.ts +0 -27
- package/mutli-combobox/multi-combobox.js +0 -94
- package/mutli-combobox/multi-combobox.stories.d.ts +0 -10
- /package/{checkbox-visual → checkbox}/theme.js +0 -0
- /package/{date-picker-input → date-picker}/date-picker-decade.d.ts +0 -0
- /package/{date-picker-input → date-picker}/date-picker-month.d.ts +0 -0
- /package/{date-picker-input → date-picker}/date-picker-year.d.ts +0 -0
- /package/{date-picker-input → date-picker}/types.js +0 -0
- /package/{time-picker-input → time-picker}/time-picker-hour.d.ts +0 -0
- /package/{time-picker-input → time-picker}/time-picker-hours.d.ts +0 -0
- /package/{time-picker-input → time-picker}/time-picker-minute.d.ts +0 -0
- /package/{time-picker-input → time-picker}/time-picker-minutes.d.ts +0 -0
package/css/date-picker.css
CHANGED
|
@@ -1,90 +1,22 @@
|
|
|
1
1
|
.uxf-date-picker {
|
|
2
|
-
|
|
3
|
-
&__year-select,
|
|
4
|
-
&__decade-select {
|
|
5
|
-
@apply flex items-center justify-between px-4 w-[320px] sm:w-[360px];
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&__month-calendar,
|
|
9
|
-
&__year-calendar,
|
|
10
|
-
&__decade-calendar {
|
|
11
|
-
@apply grid place-items-center w-full px-4 pt-4 text-center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__month-calendar {
|
|
15
|
-
@apply grid-cols-7 gap-0.5;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__year-calendar {
|
|
19
|
-
@apply grid-cols-3 sm:grid-cols-4 gap-2;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__decade-calendar {
|
|
23
|
-
@apply grid-cols-3 gap-2;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__weekday-label {
|
|
27
|
-
@apply uppercase pb-2;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__decade-label {
|
|
31
|
-
@apply font-semibold;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&__cell {
|
|
35
|
-
@apply p-1 transition relative rounded-full outline-none before:absolute before:pointer-events-none
|
|
36
|
-
before:rounded-full before:-inset-1 focus-visible:before:border-2;
|
|
37
|
-
|
|
38
|
-
&__day {
|
|
39
|
-
@apply w-9 h-9;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__month {
|
|
43
|
-
@apply w-full;
|
|
44
|
-
}
|
|
2
|
+
@apply w-[296px] sm:w-[340px] mx-auto;
|
|
45
3
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
}
|
|
4
|
+
&__navigation {
|
|
5
|
+
@apply flex items-center justify-between mb-4;
|
|
50
6
|
|
|
51
|
-
|
|
52
|
-
|
|
7
|
+
&-title {
|
|
8
|
+
font-size: 14px;
|
|
9
|
+
font-weight: theme("fontWeight.medium");
|
|
10
|
+
text-align: center;
|
|
53
11
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
12
|
+
:root .light & {
|
|
13
|
+
@apply text-lightMedium is-hoverable:text-lightHigh;
|
|
14
|
+
}
|
|
57
15
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.uxf-date-picker__cell__day--selected {
|
|
63
|
-
@apply bg-primary-500 text-white hover:bg-primary-500;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.uxf-date-picker__cell__day--not-current-month {
|
|
67
|
-
@apply text-gray-400;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:root .dark & {
|
|
72
|
-
@apply bg-gray-900 text-white;
|
|
73
|
-
|
|
74
|
-
.uxf-date-picker__cell {
|
|
75
|
-
@apply hover:bg-gray-700 focus-visible:before:border-primary-500;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.uxf-date-picker__cell__day--today {
|
|
79
|
-
@apply bg-primary-400/50 hover:bg-primary-400/60;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.uxf-date-picker__cell__day--selected {
|
|
83
|
-
@apply bg-primary-500 text-white hover:bg-primary-500;
|
|
84
|
-
}
|
|
16
|
+
:root .dark & {
|
|
17
|
+
@apply text-darkMedium is-hoverable:text-darkHigh;
|
|
18
|
+
}
|
|
85
19
|
|
|
86
|
-
.uxf-date-picker__cell__day--not-current-month {
|
|
87
|
-
@apply text-gray-600;
|
|
88
20
|
}
|
|
89
21
|
}
|
|
90
22
|
}
|
package/css/dropdown.css
CHANGED
|
@@ -1,24 +1,70 @@
|
|
|
1
1
|
.uxf-dropdown {
|
|
2
|
-
@apply absolute z-
|
|
3
|
-
ring-opacity-5
|
|
2
|
+
@apply absolute z-dropdown w-full overflow-y-auto rounded-md py-1 text-base shadow-lg ring-1 ring-black
|
|
3
|
+
ring-opacity-5 sm:text-sm;
|
|
4
|
+
|
|
5
|
+
outline: none;
|
|
6
|
+
|
|
7
|
+
:root .light & {
|
|
8
|
+
@apply bg-white text-gray-800;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:root .dark & {
|
|
12
|
+
@apply bg-gray-800 text-white;
|
|
13
|
+
}
|
|
4
14
|
|
|
5
15
|
&--bottom {
|
|
6
16
|
@apply mt-1;
|
|
7
17
|
}
|
|
8
18
|
|
|
9
19
|
&--top {
|
|
10
|
-
@apply -
|
|
20
|
+
@apply -mt-1;
|
|
11
21
|
}
|
|
12
22
|
|
|
13
23
|
&__item {
|
|
14
|
-
@apply relative cursor-default select-none py-2 px-4
|
|
24
|
+
@apply relative cursor-default select-none py-2 px-4 transition-colors;
|
|
15
25
|
|
|
16
|
-
&.is-
|
|
17
|
-
@apply
|
|
26
|
+
&.is-selected {
|
|
27
|
+
@apply font-bold;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:root .light & {
|
|
31
|
+
@apply text-gray-800;
|
|
32
|
+
|
|
33
|
+
&.is-selected {
|
|
34
|
+
@apply bg-primary-100 font-bold;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.is-active {
|
|
38
|
+
@apply bg-primary text-white;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:root .dark & {
|
|
43
|
+
@apply text-white;
|
|
44
|
+
|
|
45
|
+
&.is-selected {
|
|
46
|
+
@apply bg-primary-900;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.is-active {
|
|
50
|
+
@apply bg-primary;
|
|
51
|
+
}
|
|
18
52
|
}
|
|
19
53
|
}
|
|
20
54
|
|
|
21
55
|
&__items {
|
|
22
|
-
@apply absolute flex flex-col border border-black
|
|
56
|
+
@apply absolute flex flex-col border border-black;
|
|
57
|
+
|
|
58
|
+
:root .light & {
|
|
59
|
+
@apply bg-white;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:root .dark & {
|
|
63
|
+
@apply bg-gray-800;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&__empty-wrapper {
|
|
68
|
+
@apply py-2 px-4 text-gray-800;
|
|
23
69
|
}
|
|
24
70
|
}
|
package/css/dropzone.css
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.uxf-dropzone {
|
|
2
|
+
@apply rounded-lg focus:outline-none;
|
|
3
|
+
|
|
4
|
+
&__input {
|
|
5
|
+
@apply sr-only;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__label {
|
|
9
|
+
@apply flex flex-col space-y-2 items-center justify-center p-4 border-2 border-lightBorder border-dashed
|
|
10
|
+
rounded-inherit cursor-pointer text-lightLow text-[14px];
|
|
11
|
+
|
|
12
|
+
&__icon {
|
|
13
|
+
@apply h-6;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.is-invalid {
|
|
17
|
+
@apply border-error;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.is-disabled {
|
|
21
|
+
@apply bg-lightBorder/50 cursor-not-allowed;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.uxf-dropzone-list {
|
|
27
|
+
@apply space-y-2;
|
|
28
|
+
|
|
29
|
+
&__item-wrapper {
|
|
30
|
+
@apply flex flex-col items-start justify-start space-y-1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__item {
|
|
34
|
+
@apply overflow-auto border px-4 py-3 shadow-sm sm:rounded-md sm:px-6 flex w-full
|
|
35
|
+
items-center justify-between space-x-6;
|
|
36
|
+
|
|
37
|
+
:root .light & {
|
|
38
|
+
@apply border-lightBorder text-lightMedium;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:root .dark & {
|
|
42
|
+
@apply border-gray-700 bg-gray-800 text-gray-200;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.is-invalid {
|
|
46
|
+
:root .light & {
|
|
47
|
+
@apply border-error text-error;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:root .dark & {
|
|
51
|
+
@apply border-error text-error;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__block {
|
|
56
|
+
@apply flex items-center space-x-4 min-w-0;
|
|
57
|
+
|
|
58
|
+
&:nth-child(2) {
|
|
59
|
+
@apply shrink-0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__icon {
|
|
63
|
+
@apply h-6;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__file-name {
|
|
67
|
+
@apply truncate;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__file-name-link {
|
|
71
|
+
@apply truncate hover:underline hover:underline-offset-2;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__file-size {
|
|
75
|
+
@apply whitespace-nowrap shrink-0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__remove-button {
|
|
79
|
+
&__icon {
|
|
80
|
+
@apply h-4;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
package/css/error-message.css
CHANGED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.uxf-file-input {
|
|
2
|
+
&__input {
|
|
3
|
+
@apply sr-only;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&__label {
|
|
7
|
+
@apply cursor-pointer flex overflow-auto;
|
|
8
|
+
|
|
9
|
+
&.is-loading {
|
|
10
|
+
@apply cursor-not-allowed;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.is-focused {
|
|
14
|
+
@apply ring-2 ring-offset-2;
|
|
15
|
+
|
|
16
|
+
:root .light & {
|
|
17
|
+
@apply ring-primary;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:root .dark & {
|
|
21
|
+
@apply ring-primary;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-invalid {
|
|
26
|
+
.uxf-file-input__label__button,
|
|
27
|
+
.uxf-file-input__label__wrapper {
|
|
28
|
+
:root .light & {
|
|
29
|
+
@apply border-error text-error;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:root .dark & {
|
|
33
|
+
@apply border-error text-error;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__button {
|
|
39
|
+
@apply px-3;
|
|
40
|
+
|
|
41
|
+
:root .light & {
|
|
42
|
+
@apply border-gray-200 bg-gray-100;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:root .dark & {
|
|
46
|
+
@apply border-gray-700 bg-gray-800;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
:root .light & {
|
|
51
|
+
@apply bg-gray-200;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:root .dark & {
|
|
55
|
+
@apply bg-gray-700;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__wrapper {
|
|
61
|
+
@apply flex items-center justify-between border px-3 rounded-r-md w-full min-w-0;
|
|
62
|
+
|
|
63
|
+
:root .light & {
|
|
64
|
+
@apply border-gray-200;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:root .dark & {
|
|
68
|
+
@apply border-gray-700;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__file-name {
|
|
72
|
+
@apply truncate;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__file-name-link {
|
|
76
|
+
@apply truncate hover:underline hover:underline-offset-2;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
package/css/flash-messages.css
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
.uxf-flash-messages {
|
|
2
|
-
@apply pointer-events-none fixed inset-0 z-
|
|
2
|
+
@apply pointer-events-none fixed inset-0 z-flashMessage flex items-end p-6;
|
|
3
3
|
|
|
4
4
|
&__list-wrapper {
|
|
5
|
-
@apply flex w-full max-w-sm flex-col items-center space-y-4 sm:items-end
|
|
5
|
+
@apply flex w-full max-w-sm flex-col items-center space-y-4 sm:items-end ml-auto;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.uxf-flash-message {
|
|
10
|
-
@apply pointer-events-auto rounded-
|
|
10
|
+
@apply pointer-events-auto rounded-lg transition px-5 py-4 shadow backdrop-blur text-sm min-w-[15rem]
|
|
11
11
|
is-hoverable:cursor-pointer;
|
|
12
12
|
|
|
13
13
|
&--success {
|
|
14
|
-
@apply bg-success
|
|
14
|
+
@apply bg-success is-hoverable:bg-success-700 text-white;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&--error {
|
|
18
|
-
@apply bg-error
|
|
18
|
+
@apply bg-error is-hoverable:bg-error-700 text-white;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&--warning {
|
|
22
|
-
@apply bg-warning
|
|
22
|
+
@apply bg-warning is-hoverable:bg-warning-700 text-white;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&--info {
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.uxf-image-gallery {
|
|
2
|
+
@apply fixed inset-0 top-0 bottom-0 z-50 flex flex-col bg-black bg-opacity-75 transition-opacity;
|
|
3
|
+
|
|
4
|
+
&__content {
|
|
5
|
+
@apply container mx-auto flex h-full flex-1 flex-col;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__inner {
|
|
9
|
+
@apply relative flex flex-1 items-center justify-center;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__image {
|
|
13
|
+
@apply absolute left-0 right-0 top-0 h-full w-full object-contain;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__buttons {
|
|
17
|
+
@apply pointer-events-none absolute inset-0 flex items-center justify-between p-2;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__button {
|
|
21
|
+
@apply pointer-events-auto rounded-full bg-black bg-opacity-50 p-3;
|
|
22
|
+
|
|
23
|
+
&-icon {
|
|
24
|
+
@apply h-8 w-8 text-white;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__dots {
|
|
29
|
+
@apply mx-auto flex space-x-2 p-4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__dot {
|
|
33
|
+
@apply h-2 w-2 rounded-full bg-white;
|
|
34
|
+
|
|
35
|
+
&--active {
|
|
36
|
+
@apply bg-gray-500;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__close-button-wrapper {
|
|
41
|
+
@apply flex justify-end;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__close-button {
|
|
45
|
+
@apply bg-black bg-opacity-50 p-5;
|
|
46
|
+
|
|
47
|
+
&-icon {
|
|
48
|
+
@apply h-6 w-6 text-white;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-text {
|
|
52
|
+
@apply sr-only;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__custom-content {
|
|
57
|
+
@apply absolute right-0 bottom-0 bg-gray-600 text-white;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.uxf-input-with-popover {
|
|
2
|
+
&__panel {
|
|
3
|
+
@apply z-dropdown max-w-md rounded-md p-3 shadow-lg ring-1 ring-black ring-opacity-5;
|
|
4
|
+
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
|
|
7
|
+
&:focus {
|
|
8
|
+
outline: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:root .light & {
|
|
12
|
+
@apply bg-white text-gray-800;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:root .dark & {
|
|
16
|
+
@apply bg-gray-800 text-white;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&--bottom {
|
|
20
|
+
@apply mt-1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--top {
|
|
24
|
+
@apply -mt-1;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__trigger-element {
|
|
29
|
+
@apply w-5 h-5 rounded-sm;
|
|
30
|
+
|
|
31
|
+
align-items: center;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
}
|
|
35
|
+
}
|