@uxf/ui 10.0.0-beta.7 → 10.0.0-beta.74
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 +9 -1
- package/_select-base/_select-base.d.ts +1 -1
- package/_select-base/_select-base.js +4 -3
- 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-file-input/avatar-file-input.d.ts +3 -0
- package/avatar-file-input/avatar-file-input.js +10 -4
- package/avatar-file-input/avatar-file-input.stories.js +2 -2
- package/avatar-file-input/theme.d.ts +5 -0
- package/avatar-file-input/theme.js +2 -0
- package/button/theme.d.ts +1 -0
- package/calendar/calendar-day-cell.d.ts +3 -0
- package/calendar/calendar-day-cell.js +14 -14
- 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 +1 -1
- package/calendar/calendar.d.ts +5 -0
- package/calendar/calendar.js +5 -8
- package/calendar/index.d.ts +4 -1
- package/calendar/index.js +5 -15
- package/chip/chip.js +6 -4
- package/chip/chip.stories.js +37 -28
- package/combobox/combobox.d.ts +1 -1
- package/combobox/combobox.stories.d.ts +2 -1
- package/combobox/combobox.stories.js +6 -2
- 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/css/alert-bubble.css +100 -0
- package/css/avatar-file-input.css +54 -20
- package/css/avatar.css +3 -3
- package/css/badge.css +5 -5
- package/css/button-group.css +1 -1
- package/css/button-list.css +2 -2
- package/css/button.css +72 -26
- package/css/calendar.css +115 -51
- package/css/checkbox-button.css +8 -8
- 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 +10 -2
- package/css/dropzone.css +7 -7
- 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 +7 -7
- package/css/input-with-popover.css +1 -1
- package/css/input.css +8 -8
- 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 +10 -10
- 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 +13 -13
- package/css/text-link.css +4 -4
- package/css/textarea.css +68 -76
- package/css/time-picker.css +12 -16
- package/css/toggle.css +1 -1
- package/css/tooltip.css +2 -2
- package/date-picker/date-picker-decade.js +6 -6
- 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 +2 -0
- package/date-picker/date-picker.js +2 -0
- package/date-picker-input/date-picker-input.d.ts +1 -0
- package/date-picker-input/date-picker-input.js +3 -1
- package/date-range-picker/date-range-picker-content.d.ts +2 -0
- package/date-range-picker/date-range-picker-content.js +55 -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 +10 -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/date-range-picker-input.d.ts +16 -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/datetime-picker.d.ts +1 -0
- package/datetime-picker/datetime-picker.js +2 -2
- package/datetime-picker-input/datetime-picker-input.d.ts +1 -0
- package/datetime-picker-input/datetime-picker-input.js +3 -1
- 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/dropzone/dropzone-input.js +10 -6
- package/file-input/file-input.d.ts +3 -0
- package/file-input/file-input.js +5 -5
- package/flash-messages/flash-message.js +1 -1
- package/flash-messages/flash-messages.js +44 -10
- package/flash-messages/flash-messages.stories.js +12 -0
- 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 +5 -4
- 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 +1 -1
- package/image-gallery/image-gallery.stories.js +5 -1
- 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/index.d.ts +2 -1
- 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/_multi-combobox-base.js +9 -3
- package/multi-combobox/multi-combobox.stories.js +6 -3
- package/multi-combobox/types.d.ts +4 -0
- package/multi-select/_multi-select-base.js +2 -2
- package/multi-select/multi-select.stories.js +5 -2
- package/package.json +10 -8
- package/radio-group/index.d.ts +1 -1
- package/radio-group/radio-group.d.ts +3 -3
- package/radio-group/radio-group.js +2 -2
- package/radio-group/radio-group.stories.js +4 -4
- package/raster-image/raster-image.js +1 -1
- package/select/select.d.ts +1 -1
- package/select/select.stories.d.ts +2 -1
- package/select/select.stories.js +8 -2
- package/textarea/textarea.js +5 -5
- package/time-picker/time-picker-hour.js +3 -3
- package/time-picker/time-picker-hours.js +1 -1
- package/time-picker/time-picker-minute.js +3 -3
- package/time-picker/time-picker-minutes.js +1 -1
- package/time-picker/time-picker.d.ts +1 -0
- package/time-picker/time-picker.js +3 -2
- package/time-picker-input/time-picker-input.js +3 -1
- package/tooltip/tooltip.js +20 -18
- package/utils/icons-config.js +13 -3
- package/utils/mocks/uploadFIle.mock.js +1 -1
- package/utils/storybook-config.d.ts +11 -1
- package/utils/storybook-config.js +9 -1
- package/utils/tailwind-config.js +8 -0
- 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/css/message.css
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.uxf-message {
|
|
2
|
+
--color: unset;
|
|
3
|
+
|
|
4
|
+
&__title {
|
|
5
|
+
@apply uxf-typo-h6;
|
|
6
|
+
|
|
7
|
+
:root .dark & {
|
|
8
|
+
color: theme("colors.white");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__description {
|
|
13
|
+
@apply uxf-typo-body2;
|
|
14
|
+
|
|
15
|
+
margin-top: theme("spacing.2");
|
|
16
|
+
|
|
17
|
+
:root .light & {
|
|
18
|
+
color: theme("colors.lightMedium");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:root .dark & {
|
|
22
|
+
color: theme("colors.white");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--variant-centered {
|
|
27
|
+
--panel-max-w: 360px;
|
|
28
|
+
|
|
29
|
+
.uxf-message__content-wrapper {
|
|
30
|
+
align-items: center;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
padding: theme("spacing.6");
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.uxf-message__icon-wrapper {
|
|
37
|
+
margin-bottom: theme("spacing.6");
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.uxf-message__text-content {
|
|
41
|
+
text-align: center;
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.uxf-message__buttons-wrapper {
|
|
46
|
+
@apply space-x-2;
|
|
47
|
+
|
|
48
|
+
align-items: center;
|
|
49
|
+
display: flex;
|
|
50
|
+
padding: 0 theme("spacing.6") theme("spacing.6");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--variant-simple {
|
|
55
|
+
--panel-max-w: 320px;
|
|
56
|
+
|
|
57
|
+
.uxf-message__content-wrapper {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
justify-content: flex-start;
|
|
61
|
+
justify-items: center;
|
|
62
|
+
padding: theme("spacing.4");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.uxf-message__icon-wrapper {
|
|
66
|
+
margin-right: theme("spacing.3");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.uxf-message__text-content {
|
|
70
|
+
flex-grow: 1;
|
|
71
|
+
padding-top: theme("spacing.1");
|
|
72
|
+
text-align: left;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.uxf-message__buttons-wrapper {
|
|
76
|
+
@apply space-x-2;
|
|
77
|
+
|
|
78
|
+
align-items: center;
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: flex-end;
|
|
81
|
+
padding: theme("spacing.3") theme("spacing.4");
|
|
82
|
+
|
|
83
|
+
:root .light & {
|
|
84
|
+
background: theme("backgroundColor.gray.50");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:root .dark & {
|
|
88
|
+
background: theme("backgroundColor.lightHigh");
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
package/css/modal.css
CHANGED
|
@@ -1,65 +1,21 @@
|
|
|
1
1
|
.uxf-modal {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
&__backdrop {
|
|
6
|
-
@apply inset-0;
|
|
7
|
-
|
|
8
|
-
position: fixed;
|
|
9
|
-
background-color: rgb(0 0 0 / 75%);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&__wrapper {
|
|
13
|
-
@apply inset-0;
|
|
14
|
-
|
|
15
|
-
position: fixed;
|
|
16
|
-
overflow-y: auto;
|
|
2
|
+
&--width-xs {
|
|
3
|
+
--panel-max-w: theme("maxWidth.xs");
|
|
17
4
|
}
|
|
18
5
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
min-height: 100%;
|
|
22
|
-
align-items: flex-end;
|
|
23
|
-
justify-content: center;
|
|
24
|
-
padding-top: theme("spacing.8");
|
|
25
|
-
|
|
26
|
-
@media screen(sm) {
|
|
27
|
-
align-items: center;
|
|
28
|
-
padding: theme("spacing.4");
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__panel {
|
|
33
|
-
position: relative;
|
|
34
|
-
width: 100%;
|
|
35
|
-
border-top-left-radius: theme("borderRadius.2xl");
|
|
36
|
-
border-top-right-radius: theme("borderRadius.2xl");
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
|
|
39
|
-
:root .light & {
|
|
40
|
-
background-color: theme("colors.white");
|
|
41
|
-
color: theme("colors.black");
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:root .dark & {
|
|
45
|
-
background-color: theme("colors.gray.900");
|
|
46
|
-
color: theme("colors.white");
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@media screen(sm) {
|
|
50
|
-
border-radius: theme("borderRadius.2xl");
|
|
51
|
-
}
|
|
6
|
+
&--width-sm {
|
|
7
|
+
--panel-max-w: theme("maxWidth.sm");
|
|
52
8
|
}
|
|
53
9
|
|
|
54
|
-
&--width-
|
|
55
|
-
max-
|
|
10
|
+
&--width-default {
|
|
11
|
+
--panel-max-w: theme("maxWidth.lg");
|
|
56
12
|
}
|
|
57
13
|
|
|
58
|
-
&--width-
|
|
59
|
-
max-
|
|
14
|
+
&--width-lg {
|
|
15
|
+
--panel-max-w: theme("maxWidth.3xl");
|
|
60
16
|
}
|
|
61
17
|
|
|
62
|
-
&--width-
|
|
63
|
-
max-
|
|
18
|
+
&--width-xl {
|
|
19
|
+
--panel-max-w: theme("maxWidth.5xl");
|
|
64
20
|
}
|
|
65
21
|
}
|
package/css/multi-combobox.css
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
&__button {
|
|
5
5
|
min-height: theme("inputSize.default");
|
|
6
6
|
|
|
7
|
-
@apply relative flex
|
|
8
|
-
text-left outline-none before:
|
|
9
|
-
before:rounded-lg
|
|
7
|
+
@apply relative flex w-full cursor-default flex-row flex-wrap items-center rounded-lg pb-[7px] pl-3 pr-8
|
|
8
|
+
text-left shadow-sm outline-none before:pointer-events-none before:absolute before:inset-0
|
|
9
|
+
before:rounded-lg before:border;
|
|
10
10
|
|
|
11
11
|
&--with-popover {
|
|
12
12
|
@apply cursor-text pb-0;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.uxf-icon {
|
|
16
|
-
@apply absolute top-1/2 -translate-y-1/2
|
|
16
|
+
@apply absolute right-3 top-1/2 -translate-y-1/2;
|
|
17
17
|
|
|
18
18
|
:root .light & {
|
|
19
19
|
@apply text-lightLow;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
@apply ring-2;
|
|
46
46
|
|
|
47
47
|
:root .light & {
|
|
48
|
-
@apply before:border-none
|
|
48
|
+
@apply ring-primary before:border-none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:root .dark & {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
@apply ring-1;
|
|
58
58
|
|
|
59
59
|
:root .light & {
|
|
60
|
-
@apply
|
|
60
|
+
@apply text-error ring-error;
|
|
61
61
|
|
|
62
62
|
.uxf-combobox__input {
|
|
63
63
|
@apply placeholder:text-error;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
:root .dark & {
|
|
68
|
-
@apply
|
|
68
|
+
@apply text-error ring-error;
|
|
69
69
|
|
|
70
70
|
.uxf-combobox__input {
|
|
71
71
|
@apply placeholder:text-error;
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&__input {
|
|
78
|
-
@apply
|
|
79
|
-
|
|
78
|
+
@apply shrink grow truncate bg-inherit
|
|
79
|
+
focus-visible:border-0 focus-visible:outline-none focus-visible:ring-0;
|
|
80
80
|
|
|
81
81
|
margin-top: 7px;
|
|
82
82
|
|
|
@@ -105,6 +105,6 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
&__popover-panel {
|
|
108
|
-
@apply absolute
|
|
108
|
+
@apply absolute left-0 top-0 z-10 w-full;
|
|
109
109
|
}
|
|
110
110
|
}
|
package/css/pagination.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.uxf-pagination {
|
|
2
|
-
@apply isolate inline-flex
|
|
2
|
+
@apply isolate inline-flex -space-x-px rounded-md;
|
|
3
3
|
|
|
4
4
|
&__button {
|
|
5
|
-
@apply relative inline-flex items-center border text-sm font-medium focus:z-10
|
|
5
|
+
@apply relative inline-flex cursor-pointer items-center border text-sm font-medium focus:z-10;
|
|
6
6
|
|
|
7
7
|
:root .light & {
|
|
8
8
|
@apply border-gray-300 bg-white text-gray-500 hover:bg-gray-50;
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
@apply z-10;
|
|
17
17
|
|
|
18
18
|
:root .light & {
|
|
19
|
-
@apply bg-indigo-50
|
|
19
|
+
@apply border border-primary bg-indigo-50 text-primary-600;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
:root .dark & {
|
|
23
|
-
@apply bg-indigo-900/20
|
|
23
|
+
@apply border border-primary-700 bg-indigo-900/20 text-primary-300;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -62,32 +62,32 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&--size-xs .uxf-pagination__button {
|
|
65
|
-
height: theme("inputSize.xs");
|
|
66
|
-
|
|
67
65
|
@apply px-2;
|
|
66
|
+
|
|
67
|
+
height: theme("inputSize.xs");
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&--size-sm .uxf-pagination__button {
|
|
71
|
-
height: theme("inputSize.sm");
|
|
72
|
-
|
|
73
71
|
@apply px-3;
|
|
72
|
+
|
|
73
|
+
height: theme("inputSize.sm");
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&--size-default .uxf-pagination__button {
|
|
77
|
-
height: theme("inputSize.default");
|
|
78
|
-
|
|
79
77
|
@apply px-4;
|
|
78
|
+
|
|
79
|
+
height: theme("inputSize.default");
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&--size-lg .uxf-pagination__button {
|
|
83
|
-
height: theme("inputSize.lg");
|
|
84
|
-
|
|
85
83
|
@apply px-5;
|
|
84
|
+
|
|
85
|
+
height: theme("inputSize.lg");
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
&--size-xl .uxf-pagination__button {
|
|
89
|
-
height: theme("inputSize.xl");
|
|
90
|
-
|
|
91
89
|
@apply px-6;
|
|
90
|
+
|
|
91
|
+
height: theme("inputSize.xl");
|
|
92
92
|
}
|
|
93
93
|
}
|
package/css/paper.css
CHANGED
package/css/radio-group.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.uxf-radio-group {
|
|
2
2
|
&__option {
|
|
3
|
-
@apply outline-none focus-visible:
|
|
3
|
+
@apply outline-none focus-visible:rounded-lg focus-visible:ring-2 focus-visible:ring-offset-2;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
&__option-wrapper {
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.uxf-radio-group__option-wrapper {
|
|
95
|
-
@apply
|
|
96
|
-
before:absolute before:inset-0 before:
|
|
95
|
+
@apply relative min-w-[112px] flex-col-reverse p-3
|
|
96
|
+
before:pointer-events-none before:absolute before:inset-0 before:rounded-lg before:border;
|
|
97
97
|
|
|
98
98
|
&.is-selected {
|
|
99
99
|
@apply before:border-2;
|
package/css/radio.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.uxf-radio {
|
|
2
|
-
@apply flex shrink-0 items-center justify-center
|
|
2
|
+
@apply flex shrink-0 items-center justify-center rounded-full border transition focus-visible:ring-2;
|
|
3
3
|
|
|
4
4
|
&__inner {
|
|
5
5
|
@apply block rounded-full opacity-0 transition;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
@apply h-4 w-4;
|
|
16
16
|
|
|
17
17
|
.uxf-radio__inner {
|
|
18
|
-
@apply
|
|
18
|
+
@apply h-1.5 w-1.5;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@apply h-6 w-6;
|
|
24
24
|
|
|
25
25
|
.uxf-radio__inner {
|
|
26
|
-
@apply
|
|
26
|
+
@apply h-2.5 w-2.5;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@apply border-gray-400 focus-visible:ring-primary;
|
|
32
32
|
|
|
33
33
|
&.is-selected {
|
|
34
|
-
@apply bg-primary
|
|
34
|
+
@apply border-none bg-primary;
|
|
35
35
|
|
|
36
36
|
.uxf-radio__inner {
|
|
37
37
|
@apply bg-white;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&.is-disabled {
|
|
42
|
-
@apply border-gray-200
|
|
42
|
+
@apply pointer-events-none border-gray-200;
|
|
43
43
|
|
|
44
44
|
&.is-selected {
|
|
45
45
|
@apply bg-gray-200;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
@apply border-gray-400 focus-visible:ring-primary focus-visible:ring-offset-gray-900;
|
|
68
68
|
|
|
69
69
|
&.is-selected {
|
|
70
|
-
@apply bg-primary
|
|
70
|
+
@apply border-none bg-primary;
|
|
71
71
|
|
|
72
72
|
.uxf-radio__inner {
|
|
73
73
|
@apply bg-white;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&.is-disabled {
|
|
78
|
-
@apply border-gray-600
|
|
78
|
+
@apply pointer-events-none border-gray-600;
|
|
79
79
|
|
|
80
80
|
&.is-selected {
|
|
81
81
|
@apply bg-gray-600;
|
package/css/raster-image.css
CHANGED
package/css/select-base.css
CHANGED
package/css/tabs.css
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
&__tab-list__wrapper {
|
|
11
|
-
@apply w-full
|
|
11
|
+
@apply mb-6 w-full overflow-auto;
|
|
12
12
|
|
|
13
13
|
&--default {
|
|
14
|
-
@apply relative before:
|
|
14
|
+
@apply relative before:pointer-events-none before:absolute before:bottom-0 before:w-full before:border-b-2;
|
|
15
15
|
|
|
16
16
|
:root .light & {
|
|
17
17
|
@apply before:border-b-gray-100;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&__tab-list {
|
|
39
|
-
@apply flex items-center
|
|
39
|
+
@apply flex w-full items-center overflow-x-auto whitespace-nowrap text-base font-semibold;
|
|
40
40
|
|
|
41
41
|
scrollbar-width: none;
|
|
42
42
|
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&--default {
|
|
48
|
-
@apply
|
|
48
|
+
@apply space-x-2 px-1 py-1.5;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&--segmented {
|
|
52
|
-
@apply
|
|
52
|
+
@apply space-x-1 p-1;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&__tab {
|
|
57
|
-
@apply inline-flex
|
|
58
|
-
outline-none
|
|
59
|
-
focus-visible:ring-2 focus-visible:ring-offset-1
|
|
57
|
+
@apply inline-flex cursor-pointer items-center justify-center overflow-visible whitespace-nowrap px-2 py-2
|
|
58
|
+
text-center outline-none transition-colors
|
|
59
|
+
focus-visible:ring-2 focus-visible:ring-offset-1 is-disabled:pointer-events-none;
|
|
60
60
|
|
|
61
61
|
&--default {
|
|
62
62
|
@apply relative rounded-lg before:absolute before:bottom-[-6px] before:w-full before:border-b-2
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&.is-active {
|
|
75
|
-
@apply before:opacity-100
|
|
75
|
+
@apply before:opacity-100;
|
|
76
76
|
|
|
77
77
|
:root .light & {
|
|
78
78
|
@apply text-lightHigh before:border-b-primary hover:bg-transparent;
|
|
@@ -98,22 +98,22 @@
|
|
|
98
98
|
@apply rounded;
|
|
99
99
|
|
|
100
100
|
:root .light & {
|
|
101
|
-
@apply
|
|
101
|
+
@apply bg-gray-100 text-lightMedium hover:bg-primary-100 hover:text-primary-600
|
|
102
102
|
focus-visible:ring-primary focus-visible:ring-offset-gray-100;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
:root .dark & {
|
|
106
|
-
@apply
|
|
106
|
+
@apply bg-gray-700 text-darkMedium hover:bg-gray-800 focus-visible:ring-primary
|
|
107
107
|
focus-visible:ring-offset-gray-700;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
&.is-active {
|
|
111
111
|
:root .light & {
|
|
112
|
-
@apply text-white
|
|
112
|
+
@apply bg-primary text-white;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
:root .dark & {
|
|
116
|
-
@apply text-white
|
|
116
|
+
@apply bg-primary text-white;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
package/css/text-link.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.uxf-text-link {
|
|
2
|
-
@apply underline
|
|
3
|
-
focus-visible:before:
|
|
2
|
+
@apply relative underline outline-none transition before:absolute before:-inset-1
|
|
3
|
+
focus-visible:before:rounded-lg focus-visible:before:border-2;
|
|
4
4
|
|
|
5
5
|
:root .light & {
|
|
6
|
-
@apply text-primary is-hoverable:text-primary-400
|
|
6
|
+
@apply text-primary focus-visible:before:border-primary is-hoverable:text-primary-400;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
:root .dark & {
|
|
10
|
-
@apply text-primary is-hoverable:text-primary-400
|
|
10
|
+
@apply text-primary focus-visible:before:border-primary is-hoverable:text-primary-400;
|
|
11
11
|
}
|
|
12
12
|
}
|