@uxf/ui 10.0.0-beta.9 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_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 +5 -3
- package/chip/chip.stories.js +37 -31
- 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/create-component-preview-page/create-component-preview-page.d.ts +8 -0
- package/create-component-preview-page/create-component-preview-page.js +40 -0
- package/create-component-preview-page/index.d.ts +2 -0
- package/create-component-preview-page/index.js +18 -0
- package/create-component-preview-page/ui-components.d.ts +237 -0
- package/create-component-preview-page/ui-components.js +263 -0
- package/create-component-preview-page/ui-readmes.d.ts +2 -0
- package/create-component-preview-page/ui-readmes.js +102 -0
- 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 +5 -3
- 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/date-picker.stories.js +2 -1
- 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 +11 -0
- package/{modal/modal-dialog.js → dialog/dialog.js} +9 -10
- 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/dialog/theme.d.ts +4 -0
- package/dialog/theme.js +2 -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-list.js +2 -16
- 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 +6 -4
- package/modal/modal.js +9 -9
- package/modal/modal.stories.js +12 -0
- package/modal/theme.d.ts +7 -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 -12
- 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-input.stories.js +2 -1
- 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/files/get-file-icon.d.ts +2 -0
- package/utils/files/get-file-icon.js +19 -0
- 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
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.uiComponents = void 0;
|
|
27
|
+
const AvatarFileInputStories = __importStar(require("@uxf/ui/avatar-file-input/avatar-file-input.stories"));
|
|
28
|
+
const AvatarStories = __importStar(require("@uxf/ui/avatar/avatar.stories"));
|
|
29
|
+
const BadgeStories = __importStar(require("@uxf/ui/badge/badge.stories"));
|
|
30
|
+
const ButtonGroupStories = __importStar(require("@uxf/ui/button-group/button-group.stories"));
|
|
31
|
+
const ButtonListStories = __importStar(require("@uxf/ui/button-list/button-list.stories"));
|
|
32
|
+
const ButtonStories = __importStar(require("@uxf/ui/button/button.stories"));
|
|
33
|
+
const CalendarStories = __importStar(require("@uxf/ui/calendar/calendar.stories"));
|
|
34
|
+
const CheckboxButtonStories = __importStar(require("@uxf/ui/checkbox-button/checkbox-button.stories"));
|
|
35
|
+
const CheckboxInputStories = __importStar(require("@uxf/ui/checkbox-input/checkbox-input.stories"));
|
|
36
|
+
const CheckboxStories = __importStar(require("@uxf/ui/checkbox/checkbox.stories"));
|
|
37
|
+
const ChipStories = __importStar(require("@uxf/ui/chip/chip.stories"));
|
|
38
|
+
const ColorRadioGroupStories = __importStar(require("@uxf/ui/color-radio-group/color-radio-group.stories"));
|
|
39
|
+
const ColorRadioStories = __importStar(require("@uxf/ui/color-radio/color-radio.stories"));
|
|
40
|
+
const ComboboxStories = __importStar(require("@uxf/ui/combobox/combobox.stories"));
|
|
41
|
+
const DatePickerInputStories = __importStar(require("@uxf/ui/date-picker-input/date-picker-input.stories"));
|
|
42
|
+
const DatePickerStories = __importStar(require("@uxf/ui/date-picker/date-picker.stories"));
|
|
43
|
+
const DatetimePickerInputStories = __importStar(require("@uxf/ui/datetime-picker-input/datetime-picker-input.stories"));
|
|
44
|
+
const DatetimePickerStories = __importStar(require("@uxf/ui/datetime-picker/datetime-picker.stories"));
|
|
45
|
+
const DropdownStories = __importStar(require("@uxf/ui/dropdown/dropdown.stories"));
|
|
46
|
+
const DropzoneStories = __importStar(require("@uxf/ui/dropzone/dropzone.stories"));
|
|
47
|
+
const ErrorMessageStories = __importStar(require("@uxf/ui/error-message/error-message.stories"));
|
|
48
|
+
const FileInputStories = __importStar(require("@uxf/ui/file-input/file-input.stories"));
|
|
49
|
+
const FlashMessagesStories = __importStar(require("@uxf/ui/flash-messages/flash-messages.stories"));
|
|
50
|
+
const FormComponentStories = __importStar(require("@uxf/ui/form-component/form-component.stories"));
|
|
51
|
+
const IconStories = __importStar(require("@uxf/ui/icon/icon.stories"));
|
|
52
|
+
const InputStories = __importStar(require("@uxf/ui/input/input.stories"));
|
|
53
|
+
const LabelStories = __importStar(require("@uxf/ui/label/label.stories"));
|
|
54
|
+
const ListItemStories = __importStar(require("@uxf/ui/list-item/list-item.stories"));
|
|
55
|
+
const LoaderStories = __importStar(require("@uxf/ui/loader/loader.stories"));
|
|
56
|
+
const ModalStories = __importStar(require("@uxf/ui/modal/modal.stories"));
|
|
57
|
+
const MultiComboboxStories = __importStar(require("@uxf/ui/multi-combobox/multi-combobox.stories"));
|
|
58
|
+
const MultiSelectStories = __importStar(require("@uxf/ui/multi-select/multi-select.stories"));
|
|
59
|
+
const PaginationStories = __importStar(require("@uxf/ui/pagination/pagination.stories"));
|
|
60
|
+
const PaperStories = __importStar(require("@uxf/ui/paper/paper.stories"));
|
|
61
|
+
const RadioGroupStories = __importStar(require("@uxf/ui/radio-group/radio-group.stories"));
|
|
62
|
+
const RadioStories = __importStar(require("@uxf/ui/radio/radio.stories"));
|
|
63
|
+
const RasterImageStories = __importStar(require("@uxf/ui/raster-image/raster-image.stories"));
|
|
64
|
+
const SelectStories = __importStar(require("@uxf/ui/select/select.stories"));
|
|
65
|
+
const TabsStories = __importStar(require("@uxf/ui/tabs/tabs.stories"));
|
|
66
|
+
const TextInputStories = __importStar(require("@uxf/ui/text-input/text-input.stories"));
|
|
67
|
+
const TextLinkStories = __importStar(require("@uxf/ui/text-link/text-link.stories"));
|
|
68
|
+
const TextareaStories = __importStar(require("@uxf/ui/textarea/textarea.stories"));
|
|
69
|
+
const TimePickerInputStories = __importStar(require("@uxf/ui/time-picker-input/time-picker-input.stories"));
|
|
70
|
+
const TimePickerStories = __importStar(require("@uxf/ui/time-picker/time-picker-input.stories"));
|
|
71
|
+
const ToggleStories = __importStar(require("@uxf/ui/toggle/toggle.stories"));
|
|
72
|
+
const TooltipStories = __importStar(require("@uxf/ui/tooltip/tooltip.stories"));
|
|
73
|
+
const TypographyStories = __importStar(require("@uxf/ui/typography/typography.stories"));
|
|
74
|
+
exports.uiComponents = {
|
|
75
|
+
avatar: {
|
|
76
|
+
title: "Avatar",
|
|
77
|
+
stories: AvatarStories,
|
|
78
|
+
},
|
|
79
|
+
"avatar-file-input": {
|
|
80
|
+
title: "AvatarFileInput",
|
|
81
|
+
stories: AvatarFileInputStories,
|
|
82
|
+
},
|
|
83
|
+
badge: {
|
|
84
|
+
title: "Badge",
|
|
85
|
+
stories: BadgeStories,
|
|
86
|
+
},
|
|
87
|
+
button: {
|
|
88
|
+
title: "Button",
|
|
89
|
+
stories: ButtonStories,
|
|
90
|
+
},
|
|
91
|
+
"button-group": {
|
|
92
|
+
title: "ButtonGroup",
|
|
93
|
+
stories: ButtonGroupStories,
|
|
94
|
+
},
|
|
95
|
+
"button-list": {
|
|
96
|
+
title: "ButtonList",
|
|
97
|
+
stories: ButtonListStories,
|
|
98
|
+
},
|
|
99
|
+
calendar: {
|
|
100
|
+
title: "Calendar",
|
|
101
|
+
stories: CalendarStories,
|
|
102
|
+
},
|
|
103
|
+
checkbox: {
|
|
104
|
+
title: "Checkbox",
|
|
105
|
+
stories: CheckboxStories,
|
|
106
|
+
},
|
|
107
|
+
"checkbox-button": {
|
|
108
|
+
title: "CheckboxButton",
|
|
109
|
+
stories: CheckboxButtonStories,
|
|
110
|
+
},
|
|
111
|
+
"checkbox-input": {
|
|
112
|
+
title: "CheckboxInput",
|
|
113
|
+
stories: CheckboxInputStories,
|
|
114
|
+
},
|
|
115
|
+
chip: {
|
|
116
|
+
title: "Chip",
|
|
117
|
+
stories: ChipStories,
|
|
118
|
+
},
|
|
119
|
+
"color-radio": {
|
|
120
|
+
title: "ColorRadio",
|
|
121
|
+
stories: ColorRadioStories,
|
|
122
|
+
},
|
|
123
|
+
"color-radio-group": {
|
|
124
|
+
title: "ColorRadioGroup",
|
|
125
|
+
stories: ColorRadioGroupStories,
|
|
126
|
+
},
|
|
127
|
+
combobox: {
|
|
128
|
+
title: "Combobox",
|
|
129
|
+
stories: ComboboxStories,
|
|
130
|
+
},
|
|
131
|
+
"date-picker": {
|
|
132
|
+
title: "DatePicker",
|
|
133
|
+
stories: DatePickerStories,
|
|
134
|
+
},
|
|
135
|
+
"date-picker-input": {
|
|
136
|
+
title: "DatePickerInput",
|
|
137
|
+
stories: DatePickerInputStories,
|
|
138
|
+
},
|
|
139
|
+
"datetime-picker": {
|
|
140
|
+
title: "DatetimePicker",
|
|
141
|
+
stories: DatetimePickerStories,
|
|
142
|
+
},
|
|
143
|
+
"datetime-picker-input": {
|
|
144
|
+
title: "DatetimePickerInput",
|
|
145
|
+
stories: DatetimePickerInputStories,
|
|
146
|
+
},
|
|
147
|
+
dropdown: {
|
|
148
|
+
title: "Dropdown",
|
|
149
|
+
stories: DropdownStories,
|
|
150
|
+
},
|
|
151
|
+
dropzone: {
|
|
152
|
+
title: "Dropzone",
|
|
153
|
+
stories: DropzoneStories,
|
|
154
|
+
},
|
|
155
|
+
"error-message": {
|
|
156
|
+
title: "ErrorMessage",
|
|
157
|
+
stories: ErrorMessageStories,
|
|
158
|
+
},
|
|
159
|
+
"file-input": {
|
|
160
|
+
title: "FileInput",
|
|
161
|
+
stories: FileInputStories,
|
|
162
|
+
},
|
|
163
|
+
"flash-messages": {
|
|
164
|
+
title: "FlashMessages",
|
|
165
|
+
stories: FlashMessagesStories,
|
|
166
|
+
},
|
|
167
|
+
"form-component": {
|
|
168
|
+
title: "FormComponent",
|
|
169
|
+
stories: FormComponentStories,
|
|
170
|
+
},
|
|
171
|
+
icon: {
|
|
172
|
+
title: "Icon",
|
|
173
|
+
stories: IconStories,
|
|
174
|
+
},
|
|
175
|
+
input: {
|
|
176
|
+
title: "Input",
|
|
177
|
+
stories: InputStories,
|
|
178
|
+
},
|
|
179
|
+
label: {
|
|
180
|
+
title: "Label",
|
|
181
|
+
stories: LabelStories,
|
|
182
|
+
},
|
|
183
|
+
"list-item": {
|
|
184
|
+
title: "ListItem",
|
|
185
|
+
stories: ListItemStories,
|
|
186
|
+
},
|
|
187
|
+
loader: {
|
|
188
|
+
title: "Loader",
|
|
189
|
+
stories: LoaderStories,
|
|
190
|
+
},
|
|
191
|
+
modal: {
|
|
192
|
+
title: "Modal",
|
|
193
|
+
stories: ModalStories,
|
|
194
|
+
},
|
|
195
|
+
"multi-combobox": {
|
|
196
|
+
title: "MultiCombobox",
|
|
197
|
+
stories: MultiComboboxStories,
|
|
198
|
+
},
|
|
199
|
+
"multi-select": {
|
|
200
|
+
title: "MultiSelect",
|
|
201
|
+
stories: MultiSelectStories,
|
|
202
|
+
},
|
|
203
|
+
pagination: {
|
|
204
|
+
title: "Pagination",
|
|
205
|
+
stories: PaginationStories,
|
|
206
|
+
},
|
|
207
|
+
paper: {
|
|
208
|
+
title: "Paper",
|
|
209
|
+
stories: PaperStories,
|
|
210
|
+
},
|
|
211
|
+
radio: {
|
|
212
|
+
title: "Radio",
|
|
213
|
+
stories: RadioStories,
|
|
214
|
+
},
|
|
215
|
+
"radio-group": {
|
|
216
|
+
title: "RadioGroup",
|
|
217
|
+
stories: RadioGroupStories,
|
|
218
|
+
},
|
|
219
|
+
"raster-image": {
|
|
220
|
+
title: "RasterImage",
|
|
221
|
+
stories: RasterImageStories,
|
|
222
|
+
},
|
|
223
|
+
select: {
|
|
224
|
+
title: "Select",
|
|
225
|
+
stories: SelectStories,
|
|
226
|
+
},
|
|
227
|
+
tabs: {
|
|
228
|
+
title: "Tabs",
|
|
229
|
+
stories: TabsStories,
|
|
230
|
+
},
|
|
231
|
+
"text-input": {
|
|
232
|
+
title: "TextInput",
|
|
233
|
+
stories: TextInputStories,
|
|
234
|
+
},
|
|
235
|
+
"text-link": {
|
|
236
|
+
title: "TextLink",
|
|
237
|
+
stories: TextLinkStories,
|
|
238
|
+
},
|
|
239
|
+
textarea: {
|
|
240
|
+
title: "Textarea",
|
|
241
|
+
stories: TextareaStories,
|
|
242
|
+
},
|
|
243
|
+
"time-picker": {
|
|
244
|
+
title: "TimePicker",
|
|
245
|
+
stories: TimePickerStories,
|
|
246
|
+
},
|
|
247
|
+
"time-picker-input": {
|
|
248
|
+
title: "TimePickerInput",
|
|
249
|
+
stories: TimePickerInputStories,
|
|
250
|
+
},
|
|
251
|
+
toggle: {
|
|
252
|
+
title: "Toggle",
|
|
253
|
+
stories: ToggleStories,
|
|
254
|
+
},
|
|
255
|
+
tooltip: {
|
|
256
|
+
title: "Tooltip",
|
|
257
|
+
stories: TooltipStories,
|
|
258
|
+
},
|
|
259
|
+
typography: {
|
|
260
|
+
title: "Typography",
|
|
261
|
+
stories: TypographyStories,
|
|
262
|
+
},
|
|
263
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.uiReadmes = void 0;
|
|
7
|
+
const README_md_1 = __importDefault(require("@uxf/ui/avatar-file-input/README.md"));
|
|
8
|
+
const README_md_2 = __importDefault(require("@uxf/ui/avatar/README.md"));
|
|
9
|
+
const README_md_3 = __importDefault(require("@uxf/ui/badge/README.md"));
|
|
10
|
+
const README_md_4 = __importDefault(require("@uxf/ui/button-group/README.md"));
|
|
11
|
+
const README_md_5 = __importDefault(require("@uxf/ui/button-list/README.md"));
|
|
12
|
+
const README_md_6 = __importDefault(require("@uxf/ui/button/README.md"));
|
|
13
|
+
const README_md_7 = __importDefault(require("@uxf/ui/calendar/README.md"));
|
|
14
|
+
const README_md_8 = __importDefault(require("@uxf/ui/checkbox-button/README.md"));
|
|
15
|
+
const README_md_9 = __importDefault(require("@uxf/ui/checkbox-input/README.md"));
|
|
16
|
+
const README_md_10 = __importDefault(require("@uxf/ui/checkbox/README.md"));
|
|
17
|
+
const README_md_11 = __importDefault(require("@uxf/ui/chip/README.md"));
|
|
18
|
+
const README_md_12 = __importDefault(require("@uxf/ui/color-radio-group/README.md"));
|
|
19
|
+
const README_md_13 = __importDefault(require("@uxf/ui/color-radio/README.md"));
|
|
20
|
+
const README_md_14 = __importDefault(require("@uxf/ui/combobox/README.md"));
|
|
21
|
+
const README_md_15 = __importDefault(require("@uxf/ui/date-picker-input/README.md"));
|
|
22
|
+
const README_md_16 = __importDefault(require("@uxf/ui/date-picker/README.md"));
|
|
23
|
+
const README_md_17 = __importDefault(require("@uxf/ui/datetime-picker-input/README.md"));
|
|
24
|
+
const README_md_18 = __importDefault(require("@uxf/ui/datetime-picker/README.md"));
|
|
25
|
+
const README_md_19 = __importDefault(require("@uxf/ui/dropdown/README.md"));
|
|
26
|
+
const README_md_20 = __importDefault(require("@uxf/ui/dropzone/README.md"));
|
|
27
|
+
const README_md_21 = __importDefault(require("@uxf/ui/error-message/README.md"));
|
|
28
|
+
const README_md_22 = __importDefault(require("@uxf/ui/file-input/README.md"));
|
|
29
|
+
const README_md_23 = __importDefault(require("@uxf/ui/flash-messages/README.md"));
|
|
30
|
+
const README_md_24 = __importDefault(require("@uxf/ui/form-component/README.md"));
|
|
31
|
+
const README_md_25 = __importDefault(require("@uxf/ui/icon/README.md"));
|
|
32
|
+
const README_md_26 = __importDefault(require("@uxf/ui/input/README.md"));
|
|
33
|
+
const README_md_27 = __importDefault(require("@uxf/ui/label/README.md"));
|
|
34
|
+
const README_md_28 = __importDefault(require("@uxf/ui/list-item/README.md"));
|
|
35
|
+
const README_md_29 = __importDefault(require("@uxf/ui/loader/README.md"));
|
|
36
|
+
const README_md_30 = __importDefault(require("@uxf/ui/modal/README.md"));
|
|
37
|
+
const README_md_31 = __importDefault(require("@uxf/ui/multi-combobox/README.md"));
|
|
38
|
+
const README_md_32 = __importDefault(require("@uxf/ui/multi-select/README.md"));
|
|
39
|
+
const README_md_33 = __importDefault(require("@uxf/ui/pagination/README.md"));
|
|
40
|
+
const README_md_34 = __importDefault(require("@uxf/ui/paper/README.md"));
|
|
41
|
+
const README_md_35 = __importDefault(require("@uxf/ui/radio-group/README.md"));
|
|
42
|
+
const README_md_36 = __importDefault(require("@uxf/ui/radio/README.md"));
|
|
43
|
+
const README_md_37 = __importDefault(require("@uxf/ui/raster-image/README.md"));
|
|
44
|
+
const README_md_38 = __importDefault(require("@uxf/ui/select/README.md"));
|
|
45
|
+
const README_md_39 = __importDefault(require("@uxf/ui/tabs/README.md"));
|
|
46
|
+
const README_md_40 = __importDefault(require("@uxf/ui/text-input/README.md"));
|
|
47
|
+
const README_md_41 = __importDefault(require("@uxf/ui/text-link/README.md"));
|
|
48
|
+
const README_md_42 = __importDefault(require("@uxf/ui/textarea/README.md"));
|
|
49
|
+
const README_md_43 = __importDefault(require("@uxf/ui/time-picker-input/README.md"));
|
|
50
|
+
const README_md_44 = __importDefault(require("@uxf/ui/time-picker/README.md"));
|
|
51
|
+
const README_md_45 = __importDefault(require("@uxf/ui/toggle/README.md"));
|
|
52
|
+
const README_md_46 = __importDefault(require("@uxf/ui/tooltip/README.md"));
|
|
53
|
+
const README_md_47 = __importDefault(require("@uxf/ui/typography/README.md"));
|
|
54
|
+
exports.uiReadmes = {
|
|
55
|
+
avatar: README_md_2.default,
|
|
56
|
+
"avatar-file-input": README_md_1.default,
|
|
57
|
+
badge: README_md_3.default,
|
|
58
|
+
button: README_md_6.default,
|
|
59
|
+
"button-group": README_md_4.default,
|
|
60
|
+
"button-list": README_md_5.default,
|
|
61
|
+
calendar: README_md_7.default,
|
|
62
|
+
checkbox: README_md_10.default,
|
|
63
|
+
"checkbox-button": README_md_8.default,
|
|
64
|
+
"checkbox-input": README_md_9.default,
|
|
65
|
+
chip: README_md_11.default,
|
|
66
|
+
"color-radio": README_md_13.default,
|
|
67
|
+
"color-radio-group": README_md_12.default,
|
|
68
|
+
combobox: README_md_14.default,
|
|
69
|
+
"date-picker": README_md_16.default,
|
|
70
|
+
"date-picker-input": README_md_15.default,
|
|
71
|
+
"datetime-picker": README_md_18.default,
|
|
72
|
+
"datetime-picker-input": README_md_17.default,
|
|
73
|
+
dropdown: README_md_19.default,
|
|
74
|
+
dropzone: README_md_20.default,
|
|
75
|
+
"error-message": README_md_21.default,
|
|
76
|
+
"file-input": README_md_22.default,
|
|
77
|
+
"flash-messages": README_md_23.default,
|
|
78
|
+
"form-component": README_md_24.default,
|
|
79
|
+
icon: README_md_25.default,
|
|
80
|
+
input: README_md_26.default,
|
|
81
|
+
label: README_md_27.default,
|
|
82
|
+
"list-item": README_md_28.default,
|
|
83
|
+
loader: README_md_29.default,
|
|
84
|
+
modal: README_md_30.default,
|
|
85
|
+
"multi-combobox": README_md_31.default,
|
|
86
|
+
"multi-select": README_md_32.default,
|
|
87
|
+
pagination: README_md_33.default,
|
|
88
|
+
paper: README_md_34.default,
|
|
89
|
+
radio: README_md_36.default,
|
|
90
|
+
"radio-group": README_md_35.default,
|
|
91
|
+
"raster-image": README_md_37.default,
|
|
92
|
+
select: README_md_38.default,
|
|
93
|
+
tabs: README_md_39.default,
|
|
94
|
+
"text-input": README_md_40.default,
|
|
95
|
+
"text-link": README_md_41.default,
|
|
96
|
+
textarea: README_md_42.default,
|
|
97
|
+
"time-picker": README_md_44.default,
|
|
98
|
+
"time-picker-input": README_md_43.default,
|
|
99
|
+
toggle: README_md_45.default,
|
|
100
|
+
tooltip: README_md_46.default,
|
|
101
|
+
typography: README_md_47.default,
|
|
102
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.uxf-alert-bubble {
|
|
2
|
+
--bg-color: unset;
|
|
3
|
+
--icon-color: unset;
|
|
4
|
+
--icon-size: unset;
|
|
5
|
+
--size: unset;
|
|
6
|
+
|
|
7
|
+
align-items: center;
|
|
8
|
+
background-color: var(--bg-color);
|
|
9
|
+
border-radius: 999px;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
height: var(--size);
|
|
13
|
+
justify-content: center;
|
|
14
|
+
width: var(--size);
|
|
15
|
+
|
|
16
|
+
&__icon {
|
|
17
|
+
color: var(--icon-color);
|
|
18
|
+
flex-shrink: 0;
|
|
19
|
+
height: var(--icon-size);
|
|
20
|
+
width: var(--icon-size);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--color-default {
|
|
24
|
+
:root .light & {
|
|
25
|
+
--bg-color: theme("backgroundColor.primary.100");
|
|
26
|
+
--icon-color: theme("colors.primary.600");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:root .dark & {
|
|
30
|
+
--bg-color: theme("backgroundColor.primary.600");
|
|
31
|
+
--icon-color: theme("colors.primary.100");
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&--color-warning {
|
|
36
|
+
:root .light & {
|
|
37
|
+
--bg-color: theme("backgroundColor.warning.100");
|
|
38
|
+
--icon-color: theme("colors.warning.600");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:root .dark & {
|
|
42
|
+
--bg-color: theme("backgroundColor.warning.600");
|
|
43
|
+
--icon-color: theme("colors.warning.100");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&--color-success {
|
|
48
|
+
:root .light & {
|
|
49
|
+
--bg-color: theme("backgroundColor.success.100");
|
|
50
|
+
--icon-color: theme("colors.success.600");
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:root .dark & {
|
|
54
|
+
--bg-color: theme("backgroundColor.success.600");
|
|
55
|
+
--icon-color: theme("colors.success.100");
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--color-error {
|
|
60
|
+
:root .light & {
|
|
61
|
+
--bg-color: theme("backgroundColor.error.100");
|
|
62
|
+
--icon-color: theme("colors.error.600");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:root .dark & {
|
|
66
|
+
--bg-color: theme("backgroundColor.error.600");
|
|
67
|
+
--icon-color: theme("colors.error.100");
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&--size-xs {
|
|
72
|
+
--size: theme("alertBubbleSize.xs");
|
|
73
|
+
--icon-size: 20px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&--size-sm {
|
|
77
|
+
--size: theme("alertBubbleSize.sm");
|
|
78
|
+
--icon-size: 24px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&--size-default {
|
|
82
|
+
--size: theme("alertBubbleSize.default");
|
|
83
|
+
--icon-size: 24px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&--size-lg {
|
|
87
|
+
--size: theme("alertBubbleSize.lg");
|
|
88
|
+
--icon-size: 30px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--size-xl {
|
|
92
|
+
--size: theme("alertBubbleSize.xl");
|
|
93
|
+
--icon-size: 30px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&--size-2xl {
|
|
97
|
+
--size: theme("alertBubbleSize.2xl");
|
|
98
|
+
--icon-size: 40px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -1,82 +1,116 @@
|
|
|
1
1
|
.uxf-avatar-file-input {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: theme("spacing.4");
|
|
5
|
+
|
|
2
6
|
&__input {
|
|
3
|
-
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--variant-default {
|
|
11
|
+
.uxf-avatar-file-input__label {
|
|
12
|
+
border-radius: theme("borderRadius.full");
|
|
13
|
+
}
|
|
4
14
|
}
|
|
5
15
|
|
|
6
16
|
&__label {
|
|
7
|
-
@apply
|
|
8
|
-
|
|
17
|
+
@apply transition-all duration-75;
|
|
18
|
+
|
|
19
|
+
align-items: center;
|
|
20
|
+
border-style: dashed;
|
|
21
|
+
border-width: theme("borderWidth.2");
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
display: flex;
|
|
24
|
+
height: theme("height.20");
|
|
25
|
+
justify-content: center;
|
|
26
|
+
width: theme("width.20");
|
|
9
27
|
|
|
10
28
|
:root .light & {
|
|
11
|
-
|
|
29
|
+
border-color: theme("colors.lightBorder");
|
|
12
30
|
}
|
|
13
31
|
|
|
14
32
|
:root .dark & {
|
|
15
|
-
|
|
33
|
+
border-color: theme("colors.darkBorder");
|
|
16
34
|
}
|
|
17
35
|
|
|
18
|
-
|
|
36
|
+
&-wrapper {
|
|
37
|
+
align-items: center;
|
|
38
|
+
display: flex;
|
|
39
|
+
gap: theme("spacing.4");
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-icon {
|
|
19
43
|
:root .light & {
|
|
20
|
-
|
|
44
|
+
color: theme("colors.lightLow");
|
|
21
45
|
}
|
|
22
46
|
|
|
23
47
|
:root .dark & {
|
|
24
|
-
|
|
48
|
+
color: theme("colors.lightBorder");
|
|
25
49
|
}
|
|
26
50
|
|
|
27
51
|
&.is-invalid {
|
|
28
52
|
:root .light & {
|
|
29
|
-
|
|
53
|
+
color: theme("colors.error.DEFAULT");
|
|
30
54
|
}
|
|
31
55
|
|
|
32
56
|
:root .dark & {
|
|
33
|
-
|
|
57
|
+
color: theme("colors.error.DEFAULT");
|
|
34
58
|
}
|
|
35
59
|
}
|
|
36
60
|
}
|
|
37
61
|
|
|
38
62
|
&:hover {
|
|
39
|
-
|
|
63
|
+
border-width: theme("borderWidth.4");
|
|
40
64
|
}
|
|
41
65
|
|
|
42
66
|
&.is-invalid {
|
|
43
67
|
:root .light & {
|
|
44
|
-
|
|
68
|
+
border-color: theme("colors.error.DEFAULT");
|
|
45
69
|
}
|
|
46
70
|
|
|
47
71
|
:root .dark & {
|
|
48
|
-
|
|
72
|
+
border-color: theme("colors.error.DEFAULT");
|
|
49
73
|
}
|
|
50
74
|
}
|
|
51
75
|
|
|
52
76
|
&.is-disabled {
|
|
53
|
-
|
|
77
|
+
background-color: theme("colors.lightLow/.20");
|
|
78
|
+
cursor: not-allowed;
|
|
54
79
|
|
|
55
80
|
&:hover {
|
|
56
|
-
|
|
81
|
+
border-width: theme("borderWidth.2");
|
|
57
82
|
}
|
|
58
83
|
}
|
|
59
84
|
}
|
|
60
85
|
|
|
61
86
|
&__label-text {
|
|
62
|
-
@apply text-sm
|
|
87
|
+
@apply text-sm shadow-sm;
|
|
88
|
+
|
|
89
|
+
border: theme("borderWidth.DEFAULT") solid theme("colors.gray.300");
|
|
90
|
+
padding: theme("spacing[1.5]") theme("spacing.3");
|
|
91
|
+
text-align: center;
|
|
63
92
|
|
|
64
93
|
:root .light & {
|
|
65
|
-
|
|
94
|
+
color: theme("colors.lightHigh");
|
|
66
95
|
}
|
|
67
96
|
|
|
68
97
|
:root .dark & {
|
|
69
|
-
|
|
98
|
+
color: theme("colors.lightBorder");
|
|
70
99
|
}
|
|
71
100
|
|
|
72
101
|
&.is-invalid {
|
|
73
102
|
:root .light & {
|
|
74
|
-
|
|
103
|
+
color: theme("colors.error.DEFAULT");
|
|
75
104
|
}
|
|
76
105
|
|
|
77
106
|
:root .dark & {
|
|
78
|
-
|
|
107
|
+
color: theme("colors.error.DEFAULT");
|
|
79
108
|
}
|
|
80
109
|
}
|
|
81
110
|
}
|
|
111
|
+
|
|
112
|
+
&__image {
|
|
113
|
+
height: theme("height.20");
|
|
114
|
+
width: theme("width.20");
|
|
115
|
+
}
|
|
82
116
|
}
|
package/css/avatar.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
.uxf-avatar {
|
|
2
|
-
@apply relative inline-flex items-center justify-center
|
|
2
|
+
@apply relative inline-flex h-10 w-10 items-center justify-center rounded-full;
|
|
3
3
|
|
|
4
4
|
&__image {
|
|
5
|
-
@apply absolute left-0 top-0 block h-full w-full
|
|
5
|
+
@apply rounded-inherit absolute left-0 top-0 block h-full w-full object-cover;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
:root .light & {
|
|
9
|
-
@apply
|
|
9
|
+
@apply bg-gray-200 text-gray-700;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
:root .dark & {
|
|
13
|
-
@apply
|
|
13
|
+
@apply bg-gray-800 text-gray-200;
|
|
14
14
|
}
|
|
15
15
|
}
|
package/css/badge.css
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
@apply inline-flex items-center justify-center font-bold;
|
|
3
3
|
|
|
4
4
|
&--size-small {
|
|
5
|
-
@apply h-6 min-w-[24px]
|
|
5
|
+
@apply h-6 min-w-[24px] rounded-[12px] px-1.5 text-sm;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&--size-medium {
|
|
9
|
-
@apply h-8 min-w-[32px]
|
|
9
|
+
@apply h-8 min-w-[32px] rounded-[16px] px-2 text-base;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&--size-large {
|
|
13
|
-
@apply h-10 min-w-[40px]
|
|
13
|
+
@apply h-10 min-w-[40px] rounded-[20px] px-2 text-lg;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
:root .light & {
|
|
17
|
-
@apply text-white
|
|
17
|
+
@apply bg-primary text-white;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:root .dark & {
|
|
21
|
-
@apply text-gray-900
|
|
21
|
+
@apply bg-white text-gray-900;
|
|
22
22
|
}
|
|
23
23
|
}
|
package/css/button-group.css
CHANGED
package/css/button-list.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&__menu-items {
|
|
9
|
-
@apply absolute right-0 mt-2 w-40 divide-y rounded-md shadow-lg ring-1 focus:outline-none
|
|
9
|
+
@apply z-dropdown absolute right-0 mt-2 w-40 divide-y rounded-md shadow-lg ring-1 focus:outline-none;
|
|
10
10
|
|
|
11
11
|
:root .light & {
|
|
12
12
|
@apply divide-gray-100 bg-white ring-black/5;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&__menu-button {
|
|
29
|
-
@apply flex px-3 py-2
|
|
29
|
+
@apply is-hoverable:hover:cursor-pointer flex space-x-3 px-3 py-2 text-sm;
|
|
30
30
|
|
|
31
31
|
:root .light & {
|
|
32
32
|
@apply text-black hover:text-gray-800;
|