@uxf/ui 10.0.0-beta.8 → 10.0.0-beta.80
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/_file-input-base/file-input-base.js +15 -1
- package/_file-input-base/index.d.ts +1 -1
- package/_input-with-popover/input-with-popover.d.ts +4 -3
- package/_input-with-popover/input-with-popover.js +26 -26
- package/_select-base/_select-base.d.ts +2 -2
- package/_select-base/_select-base.js +4 -3
- package/_select-base/index.d.ts +1 -1
- package/alert-bubble/alert-bubble.d.ts +8 -0
- package/alert-bubble/alert-bubble.js +22 -0
- package/alert-bubble/alert-bubble.spec.d.ts +1 -0
- package/alert-bubble/alert-bubble.spec.js +9 -0
- package/alert-bubble/alert-bubble.stories.d.ts +7 -0
- package/alert-bubble/alert-bubble.stories.js +50 -0
- package/alert-bubble/index.d.ts +3 -0
- package/alert-bubble/index.js +5 -0
- package/alert-bubble/theme.d.ts +16 -0
- package/alert-bubble/theme.js +2 -0
- package/avatar/README.md +8 -0
- package/avatar/avatar.stories.js +1 -1
- package/avatar/index.d.ts +1 -1
- package/avatar-file-input/README.md +1 -0
- package/avatar-file-input/avatar-file-input.d.ts +3 -0
- package/avatar-file-input/avatar-file-input.js +12 -6
- package/avatar-file-input/avatar-file-input.stories.js +5 -5
- package/avatar-file-input/index.d.ts +1 -1
- package/avatar-file-input/theme.d.ts +5 -0
- package/avatar-file-input/theme.js +2 -0
- package/badge/README.md +1 -0
- package/badge/badge.d.ts +1 -1
- package/badge/badge.stories.js +1 -1
- package/badge/index.d.ts +1 -1
- package/button/README.md +68 -0
- package/button/button.stories.js +0 -1
- package/button/index.d.ts +1 -1
- package/button/theme.d.ts +1 -0
- package/button-group/README.md +1 -0
- package/button-group/button-group.js +1 -1
- package/button-group/button-group.stories.js +1 -1
- package/button-group/index.d.ts +1 -1
- package/button-list/README.md +1 -0
- package/button-list/button-list.d.ts +1 -1
- package/button-list/button-list.js +22 -22
- package/button-list/index.d.ts +1 -1
- package/calendar/README.md +1 -0
- package/calendar/calendar-day-cell.d.ts +4 -1
- package/calendar/calendar-day-cell.js +18 -18
- package/{date-picker/date-picker-navigation.d.ts → calendar/calendar-navigation.d.ts} +2 -3
- package/{date-picker/date-picker-navigation.js → calendar/calendar-navigation.js} +6 -6
- package/calendar/calendar-provider.js +2 -2
- package/calendar/calendar.d.ts +5 -0
- package/calendar/calendar.js +6 -9
- package/calendar/calendar.stories.js +1 -1
- package/calendar/index.d.ts +4 -1
- package/calendar/index.js +5 -15
- package/checkbox/README.md +1 -0
- package/checkbox/checkbox.stories.js +1 -1
- package/checkbox/index.d.ts +1 -1
- package/checkbox-button/README.md +1 -0
- package/checkbox-button/checkbox-button.js +2 -2
- package/checkbox-button/checkbox-button.stories.js +1 -1
- package/checkbox-button/index.d.ts +1 -1
- package/checkbox-input/README.md +1 -0
- package/checkbox-input/checkbox-input.d.ts +1 -1
- package/checkbox-input/checkbox-input.stories.js +1 -1
- package/checkbox-input/index.d.ts +1 -1
- package/chip/README.md +1 -0
- package/chip/chip.d.ts +1 -1
- package/chip/chip.js +7 -5
- package/chip/chip.stories.js +37 -28
- package/chip/index.d.ts +2 -2
- package/color-radio/README.md +8 -0
- package/color-radio/color-radio.js +1 -1
- package/color-radio/index.d.ts +1 -1
- package/color-radio-group/README.md +9 -0
- package/color-radio-group/color-radio-group.js +3 -3
- package/color-radio-group/color-radio-group.stories.js +1 -1
- package/color-radio-group/index.d.ts +1 -1
- package/combobox/README.md +12 -0
- package/combobox/combobox.d.ts +1 -1
- package/combobox/combobox.stories.d.ts +2 -1
- package/combobox/combobox.stories.js +7 -3
- package/combobox/index.d.ts +1 -1
- package/config/icons-config.d.ts +1 -1
- package/config/icons-config.js +1 -1
- package/config/icons.d.ts +13 -3
- package/config/icons.js +3 -1
- package/content/types.d.ts +1 -1
- package/context/provider.js +1 -1
- package/css/alert-bubble.css +100 -0
- package/css/avatar-file-input.css +54 -20
- package/css/avatar.css +4 -4
- package/css/badge.css +5 -5
- package/css/button-group.css +1 -1
- package/css/button-list.css +2 -2
- package/css/button.css +78 -32
- package/css/calendar.css +115 -51
- package/css/checkbox-button.css +10 -10
- package/css/checkbox.css +9 -9
- package/css/chip.css +217 -318
- package/css/color-radio-group.css +1 -1
- package/css/color-radio.css +3 -3
- package/css/component-structure-analyzer.css +12 -12
- package/css/date-picker.css +10 -3
- package/css/date-range-picker.css +21 -0
- package/css/datetime-picker.css +2 -2
- package/css/dialog.css +55 -0
- package/css/dropdown.css +11 -3
- package/css/dropzone.css +6 -6
- package/css/error-message.css +1 -1
- package/css/file-input.css +2 -2
- package/css/flash-messages.css +133 -9
- package/css/icon.css +1 -1
- package/css/image-gallery.css +8 -8
- package/css/input-with-popover.css +1 -1
- package/css/input.css +10 -10
- package/css/layout.css +4 -4
- package/css/list-item.css +2 -2
- package/css/message.css +92 -0
- package/css/modal.css +10 -54
- package/css/multi-combobox.css +12 -12
- package/css/pagination.css +14 -14
- package/css/paper.css +1 -1
- package/css/radio-group.css +3 -3
- package/css/radio.css +7 -7
- package/css/raster-image.css +1 -1
- package/css/select-base.css +1 -1
- package/css/tabs.css +16 -16
- package/css/text-link.css +4 -4
- package/css/textarea.css +68 -76
- package/css/time-picker.css +12 -16
- package/css/toggle.css +3 -3
- package/css/tooltip.css +2 -2
- package/date-picker/README.md +9 -0
- package/date-picker/date-picker-content.d.ts +5 -2
- package/date-picker/date-picker-content.js +4 -3
- package/date-picker/date-picker-decade.js +10 -10
- package/date-picker/date-picker-month.js +6 -6
- package/date-picker/date-picker-year.js +2 -2
- package/date-picker/date-picker.d.ts +4 -1
- package/date-picker/date-picker.js +4 -2
- package/date-picker/index.d.ts +1 -1
- package/date-picker-input/README.md +11 -0
- package/date-picker-input/date-picker-input.d.ts +2 -0
- package/date-picker-input/date-picker-input.js +5 -3
- package/date-picker-input/date-picker-input.stories.js +1 -1
- package/date-picker-input/index.d.ts +1 -1
- package/date-picker-input/index.js +3 -3
- package/date-range-picker/README.md +1 -0
- package/date-range-picker/date-range-picker-content.d.ts +5 -0
- package/date-range-picker/date-range-picker-content.js +56 -0
- package/date-range-picker/date-range-picker-decade.d.ts +6 -0
- package/date-range-picker/date-range-picker-decade.js +72 -0
- package/date-range-picker/date-range-picker-month.d.ts +8 -0
- package/date-range-picker/date-range-picker-month.js +69 -0
- package/date-range-picker/date-range-picker-year.d.ts +7 -0
- package/date-range-picker/date-range-picker-year.js +80 -0
- package/date-range-picker/date-range-picker.d.ts +11 -0
- package/date-range-picker/date-range-picker.js +51 -0
- package/date-range-picker/date-range-picker.spec.d.ts +1 -0
- package/date-range-picker/date-range-picker.spec.js +9 -0
- package/date-range-picker/date-range-picker.stories.d.ts +7 -0
- package/date-range-picker/date-range-picker.stories.js +43 -0
- package/date-range-picker/index.d.ts +3 -0
- package/date-range-picker/index.js +5 -0
- package/date-range-picker/types.d.ts +5 -0
- package/date-range-picker/types.js +2 -0
- package/date-range-picker-input/README.md +1 -0
- package/date-range-picker-input/date-range-picker-input.d.ts +17 -0
- package/date-range-picker-input/date-range-picker-input.js +62 -0
- package/date-range-picker-input/date-range-picker-input.spec.d.ts +1 -0
- package/date-range-picker-input/date-range-picker-input.spec.js +9 -0
- package/date-range-picker-input/date-range-picker-input.stories.d.ts +10 -0
- package/date-range-picker-input/date-range-picker-input.stories.js +53 -0
- package/date-range-picker-input/index.d.ts +2 -0
- package/date-range-picker-input/index.js +5 -0
- package/datetime-picker/README.md +13 -0
- package/datetime-picker/datetime-picker.d.ts +3 -1
- package/datetime-picker/datetime-picker.js +5 -5
- package/datetime-picker/index.d.ts +1 -1
- package/datetime-picker/index.js +2 -2
- package/datetime-picker-input/README.md +1 -0
- package/datetime-picker-input/datetime-picker-input.d.ts +2 -0
- package/datetime-picker-input/datetime-picker-input.js +5 -3
- package/datetime-picker-input/datetime-picker-input.stories.js +1 -1
- package/datetime-picker-input/index.d.ts +1 -1
- package/datetime-picker-input/index.js +2 -2
- package/dialog/dialog.d.ts +9 -0
- package/{modal/modal-dialog.js → dialog/dialog.js} +8 -9
- package/dialog/dialog.spec.d.ts +1 -0
- package/dialog/dialog.spec.js +9 -0
- package/dialog/dialog.stories.d.ts +7 -0
- package/dialog/dialog.stories.js +47 -0
- package/dialog/index.d.ts +2 -0
- package/dialog/index.js +5 -0
- package/dropdown/README.md +1 -0
- package/dropdown/dropdown.stories.js +2 -2
- package/dropdown/index.d.ts +1 -1
- package/dropzone/README.md +8 -0
- package/dropzone/dropzone-input.js +10 -6
- package/dropzone/dropzone.stories.js +7 -7
- package/error-message/README.md +7 -0
- package/error-message/error-message.stories.js +1 -1
- package/file-input/README.md +11 -0
- package/file-input/file-input.d.ts +3 -0
- package/file-input/file-input.js +10 -22
- package/file-input/file-input.stories.js +5 -5
- package/file-input/index.d.ts +1 -1
- package/flash-messages/README.md +23 -0
- package/flash-messages/flash-message.d.ts +1 -1
- package/flash-messages/flash-message.js +1 -1
- package/flash-messages/flash-messages.js +52 -18
- package/flash-messages/flash-messages.stories.js +12 -0
- package/flash-messages/index.d.ts +2 -2
- package/flash-messages/index.js +4 -4
- package/form-component/README.md +7 -0
- package/form-component/index.d.ts +1 -1
- package/hooks/use-dropdown.d.ts +16 -8
- package/icon/README.md +11 -0
- package/icon/icon.stories.js +1 -1
- package/icon/index.d.ts +1 -1
- package/image-gallery/components/close-button.d.ts +2 -1
- package/image-gallery/components/close-button.js +2 -3
- package/image-gallery/components/gallery.d.ts +4 -1
- package/image-gallery/components/gallery.js +6 -5
- package/image-gallery/components/next-button.d.ts +7 -0
- package/image-gallery/components/next-button.js +14 -0
- package/image-gallery/components/prev-button.d.ts +7 -0
- package/image-gallery/components/prev-button.js +14 -0
- package/image-gallery/image-gallery.d.ts +4 -1
- package/image-gallery/image-gallery.js +2 -2
- package/image-gallery/image-gallery.stories.js +5 -1
- package/image-gallery/image.d.ts +1 -1
- package/image-gallery/image.js +1 -1
- package/image-gallery/use-image.js +1 -1
- package/input/README.md +8 -0
- package/input/input-element.d.ts +1 -0
- package/input/input-element.js +1 -1
- package/input/input.d.ts +2 -2
- package/input/input.js +3 -3
- package/input/input.stories.js +3 -3
- package/label/README.md +7 -0
- package/label/index.d.ts +1 -1
- package/label/label.stories.js +1 -1
- package/layout/index.d.ts +1 -1
- package/layout/layout.js +28 -28
- package/list-item/README.md +7 -0
- package/list-item/index.d.ts +1 -1
- package/list-item/list-item.stories.js +1 -1
- package/loader/README.md +7 -0
- package/loader/index.d.ts +1 -1
- package/message/README.md +1 -0
- package/message/index.d.ts +3 -0
- package/message/index.js +7 -0
- package/message/message-content.d.ts +17 -0
- package/message/message-content.js +41 -0
- package/message/message-service.d.ts +13 -0
- package/message/message-service.js +29 -0
- package/message/message.d.ts +20 -0
- package/message/message.js +47 -0
- package/message/message.spec.d.ts +1 -0
- package/message/message.spec.js +9 -0
- package/message/message.stories.d.ts +7 -0
- package/message/message.stories.js +82 -0
- package/message/theme.d.ts +12 -0
- package/message/theme.js +2 -0
- package/modal/README.md +24 -0
- package/modal/index.d.ts +3 -2
- package/modal/index.js +3 -3
- package/modal/modal.d.ts +5 -4
- package/modal/modal.js +9 -9
- package/modal/modal.stories.js +12 -0
- package/modal/theme.d.ts +3 -0
- package/multi-combobox/README.md +10 -0
- package/multi-combobox/_multi-combobox-base.js +28 -22
- package/multi-combobox/multi-combobox.js +1 -1
- package/multi-combobox/multi-combobox.stories.js +7 -4
- package/multi-combobox/types.d.ts +5 -1
- package/multi-select/README.md +11 -0
- package/multi-select/_multi-select-base.js +21 -21
- package/multi-select/index.d.ts +1 -1
- package/multi-select/multi-select.js +1 -1
- package/multi-select/multi-select.stories.js +6 -3
- package/multi-select/types.d.ts +1 -1
- package/package.json +17 -10
- package/pagination/README.md +31 -0
- package/pagination/index.d.ts +1 -1
- package/pagination/pagination.d.ts +1 -1
- package/pagination/pagination.js +2 -2
- package/pagination/pagination.stories.d.ts +0 -3
- package/pagination/pagination.stories.js +14 -30
- package/paper/README.md +7 -0
- package/paper/index.d.ts +1 -1
- package/paper/paper.stories.js +1 -1
- package/radio/README.md +7 -0
- package/radio/index.d.ts +1 -1
- package/radio/radio.stories.js +1 -1
- package/radio-group/README.md +8 -0
- package/radio-group/index.d.ts +2 -2
- package/radio-group/radio-group.d.ts +3 -3
- package/radio-group/radio-group.js +2 -2
- package/radio-group/radio-group.stories.js +5 -5
- package/raster-image/README.md +7 -0
- package/raster-image/index.d.ts +1 -1
- package/raster-image/raster-image.js +1 -1
- package/scripts/generate-tw-tokens.js +40 -32
- package/select/README.md +11 -0
- package/select/index.d.ts +1 -1
- package/select/select.d.ts +1 -1
- package/select/select.js +1 -1
- package/select/select.stories.d.ts +2 -1
- package/select/select.stories.js +9 -3
- package/tabs/README.md +7 -0
- package/tabs/index.d.ts +1 -1
- package/text-input/README.md +10 -0
- package/text-input/index.d.ts +1 -1
- package/text-input/text-input.d.ts +1 -0
- package/text-input/text-input.js +2 -2
- package/text-link/README.md +19 -0
- package/text-link/index.d.ts +1 -1
- package/text-link/text-link.d.ts +1 -1
- package/textarea/README.md +9 -0
- package/textarea/index.d.ts +1 -1
- package/textarea/textarea.js +5 -5
- package/textarea/textarea.stories.js +1 -1
- package/time-picker/README.md +8 -0
- package/time-picker/index.d.ts +1 -1
- package/time-picker/time-picker-hour.js +6 -6
- package/time-picker/time-picker-hours.js +2 -2
- package/time-picker/time-picker-minute.js +6 -6
- package/time-picker/time-picker-minutes.js +2 -2
- package/time-picker/time-picker.d.ts +2 -1
- package/time-picker/time-picker.js +7 -6
- package/time-picker-input/README.md +9 -0
- package/time-picker-input/index.d.ts +1 -1
- package/time-picker-input/index.js +3 -3
- package/time-picker-input/time-picker-input.js +6 -4
- package/time-picker-input/time-picker-input.stories.js +1 -1
- package/toggle/README.md +7 -0
- package/toggle/index.d.ts +1 -1
- package/toggle/toggle.js +8 -8
- package/toggle/toggle.stories.js +1 -1
- package/tooltip/README.md +7 -0
- package/tooltip/index.d.ts +2 -2
- package/tooltip/tooltip.js +27 -25
- package/tooltip/tooltip.stories.js +1 -1
- package/tooltip/use-tooltip.d.ts +19 -11
- package/tooltip/use-tooltip.js +15 -15
- package/tw-tokens/tw-colors.d.ts +283 -282
- package/tw-tokens/tw-colors.js +283 -282
- package/tw-tokens/tw-line-height.d.ts +8 -8
- package/tw-tokens/tw-line-height.js +8 -8
- package/tw-tokens/tw-spacing.d.ts +34 -34
- package/tw-tokens/tw-spacing.js +34 -34
- package/tw-tokens/tw-z-index.d.ts +7 -7
- package/tw-tokens/tw-z-index.js +7 -7
- package/types/index.d.ts +1 -1
- package/types/index.js +1 -1
- package/typography/README.md +7 -0
- package/utils/action.d.ts +2 -1
- package/utils/action.js +2 -2
- package/utils/icons-config.js +13 -3
- package/utils/mocks/{uploadFIle.mock.js → upload-file.mock.js} +1 -1
- package/utils/snap-test.js +1 -1
- package/utils/storybook-config.d.ts +12 -2
- package/utils/storybook-config.js +9 -1
- package/utils/tailwind-config.js +10 -1
- package/image-gallery/components/arrow-button.d.ts +0 -7
- package/image-gallery/components/arrow-button.js +0 -14
- package/modal/modal-dialog.d.ts +0 -11
- /package/utils/mocks/{uploadFIle.mock.d.ts → upload-file.mock.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.uxf-color-radio-group {
|
|
2
2
|
&__option {
|
|
3
|
-
@apply rounded-full outline-none focus-visible:ring-
|
|
3
|
+
@apply is-disabled:pointer-events-none rounded-full outline-none focus-visible:ring-2 focus-visible:ring-offset-2;
|
|
4
4
|
|
|
5
5
|
:root .light & {
|
|
6
6
|
@apply focus-visible:ring-[color:var(--option-color)] focus-visible:ring-offset-white;
|
package/css/color-radio.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.uxf-color-radio {
|
|
2
|
-
@apply relative shrink-0
|
|
2
|
+
@apply relative inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-[color:var(--bg-color)];
|
|
3
3
|
|
|
4
4
|
&__color-label {
|
|
5
5
|
@apply sr-only;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&__inner {
|
|
9
|
-
@apply
|
|
9
|
+
@apply h-4 w-4 text-white opacity-0 transition-opacity;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&__inner--dark {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&.is-disabled {
|
|
23
|
-
@apply after:
|
|
23
|
+
@apply after:rounded-inherit pointer-events-none after:absolute after:inset-0;
|
|
24
24
|
|
|
25
25
|
:root .light & {
|
|
26
26
|
@apply after:bg-white/50;
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
padding-bottom: 32px;
|
|
3
3
|
|
|
4
4
|
* {
|
|
5
|
-
padding: 32px !important;
|
|
6
|
-
border: 2px solid black !important;
|
|
7
|
-
position: relative !important;
|
|
8
|
-
color: lightgray !important;
|
|
9
5
|
background-color: white !important;
|
|
6
|
+
border: 2px solid black !important;
|
|
10
7
|
border-radius: initial !important;
|
|
11
|
-
|
|
8
|
+
color: lightgray !important;
|
|
12
9
|
font-family: monospace;
|
|
13
10
|
font-size: 12px;
|
|
14
|
-
min-width: 200px;
|
|
15
11
|
height: auto !important;
|
|
16
|
-
top: initial !important;
|
|
17
12
|
left: initial !important;
|
|
13
|
+
margin: 4px !important;
|
|
14
|
+
min-width: 200px;
|
|
15
|
+
padding: 32px !important;
|
|
16
|
+
position: relative !important;
|
|
18
17
|
right: initial !important;
|
|
18
|
+
top: initial !important;
|
|
19
19
|
|
|
20
20
|
&::before {
|
|
21
|
-
|
|
22
|
-
left: 4px;
|
|
23
|
-
top: 2px;
|
|
21
|
+
color: black;
|
|
24
22
|
content: attr(class);
|
|
25
23
|
font-size: 12px;
|
|
26
|
-
line-height: 14px;
|
|
27
|
-
color: black;
|
|
28
24
|
font-weight: 500;
|
|
25
|
+
left: 4px;
|
|
26
|
+
line-height: 14px;
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 2px;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
package/css/date-picker.css
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
.uxf-date-picker {
|
|
2
|
-
|
|
2
|
+
margin: 0 auto;
|
|
3
|
+
width: 296px;
|
|
4
|
+
|
|
5
|
+
@screen sm {
|
|
6
|
+
width: 340px;
|
|
7
|
+
}
|
|
3
8
|
|
|
4
9
|
&__navigation {
|
|
5
|
-
|
|
10
|
+
align-items: center;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
margin-bottom: theme("spacing.4");
|
|
6
14
|
|
|
7
15
|
&-title {
|
|
8
16
|
font-size: 14px;
|
|
@@ -16,7 +24,6 @@
|
|
|
16
24
|
:root .dark & {
|
|
17
25
|
@apply text-darkMedium is-hoverable:text-darkHigh;
|
|
18
26
|
}
|
|
19
|
-
|
|
20
27
|
}
|
|
21
28
|
}
|
|
22
29
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.uxf-date-range-picker {
|
|
2
|
+
margin: 0 auto;
|
|
3
|
+
|
|
4
|
+
&__months {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: theme("spacing.6");
|
|
8
|
+
|
|
9
|
+
@screen sm {
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__month {
|
|
15
|
+
width: 296px;
|
|
16
|
+
|
|
17
|
+
@screen sm {
|
|
18
|
+
width: 340px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
package/css/datetime-picker.css
CHANGED
package/css/dialog.css
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.uxf-dialog {
|
|
2
|
+
--panel-max-w: unset;
|
|
3
|
+
--panel-border-radius: theme("borderRadius.2xl");
|
|
4
|
+
|
|
5
|
+
position: relative;
|
|
6
|
+
z-index: theme("zIndex.modal");
|
|
7
|
+
|
|
8
|
+
&__backdrop {
|
|
9
|
+
background-color: rgb(0 0 0 / 75%);
|
|
10
|
+
inset: 0;
|
|
11
|
+
position: fixed;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__wrapper {
|
|
15
|
+
inset: 0;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
position: fixed;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__body {
|
|
21
|
+
align-items: flex-end;
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
min-height: 100%;
|
|
25
|
+
padding-top: theme("spacing.8");
|
|
26
|
+
|
|
27
|
+
@screen sm {
|
|
28
|
+
align-items: center;
|
|
29
|
+
padding: theme("spacing.4");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__panel {
|
|
34
|
+
border-top-left-radius: var(--panel-border-radius);
|
|
35
|
+
border-top-right-radius: var(--panel-border-radius);
|
|
36
|
+
max-width: var(--panel-max-w);
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
position: relative;
|
|
39
|
+
width: 100%;
|
|
40
|
+
|
|
41
|
+
:root .light & {
|
|
42
|
+
background-color: theme("colors.white");
|
|
43
|
+
color: theme("colors.black");
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:root .dark & {
|
|
47
|
+
background-color: theme("colors.gray.900");
|
|
48
|
+
color: theme("colors.white");
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@screen sm {
|
|
52
|
+
border-radius: var(--panel-border-radius);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
package/css/dropdown.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.uxf-dropdown {
|
|
2
|
-
@apply
|
|
2
|
+
@apply z-dropdown absolute w-full overflow-y-auto rounded-md py-1 text-base shadow-lg ring-1 ring-black
|
|
3
3
|
ring-opacity-5 sm:text-sm;
|
|
4
4
|
|
|
5
5
|
outline: none;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&__item {
|
|
24
|
-
@apply relative cursor-default select-none py-2
|
|
24
|
+
@apply relative cursor-default select-none px-4 py-2 transition-colors;
|
|
25
25
|
|
|
26
26
|
&.is-selected {
|
|
27
27
|
@apply font-bold;
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
&.is-active {
|
|
38
38
|
@apply bg-primary text-white;
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
&.is-disabled {
|
|
42
|
+
@apply text-gray-300;
|
|
43
|
+
}
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
:root .dark & {
|
|
@@ -49,6 +53,10 @@
|
|
|
49
53
|
&.is-active {
|
|
50
54
|
@apply bg-primary;
|
|
51
55
|
}
|
|
56
|
+
|
|
57
|
+
&.is-disabled {
|
|
58
|
+
@apply text-gray-600;
|
|
59
|
+
}
|
|
52
60
|
}
|
|
53
61
|
}
|
|
54
62
|
|
|
@@ -65,6 +73,6 @@
|
|
|
65
73
|
}
|
|
66
74
|
|
|
67
75
|
&__empty-wrapper {
|
|
68
|
-
@apply py-2
|
|
76
|
+
@apply px-4 py-2 text-gray-800;
|
|
69
77
|
}
|
|
70
78
|
}
|
package/css/dropzone.css
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&__label {
|
|
9
|
-
@apply flex flex-col
|
|
10
|
-
|
|
9
|
+
@apply rounded-inherit border-lightBorder text-lightLow flex cursor-pointer flex-col items-center justify-center space-y-2
|
|
10
|
+
border-2 border-dashed p-4 text-[14px];
|
|
11
11
|
|
|
12
12
|
&__icon {
|
|
13
13
|
@apply h-6;
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&__item {
|
|
34
|
-
@apply
|
|
35
|
-
|
|
34
|
+
@apply flex w-full items-center justify-between space-x-6 overflow-auto border px-4 py-3
|
|
35
|
+
shadow-sm sm:rounded-md sm:px-6;
|
|
36
36
|
|
|
37
37
|
:root .light & {
|
|
38
38
|
@apply border-lightBorder text-lightMedium;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&__block {
|
|
56
|
-
@apply flex items-center space-x-4
|
|
56
|
+
@apply flex min-w-0 items-center space-x-4;
|
|
57
57
|
|
|
58
58
|
&:nth-child(2) {
|
|
59
59
|
@apply shrink-0;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&__file-size {
|
|
75
|
-
@apply whitespace-nowrap
|
|
75
|
+
@apply shrink-0 whitespace-nowrap;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&__remove-button {
|
package/css/error-message.css
CHANGED
package/css/file-input.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
&__label {
|
|
7
|
-
@apply cursor-pointer
|
|
7
|
+
@apply flex cursor-pointer overflow-auto;
|
|
8
8
|
|
|
9
9
|
&.is-loading {
|
|
10
10
|
@apply cursor-not-allowed;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&__wrapper {
|
|
61
|
-
@apply flex items-center justify-between
|
|
61
|
+
@apply flex w-full min-w-0 items-center justify-between rounded-r-md border px-3;
|
|
62
62
|
|
|
63
63
|
:root .light & {
|
|
64
64
|
@apply border-gray-200;
|
package/css/flash-messages.css
CHANGED
|
@@ -1,28 +1,152 @@
|
|
|
1
1
|
.uxf-flash-messages {
|
|
2
|
-
@apply
|
|
2
|
+
@apply space-y-4;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
bottom: 0;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
height: 100vh;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
max-width: 24rem;
|
|
10
|
+
overflow-x: hidden;
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
padding: theme("spacing.6") theme("spacing.1") theme("spacing.6") theme("spacing.6");
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
position: fixed;
|
|
15
|
+
right: 0;
|
|
16
|
+
z-index: theme("zIndex.flashMessage");
|
|
17
|
+
|
|
18
|
+
&__permanent,
|
|
19
|
+
&__dismissable {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column-reverse;
|
|
22
|
+
overflow-x: hidden;
|
|
23
|
+
overflow-y: scroll;
|
|
24
|
+
padding-right: theme("spacing.3");
|
|
25
|
+
pointer-events: auto;
|
|
26
|
+
|
|
27
|
+
&::-webkit-scrollbar {
|
|
28
|
+
background-color: transparent;
|
|
29
|
+
width: theme("width.2");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&::-webkit-scrollbar-thumb {
|
|
33
|
+
background-color: theme("colors.gray.400");
|
|
34
|
+
border-radius: theme("borderRadius.2xl");
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__dismissable {
|
|
39
|
+
padding-top: theme("spacing.11");
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
padding-top: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__permanent {
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
max-height: 50%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__divider {
|
|
52
|
+
width: calc(100% - 1.5rem);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.uxf-flash-message-wrapper {
|
|
57
|
+
@apply transition-all;
|
|
58
|
+
|
|
59
|
+
transition-duration: 300ms;
|
|
60
|
+
|
|
61
|
+
&--enter-from {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
transform: translateX(5rem);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&--enter-to {
|
|
67
|
+
opacity: 100;
|
|
68
|
+
transform: translateX(0);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:not(:first-of-type) {
|
|
72
|
+
margin-top: theme("spacing.4");
|
|
73
|
+
|
|
74
|
+
.uxf-flash-messages__dismissable & {
|
|
75
|
+
margin-top: -2.75rem;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.uxf-flash-messages__dismissable & {
|
|
80
|
+
&:nth-last-child(n + 5) {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:nth-last-child(4) {
|
|
85
|
+
opacity: 0.6;
|
|
86
|
+
transform: scale(0.85);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&:nth-last-child(3) {
|
|
90
|
+
opacity: 0.7;
|
|
91
|
+
transform: scale(0.9);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:nth-last-child(2) {
|
|
95
|
+
opacity: 0.8;
|
|
96
|
+
transform: scale(0.95);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.uxf-flash-messages__dismissable:hover & {
|
|
101
|
+
display: block;
|
|
102
|
+
opacity: 1;
|
|
103
|
+
transform: scale(1);
|
|
104
|
+
|
|
105
|
+
&:not(:first-of-type) {
|
|
106
|
+
margin-top: theme("spacing.4");
|
|
107
|
+
}
|
|
6
108
|
}
|
|
7
109
|
}
|
|
8
110
|
|
|
9
111
|
.uxf-flash-message {
|
|
10
|
-
|
|
11
|
-
|
|
112
|
+
--flash-message-bg-color: transparent;
|
|
113
|
+
--flash-message-bg-color-hover: transparent;
|
|
114
|
+
--flash-message-color: white;
|
|
115
|
+
|
|
116
|
+
@apply transition;
|
|
117
|
+
|
|
118
|
+
background-color: var(--flash-message-bg-color);
|
|
119
|
+
border-radius: theme("borderRadius.lg");
|
|
120
|
+
color: var(--flash-message-color);
|
|
121
|
+
font-size: 0.875rem;
|
|
122
|
+
line-height: 1.25rem;
|
|
123
|
+
min-width: 15rem;
|
|
124
|
+
padding: theme("spacing.4") theme("spacing.5");
|
|
125
|
+
pointer-events: auto;
|
|
126
|
+
|
|
127
|
+
&:hover,
|
|
128
|
+
&:active {
|
|
129
|
+
background-color: var(--flash-message-bg-color-hover);
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
}
|
|
12
132
|
|
|
13
133
|
&--success {
|
|
14
|
-
|
|
134
|
+
--flash-message-bg-color: theme("colors.success.DEFAULT");
|
|
135
|
+
--flash-message-bg-color-hover: theme("colors.success.700");
|
|
15
136
|
}
|
|
16
137
|
|
|
17
138
|
&--error {
|
|
18
|
-
|
|
139
|
+
--flash-message-bg-color: theme("colors.error.DEFAULT");
|
|
140
|
+
--flash-message-bg-color-hover: theme("colors.error.700");
|
|
19
141
|
}
|
|
20
142
|
|
|
21
143
|
&--warning {
|
|
22
|
-
|
|
144
|
+
--flash-message-bg-color: theme("colors.warning.DEFAULT");
|
|
145
|
+
--flash-message-bg-color-hover: theme("colors.warning.700");
|
|
23
146
|
}
|
|
24
147
|
|
|
25
148
|
&--info {
|
|
26
|
-
|
|
149
|
+
--flash-message-bg-color: theme("colors.gray.500");
|
|
150
|
+
--flash-message-bg-color-hover: theme("colors.gray.700");
|
|
27
151
|
}
|
|
28
152
|
}
|
package/css/icon.css
CHANGED
package/css/image-gallery.css
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.uxf-image-gallery {
|
|
2
|
-
@apply fixed inset-0
|
|
2
|
+
@apply z-imageGallery fixed inset-0 flex flex-col;
|
|
3
3
|
|
|
4
4
|
&__content {
|
|
5
|
-
@apply mx-auto
|
|
5
|
+
@apply mx-auto max-h-[calc(100%-128px)] grow;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&__inner {
|
|
9
|
-
@apply container flex items-center justify-center
|
|
9
|
+
@apply container flex h-full items-center justify-center;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&__image {
|
|
13
|
-
@apply
|
|
13
|
+
@apply z-1 w-full object-contain;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&__buttons {
|
|
17
|
-
@apply pointer-events-none
|
|
17
|
+
@apply container pointer-events-none absolute inset-0 z-10 flex items-center justify-between p-2;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&__button {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&__dots {
|
|
29
|
-
@apply mx-auto flex items-center space-x-2 p-4
|
|
29
|
+
@apply z-1 mx-auto flex h-[64px] items-center space-x-2 p-4;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&__dot {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&__close-button-wrapper {
|
|
41
|
-
@apply
|
|
41
|
+
@apply z-1 ml-auto w-auto;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&__close-button {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&__custom-content {
|
|
57
|
-
@apply absolute
|
|
57
|
+
@apply absolute bottom-0 right-0 bg-gray-600 text-white;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&__backdrop {
|
package/css/input.css
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
justify-content: center;
|
|
94
94
|
|
|
95
95
|
&-inner {
|
|
96
|
-
@apply
|
|
96
|
+
@apply h-3.5 w-3.5 rounded-full;
|
|
97
97
|
|
|
98
98
|
align-items: center;
|
|
99
99
|
display: flex;
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&-icon {
|
|
112
|
-
@apply
|
|
112
|
+
@apply h-2 w-2;
|
|
113
113
|
|
|
114
114
|
:root .light & {
|
|
115
115
|
@apply text-white;
|
|
@@ -215,11 +215,11 @@
|
|
|
215
215
|
&.is-focused {
|
|
216
216
|
.uxf-input__wrapper {
|
|
217
217
|
:root .light & {
|
|
218
|
-
@apply
|
|
218
|
+
@apply border-error ring-error;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
:root .dark & {
|
|
222
|
-
@apply
|
|
222
|
+
@apply border-error ring-error;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
}
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
|
|
235
235
|
.uxf-input__element {
|
|
236
236
|
:root .light & {
|
|
237
|
-
@apply
|
|
237
|
+
@apply text-error placeholder:text-error border-gray-200;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
:root .dark & {
|
|
241
|
-
@apply
|
|
241
|
+
@apply text-error placeholder:text-error border-gray-700;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
}
|
|
@@ -254,16 +254,16 @@
|
|
|
254
254
|
|
|
255
255
|
:root .dark & {
|
|
256
256
|
-webkit-text-fill-color: theme("colors.gray.300");
|
|
257
|
-
-webkit-box-shadow: inset 0 0 0 1000px theme("colors.gray.800");
|
|
258
|
-
box-shadow: inset 0 0 0 1000px theme("colors.gray.800");
|
|
259
257
|
background-color: theme("colors.gray.800");
|
|
258
|
+
-webkit-box-shadow: inset 0 0 0 1000px theme("colors.gray.800"); /* stylelint-disable-line property-no-vendor-prefix */
|
|
259
|
+
box-shadow: inset 0 0 0 1000px theme("colors.gray.800");
|
|
260
260
|
caret-color: white;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
:root .light & {
|
|
264
|
-
-webkit-box-shadow: inset 0 0 0 1000px theme("colors.white");
|
|
265
|
-
box-shadow: inset 0 0 0 1000px theme("colors.white");
|
|
266
264
|
background-color: theme("colors.white");
|
|
265
|
+
-webkit-box-shadow: inset 0 0 0 1000px theme("colors.white"); /* stylelint-disable-line property-no-vendor-prefix */
|
|
266
|
+
box-shadow: inset 0 0 0 1000px theme("colors.white");
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
}
|
package/css/layout.css
CHANGED
|
@@ -4,15 +4,15 @@ body {
|
|
|
4
4
|
|
|
5
5
|
.uxf-layout {
|
|
6
6
|
&__content {
|
|
7
|
-
@apply flex flex-1 flex-col md:pl-64
|
|
7
|
+
@apply flex flex-1 flex-col pt-14 md:pl-64;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.uxf-app-bar {
|
|
12
|
-
@apply fixed
|
|
12
|
+
@apply bg-primary-600 fixed left-0 top-0 flex h-14 w-full items-center;
|
|
13
13
|
|
|
14
14
|
&__left-container {
|
|
15
|
-
@apply flex items-center
|
|
15
|
+
@apply flex grow items-center;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&__menu-button {
|
|
@@ -25,7 +25,7 @@ body {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.uxf-sidebar {
|
|
28
|
-
@apply hidden md:fixed md:inset-y-0 md:flex md:w-64 md:flex-col
|
|
28
|
+
@apply hidden bg-white md:fixed md:inset-y-0 md:flex md:w-64 md:flex-col;
|
|
29
29
|
|
|
30
30
|
&__content {
|
|
31
31
|
@apply flex flex-grow flex-col overflow-y-auto border-r border-r-gray-200 pt-14;
|
package/css/list-item.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.uxf-list-item {
|
|
2
|
-
@apply
|
|
3
|
-
outline-none
|
|
2
|
+
@apply is-hoverable:opacity-75 relative flex min-h-[64px] grow justify-between space-x-3 px-5 py-4
|
|
3
|
+
outline-none transition-opacity before:absolute before:inset-0 before:rounded-lg focus-visible:before:border-2;
|
|
4
4
|
|
|
5
5
|
&__inner {
|
|
6
6
|
@apply w-full;
|