@povio/ui 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/{rolldown_runtime.js → _virtual/rolldown:runtime.js} +17 -2
- package/dist/{HighlightOn.js → assets/icons/HighlightOn.js} +1 -1
- package/dist/{TextColor.js → assets/icons/TextColor.js} +1 -1
- package/dist/{Breadcrumbs.js → components/Breadcrumbs/Breadcrumbs.js} +11 -12
- package/dist/components/Menu/Menu.d.ts +0 -1
- package/dist/{Menu2.js → components/Menu/Menu.js} +1 -1
- package/dist/components/Menu/MenuDesktop.d.ts +1 -1
- package/dist/components/Menu/MenuDesktop.js +12 -0
- package/dist/{MenuItem.js → components/Menu/MenuItem.js} +4 -4
- package/dist/{MenuMobile.js → components/Menu/MenuMobile.js} +6 -7
- package/dist/{MenuPopover.js → components/Menu/MenuPopover.js} +10 -9
- package/dist/components/buttons/Button/Button.d.ts +3 -3
- package/dist/components/buttons/Button/Button.js +64 -0
- package/dist/{button.cva.js → components/buttons/Button/button.cva.js} +3 -12
- package/dist/components/buttons/IconButton/IconButton.d.ts +1 -1
- package/dist/components/buttons/IconButton/IconButton.js +17 -0
- package/dist/{InlineIconButton.js → components/buttons/InlineIconButton/InlineIconButton.js} +2 -2
- package/dist/components/buttons/PillButton/PillButton.d.ts +3 -2
- package/dist/components/buttons/PillButton/PillButton.js +32 -0
- package/dist/{pillButton.cva.js → components/buttons/PillButton/pillButton.cva.js} +4 -4
- package/dist/{SplitButton.js → components/buttons/SplitButton/SplitButton.js} +5 -5
- package/dist/components/buttons/TextButton/TextButton.d.ts +0 -1
- package/dist/{TextButton.js → components/buttons/TextButton/TextButton.js} +2 -3
- package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -1
- package/dist/{ToggleButton.js → components/buttons/ToggleButton/ToggleButton.js} +2 -3
- package/dist/components/buttons/shared/ButtonContent.d.ts +3 -5
- package/dist/components/buttons/shared/ButtonContent.js +35 -0
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +4 -0
- package/dist/components/buttons/shared/buttonContent.cva.js +36 -0
- package/dist/{Checkbox.js → components/inputs/Checkbox/Checkbox.js} +8 -8
- package/dist/{CheckboxCheckmark2.js → components/inputs/Checkbox/CheckboxCheckmark.js} +6 -7
- package/dist/{checkbox.cva.js → components/inputs/Checkbox/checkbox.cva.js} +2 -2
- package/dist/{DatePicker.js → components/inputs/DateTime/DatePicker/DatePicker.js} +13 -17
- package/dist/{DateRangePicker.js → components/inputs/DateTime/DateRangePicker/DateRangePicker.js} +16 -23
- package/dist/{DateTimePicker.js → components/inputs/DateTime/DateTimePicker/DateTimePicker.js} +12 -14
- package/dist/{TimePicker.js → components/inputs/DateTime/TimePicker/TimePicker.js} +10 -10
- package/dist/{Calendar2.js → components/inputs/DateTime/shared/Calendar.js} +1 -1
- package/dist/{CalendarCell.js → components/inputs/DateTime/shared/CalendarCell.js} +2 -2
- package/dist/{CalendarGrid.js → components/inputs/DateTime/shared/CalendarGrid.js} +2 -2
- package/dist/{CalendarHeader.js → components/inputs/DateTime/shared/CalendarHeader.js} +5 -5
- package/dist/{CalendarSelectHeader.js → components/inputs/DateTime/shared/CalendarSelectHeader.js} +9 -9
- package/dist/{DateField.js → components/inputs/DateTime/shared/DateField.js} +1 -1
- package/dist/{DatePickerInput.js → components/inputs/DateTime/shared/DatePickerInput.js} +73 -88
- package/dist/{DateTimeDialog.js → components/inputs/DateTime/shared/DateTimeDialog.js} +4 -4
- package/dist/{DateTimeDialogFooter.js → components/inputs/DateTime/shared/DateTimeDialogFooter.js} +2 -2
- package/dist/{MonthPicker.js → components/inputs/DateTime/shared/MonthPicker.js} +1 -1
- package/dist/{TimePickerForm.js → components/inputs/DateTime/shared/TimePickerForm.js} +6 -6
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +88 -0
- package/dist/{YearPicker.js → components/inputs/DateTime/shared/YearPicker.js} +2 -2
- package/dist/{FileUpload.js → components/inputs/File/FileUpload.js} +10 -10
- package/dist/{InputUpload.js → components/inputs/File/InputUpload.js} +7 -7
- package/dist/{FileUploadContent.js → components/inputs/File/shared/FileUploadContent.js} +1 -1
- package/dist/{FileUploadContentEmpty.js → components/inputs/File/shared/FileUploadContentEmpty.js} +4 -4
- package/dist/{FileUploadContentError.js → components/inputs/File/shared/FileUploadContentError.js} +7 -7
- package/dist/{FileUploadContentFilled.js → components/inputs/File/shared/FileUploadContentFilled.js} +8 -8
- package/dist/{FileUploadContentLoading.js → components/inputs/File/shared/FileUploadContentLoading.js} +7 -7
- package/dist/{InputUploadContent.js → components/inputs/File/shared/InputUploadContent.js} +9 -9
- package/dist/{InputUploadFilled.js → components/inputs/File/shared/InputUploadFilled.js} +6 -6
- package/dist/{ProgressBar.js → components/inputs/File/shared/ProgressBar.js} +1 -1
- package/dist/{fileUpload.cva.js → components/inputs/File/shared/fileUpload.cva.js} +1 -1
- package/dist/{inputUploadButton.cva.js → components/inputs/File/shared/inputUploadButton.cva.js} +1 -1
- package/dist/{FormField.js → components/inputs/FormField/FormField.js} +1 -1
- package/dist/components/inputs/FormField/FormFieldError.js +11 -0
- package/dist/{FormFieldHeader.js → components/inputs/FormField/FormFieldHeader.js} +3 -3
- package/dist/{FormFieldHeaderClose.js → components/inputs/FormField/FormFieldHeaderClose.js} +2 -2
- package/dist/components/inputs/FormField/FormFieldLabel.d.ts +2 -1
- package/dist/components/inputs/FormField/FormFieldLabel.js +25 -0
- package/dist/{NumberInput.js → components/inputs/Input/NumberInput/NumberInput.js} +35 -32
- package/dist/{PasswordInput.js → components/inputs/Input/PasswordInput/PasswordInput.js} +4 -4
- package/dist/{TextArea.js → components/inputs/Input/TextArea/TextArea.js} +23 -15
- package/dist/{TextInput.js → components/inputs/Input/TextInput/TextInput.js} +36 -33
- package/dist/components/inputs/Input/shared/InputContent.d.ts +2 -2
- package/dist/components/inputs/Input/shared/InputContent.js +74 -0
- package/dist/{Form.js → components/inputs/Inputs/Form.js} +4 -4
- package/dist/{InputItem.js → components/inputs/Inputs/InputItem.js} +15 -15
- package/dist/{RadioGroup.js → components/inputs/RadioGroup/RadioGroup.js} +8 -9
- package/dist/{radio.cva.js → components/inputs/RadioGroup/radio.cva.js} +2 -2
- package/dist/{Autocomplete.js → components/inputs/Selection/Autocomplete/Autocomplete.js} +2 -2
- package/dist/{QueryAutocomplete.js → components/inputs/Selection/Autocomplete/QueryAutocomplete.js} +1 -1
- package/dist/{Select.js → components/inputs/Selection/Select/Select.js} +2 -2
- package/dist/{SelectBase.js → components/inputs/Selection/shared/SelectBase.js} +2 -2
- package/dist/{SelectDesktop.js → components/inputs/Selection/shared/SelectDesktop.js} +21 -9
- package/dist/{SelectInput.js → components/inputs/Selection/shared/SelectInput.js} +31 -48
- package/dist/{SelectInputTags.js → components/inputs/Selection/shared/SelectInputTags.js} +1 -1
- package/dist/{SelectListBox.js → components/inputs/Selection/shared/SelectListBox.js} +1 -1
- package/dist/{SelectListBoxItem.js → components/inputs/Selection/shared/SelectListBoxItem.js} +2 -2
- package/dist/{SelectListBoxItemSelectAll.js → components/inputs/Selection/shared/SelectListBoxItemSelectAll.js} +2 -2
- package/dist/{SelectListBoxLoadingItem.js → components/inputs/Selection/shared/SelectListBoxLoadingItem.js} +3 -3
- package/dist/{SelectListBoxSelectionBar.js → components/inputs/Selection/shared/SelectListBoxSelectionBar.js} +2 -2
- package/dist/{SelectMobile.js → components/inputs/Selection/shared/SelectMobile.js} +6 -6
- package/dist/{select.context.js → components/inputs/Selection/shared/select.context.js} +2 -2
- package/dist/{Slider.js → components/inputs/Slider/Slider.js} +6 -6
- package/dist/{TextEditor.js → components/inputs/TextEditor/TextEditor.js} +14 -7
- package/dist/{ColorPickerDropdown.js → components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js} +3 -3
- package/dist/{HyperlinkAction.js → components/inputs/TextEditor/Toolbar/HyperlinkAction.js} +6 -6
- package/dist/{TextAlignSelect.js → components/inputs/TextEditor/Toolbar/TextAlignSelect.js} +6 -6
- package/dist/{TextColorSelect.js → components/inputs/TextEditor/Toolbar/TextColorSelect.js} +2 -2
- package/dist/{TextHighlightSelect.js → components/inputs/TextEditor/Toolbar/TextHighlightSelect.js} +3 -3
- package/dist/{TextListActions.js → components/inputs/TextEditor/Toolbar/TextListActions.js} +4 -4
- package/dist/{TextMarksActions.js → components/inputs/TextEditor/Toolbar/TextMarksActions.js} +6 -6
- package/dist/{TextStyleSelect.js → components/inputs/TextEditor/Toolbar/TextStyleSelect.js} +3 -3
- package/dist/{Toggle.js → components/inputs/Toggle/Toggle.js} +8 -9
- package/dist/{toggle.cva.js → components/inputs/Toggle/toggle.cva.js} +2 -2
- package/dist/{CheckContent.js → components/inputs/shared/CheckContent.js} +4 -4
- package/dist/components/inputs/shared/InputClear.d.ts +2 -1
- package/dist/components/inputs/shared/InputClear.js +19 -0
- package/dist/{TooltipWrapper.js → components/inputs/shared/TooltipWrapper.js} +1 -1
- package/dist/components/inputs/shared/input.cva.d.ts +4 -4
- package/dist/{input.cva.js → components/inputs/shared/input.cva.js} +38 -29
- package/dist/components/inputs/shared/label.cva.d.ts +2 -2
- package/dist/components/inputs/shared/label.cva.js +64 -0
- package/dist/{Accordion.js → components/navigation/Accordion/Accordion.js} +2 -2
- package/dist/{AccordionItem.js → components/navigation/Accordion/AccordionItem.js} +12 -13
- package/dist/{Stepper.js → components/navigation/Stepper/Stepper.js} +2 -2
- package/dist/{StepperItem.js → components/navigation/Stepper/StepperItem.js} +8 -9
- package/dist/{StepperSeparator.js → components/navigation/Stepper/StepperSeparator.js} +2 -2
- package/dist/{outline.clsx.js → components/outline.clsx.js} +1 -1
- package/dist/components/overlays/ActionModal/ActionModal.d.ts +6 -1
- package/dist/{ActionModal.js → components/overlays/ActionModal/ActionModal.js} +10 -9
- package/dist/{BottomSheet.js → components/overlays/BottomSheet/BottomSheet.js} +7 -7
- package/dist/{Drawer.js → components/overlays/Drawer/Drawer.js} +1 -1
- package/dist/components/overlays/Modal/Modal.d.ts +2 -1
- package/dist/{Modal.js → components/overlays/Modal/Modal.js} +9 -9
- package/dist/{ResponsivePopover.js → components/overlays/ResponsivePopover/ResponsivePopover.js} +4 -4
- package/dist/{Tooltip.js → components/overlays/Tooltip/Tooltip.js} +11 -11
- package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +3 -2
- package/dist/{TooltipEllipsis.js → components/overlays/Tooltip/TooltipEllipsis.js} +2 -1
- package/dist/{Segment.js → components/segment/Segment.js} +5 -6
- package/dist/{SegmentItem.js → components/segment/SegmentItem.js} +4 -4
- package/dist/{Pagination.js → components/shared/pagination/Pagination.js} +3 -3
- package/dist/{PaginationList.js → components/shared/pagination/PaginationList.js} +6 -6
- package/dist/{Alert.js → components/status/Alert/Alert.js} +7 -8
- package/dist/{Loader.js → components/status/Loader/Loader.js} +1 -1
- package/dist/{Toast.js → components/status/Toast/Toast.js} +10 -11
- package/dist/{toast.cva.js → components/status/Toast/toast.cva.js} +1 -1
- package/dist/{CellText.js → components/table/CellText.js} +1 -1
- package/dist/{ColumnConfig.js → components/table/ColumnConfig.js} +5 -5
- package/dist/{HeaderText.js → components/table/HeaderText.js} +1 -1
- package/dist/{InfiniteTable.js → components/table/InfiniteTable.js} +3 -3
- package/dist/{PaginatedTable.js → components/table/PaginatedTable.js} +2 -2
- package/dist/{Table.js → components/table/Table.js} +25 -20
- package/dist/{table.cva.js → components/table/table.cva.js} +1 -1
- package/dist/{Link2.js → components/text/Link/Link.js} +4 -4
- package/dist/{link.cva.js → components/text/Link/link.cva.js} +1 -1
- package/dist/components/text/Tag/Tag.d.ts +3 -1
- package/dist/components/text/Tag/Tag.js +38 -0
- package/dist/{tag.cva.js → components/text/Tag/tag.cva.js} +1 -1
- package/dist/components/text/Typography/Typography.d.ts +1 -1
- package/dist/{Typography.js → components/text/Typography/Typography.js} +3 -3
- package/dist/{confirmation.context.js → config/confirmation.context.js} +1 -1
- package/dist/config/i18n.js +8 -0
- package/dist/{theme.context.js → config/theme.context.js} +1 -1
- package/dist/config/uiConfig.context.d.ts +4 -0
- package/dist/{uiConfig.context.js → config/uiConfig.context.js} +13 -2
- package/dist/config/uiStyle.context.d.ts +7 -3
- package/dist/config/uiStyle.context.js +28 -0
- package/dist/{dynamicColumns.js → helpers/dynamicColumns.js} +3 -3
- package/dist/{dynamicInputs.js → helpers/dynamicInputs.js} +2 -2
- package/dist/{useAutosave.js → hooks/useAutosave.js} +2 -2
- package/dist/{useDeepCompare.js → hooks/useDeepCompare.js} +1 -1
- package/dist/{useFilters.js → hooks/useFilters.js} +1 -1
- package/dist/{useForm.js → hooks/useForm.js} +1 -1
- package/dist/{useFormAutosave.js → hooks/useFormAutosave.js} +2 -2
- package/dist/{usePagination.js → hooks/usePagination.js} +1 -1
- package/dist/{useSorting.js → hooks/useSorting.js} +1 -1
- package/dist/{useStateAndRef.js → hooks/useStateAndRef.js} +1 -1
- package/dist/{useTableNav.js → hooks/useTableNav.js} +1 -1
- package/dist/index.js +137 -137
- package/dist/node_modules/.pnpm/motion@12.23.28_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/motion/dist/es/react.js +10 -0
- package/dist/text-editor.js +1 -1
- package/dist/tw-ui-plugin.d.ts +3 -0
- package/dist/utils/compoundMapper.d.ts +1 -1
- package/package.json +25 -26
- package/dist/Button.js +0 -54
- package/dist/ButtonContent.js +0 -28
- package/dist/FormFieldError.js +0 -11
- package/dist/FormFieldLabel.js +0 -32
- package/dist/IconButton.js +0 -12
- package/dist/InputClear.js +0 -19
- package/dist/InputContent.js +0 -94
- package/dist/MenuDesktop.js +0 -54
- package/dist/PillButton.js +0 -37
- package/dist/Tag.js +0 -42
- package/dist/TimePickerInput.js +0 -105
- package/dist/buttonContent.cva.js +0 -10
- package/dist/i18n.js +0 -8
- package/dist/label.cva.js +0 -92
- package/dist/react.js +0 -6
- package/dist/uiStyle.context.js +0 -16
- /package/dist/{AlignCenter.js → assets/icons/AlignCenter.js} +0 -0
- /package/dist/{AlignLeft.js → assets/icons/AlignLeft.js} +0 -0
- /package/dist/{AlignLeftRight.js → assets/icons/AlignLeftRight.js} +0 -0
- /package/dist/{AlignRight.js → assets/icons/AlignRight.js} +0 -0
- /package/dist/{ArrowDropDown.js → assets/icons/ArrowDropDown.js} +0 -0
- /package/dist/{ArrowDropUp.js → assets/icons/ArrowDropUp.js} +0 -0
- /package/dist/{ArrowLeft.js → assets/icons/ArrowLeft.js} +0 -0
- /package/dist/{ArrowRight.js → assets/icons/ArrowRight.js} +0 -0
- /package/dist/{Bold.js → assets/icons/Bold.js} +0 -0
- /package/dist/{BulletedList.js → assets/icons/BulletedList.js} +0 -0
- /package/dist/{Calendar.js → assets/icons/Calendar.js} +0 -0
- /package/dist/{Check.js → assets/icons/Check.js} +0 -0
- /package/dist/{CheckCircle.js → assets/icons/CheckCircle.js} +0 -0
- /package/dist/{CheckboxCheckmark.js → assets/icons/CheckboxCheckmark.js} +0 -0
- /package/dist/{CheckboxIndeterminate.js → assets/icons/CheckboxIndeterminate.js} +0 -0
- /package/dist/{ChevronDown.js → assets/icons/ChevronDown.js} +0 -0
- /package/dist/{ChevronLeft.js → assets/icons/ChevronLeft.js} +0 -0
- /package/dist/{ChevronRight.js → assets/icons/ChevronRight.js} +0 -0
- /package/dist/{ChevronUp.js → assets/icons/ChevronUp.js} +0 -0
- /package/dist/{ChevronsLeft.js → assets/icons/ChevronsLeft.js} +0 -0
- /package/dist/{ChevronsRight.js → assets/icons/ChevronsRight.js} +0 -0
- /package/dist/{Clock.js → assets/icons/Clock.js} +0 -0
- /package/dist/{Close.js → assets/icons/Close.js} +0 -0
- /package/dist/{DateTime.js → assets/icons/DateTime.js} +0 -0
- /package/dist/{DragIndicator.js → assets/icons/DragIndicator.js} +0 -0
- /package/dist/{File.js → assets/icons/File.js} +0 -0
- /package/dist/{Highlight.js → assets/icons/Highlight.js} +0 -0
- /package/dist/{Home.js → assets/icons/Home.js} +0 -0
- /package/dist/{Info.js → assets/icons/Info.js} +0 -0
- /package/dist/{Italic.js → assets/icons/Italic.js} +0 -0
- /package/dist/{Link.js → assets/icons/Link.js} +0 -0
- /package/dist/{Menu.js → assets/icons/Menu.js} +0 -0
- /package/dist/{NumberedList.js → assets/icons/NumberedList.js} +0 -0
- /package/dist/{PointerHorizontal.js → assets/icons/PointerHorizontal.js} +0 -0
- /package/dist/{PointerVertical.js → assets/icons/PointerVertical.js} +0 -0
- /package/dist/{Send.js → assets/icons/Send.js} +0 -0
- /package/dist/{Strikethrough.js → assets/icons/Strikethrough.js} +0 -0
- /package/dist/{Today.js → assets/icons/Today.js} +0 -0
- /package/dist/{Underlined.js → assets/icons/Underlined.js} +0 -0
- /package/dist/{Upload.js → assets/icons/Upload.js} +0 -0
- /package/dist/{Visibility.js → assets/icons/Visibility.js} +0 -0
- /package/dist/{VisibilityOff.js → assets/icons/VisibilityOff.js} +0 -0
- /package/dist/{WarningFilled.js → assets/icons/WarningFilled.js} +0 -0
- /package/dist/{translation.js → assets/locales/en/translation.json.js} +0 -0
- /package/dist/{translation2.js → assets/locales/sl/translation.json.js} +0 -0
- /package/dist/{breadcrumbs.cva.js → components/Breadcrumbs/breadcrumbs.cva.js} +0 -0
- /package/dist/{menu.cva.js → components/Menu/menu.cva.js} +0 -0
- /package/dist/{DateSegmentItem.js → components/inputs/DateTime/shared/DateSegmentItem.js} +0 -0
- /package/dist/{RangeCalendar.js → components/inputs/DateTime/shared/RangeCalendar.js} +0 -0
- /package/dist/{TimeField.js → components/inputs/DateTime/shared/TimeField.js} +0 -0
- /package/dist/{FileUploadContainer.js → components/inputs/File/FileUploadContainer.js} +0 -0
- /package/dist/{FileCard.js → components/inputs/File/shared/FileCard.js} +0 -0
- /package/dist/{FileCardList.js → components/inputs/File/shared/FileCardList.js} +0 -0
- /package/dist/{Inputs.js → components/inputs/Inputs/Inputs.js} +0 -0
- /package/dist/{useSelectItems.js → components/inputs/Selection/shared/useSelectItems.js} +0 -0
- /package/dist/{ColorPicker.js → components/inputs/TextEditor/Toolbar/ColorPicker.js} +0 -0
- /package/dist/{TextEditorToolbar.js → components/inputs/TextEditor/Toolbar/TextEditorToolbar.js} +0 -0
- /package/dist/{textEditor.types.js → components/inputs/TextEditor/textEditor.types.js} +0 -0
- /package/dist/{accordion.cva.js → components/navigation/Accordion/accordion.cva.js} +0 -0
- /package/dist/{stepper.cva.js → components/navigation/Stepper/stepper.cva.js} +0 -0
- /package/dist/{modal.cva.js → components/overlays/Modal/modal.cva.js} +0 -0
- /package/dist/{tooltip.cva.js → components/overlays/Tooltip/tooltip.cva.js} +0 -0
- /package/dist/{segment.cva.js → components/segment/segment.cva.js} +0 -0
- /package/dist/{minWidth.cva.js → components/shared/pagination/minWidth.cva.js} +0 -0
- /package/dist/{alert.cva.js → components/status/Alert/alert.cva.js} +0 -0
- /package/dist/{loader.cva.js → components/status/Loader/loader.cva.js} +0 -0
- /package/dist/{useToast.js → components/status/Toast/useToast.js} +0 -0
- /package/dist/{status.cva.js → components/status/shared/status.cva.js} +0 -0
- /package/dist/{typography.cva.js → components/text/Typography/typography.cva.js} +0 -0
- /package/dist/{link.context.js → config/link.context.js} +0 -0
- /package/dist/{router.context.js → config/router.context.js} +0 -0
- /package/dist/{useBreakpoint.js → hooks/useBreakpoint.js} +0 -0
- /package/dist/{useDebounceCallback.js → hooks/useDebounceCallback.js} +0 -0
- /package/dist/{useIntersectionObserver.js → hooks/useIntersectionObserver.js} +0 -0
- /package/dist/{useLocalStorage.js → hooks/useLocalStorage.js} +0 -0
- /package/dist/{useLongPressRepeat.js → hooks/useLongPressRepeat.js} +0 -0
- /package/dist/{useScrollableListBox.js → hooks/useScrollableListBox.js} +0 -0
- /package/dist/{useTableColumnConfig.js → hooks/useTableColumnConfig.js} +0 -0
- /package/dist/{useTranslationMemo.js → hooks/useTranslationMemo.js} +0 -0
- /package/dist/{array.utils.js → utils/array.utils.js} +0 -0
- /package/dist/{compoundMapper.js → utils/compoundMapper.js} +0 -0
- /package/dist/{date-time.utils.js → utils/date-time.utils.js} +0 -0
- /package/dist/{date.utils.js → utils/date.utils.js} +0 -0
- /package/dist/{dom.utils.js → utils/dom.utils.js} +0 -0
- /package/dist/{file.utils.js → utils/file.utils.js} +0 -0
- /package/dist/{isEqual.js → utils/isEqual.js} +0 -0
- /package/dist/{logger.js → utils/logger.js} +0 -0
- /package/dist/{object.utils.js → utils/object.utils.js} +0 -0
- /package/dist/{queries.utils.js → utils/queries.utils.js} +0 -0
- /package/dist/{rest.utils.js → utils/rest.utils.js} +0 -0
- /package/dist/{routing.utils.js → utils/routing.utils.js} +0 -0
- /package/dist/{string.utils.js → utils/string.utils.js} +0 -0
- /package/dist/{zod.utils.js → utils/zod.utils.js} +0 -0
package/dist/InputContent.js
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { UIStyle } from "./uiStyle.context.js";
|
|
2
|
-
import { Typography } from "./Typography.js";
|
|
3
|
-
import { Loader } from "./Loader.js";
|
|
4
|
-
import { InlineIconButton } from "./InlineIconButton.js";
|
|
5
|
-
import { inputSide } from "./input.cva.js";
|
|
6
|
-
import { FormFieldLabel } from "./FormFieldLabel.js";
|
|
7
|
-
import { InputClear } from "./InputClear.js";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { clsx } from "clsx";
|
|
10
|
-
import { isValidElement, useMemo } from "react";
|
|
11
|
-
import useMeasure from "react-use-measure";
|
|
12
|
-
const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, unit, isLoading, isDisabled, action, isClearable, value, onChange, onBlur, children, headerProps, as, size }) => {
|
|
13
|
-
const inputSideCva = UIStyle.useConfig()?.input?.sideCva ?? inputSide;
|
|
14
|
-
const [leadingContentRef, { width: leadingWidth }] = useMeasure();
|
|
15
|
-
const [trailingContentRef, { width: trailingWidth }] = useMeasure();
|
|
16
|
-
const [labelContentRef, { width: labelWidth }] = useMeasure();
|
|
17
|
-
const isLeadingIconElement = LeadingIcon && isValidElement(LeadingIcon);
|
|
18
|
-
const isTrailingIconElement = TrailingIcon && isValidElement(TrailingIcon);
|
|
19
|
-
const showClear = isClearable && value != null && value !== "";
|
|
20
|
-
const style = useMemo(() => {
|
|
21
|
-
const leftPadding = as === "filter" ? labelWidth + leadingWidth : leadingWidth;
|
|
22
|
-
return {
|
|
23
|
-
paddingLeft: `calc(var(${inputSideCva({
|
|
24
|
-
size,
|
|
25
|
-
type: "var"
|
|
26
|
-
})}) + ${leftPadding}px + ${leftPadding > 0 ? "var(--spacing-2)" : "0px"})`,
|
|
27
|
-
paddingRight: `calc(var(${inputSideCva({
|
|
28
|
-
size,
|
|
29
|
-
type: "var"
|
|
30
|
-
})}) + ${trailingWidth}px + ${trailingWidth > 0 ? "var(--spacing-2)" : "0px"})`
|
|
31
|
-
};
|
|
32
|
-
}, [
|
|
33
|
-
leadingWidth,
|
|
34
|
-
trailingWidth,
|
|
35
|
-
labelWidth,
|
|
36
|
-
as,
|
|
37
|
-
size,
|
|
38
|
-
inputSideCva
|
|
39
|
-
]);
|
|
40
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
41
|
-
className: clsx("group/input-content relative", as === "inline" && "h-full"),
|
|
42
|
-
children: [
|
|
43
|
-
as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
44
|
-
ref: labelContentRef,
|
|
45
|
-
as,
|
|
46
|
-
...headerProps
|
|
47
|
-
}),
|
|
48
|
-
children(style),
|
|
49
|
-
LeadingIcon && /* @__PURE__ */ jsx("div", {
|
|
50
|
-
ref: leadingContentRef,
|
|
51
|
-
className: clsx("absolute top-1/2 -translate-y-1/2", !isLeadingIconElement && "pointer-events-none", inputSideCva({
|
|
52
|
-
size,
|
|
53
|
-
type: "left"
|
|
54
|
-
})),
|
|
55
|
-
children: isLeadingIconElement ? LeadingIcon : /* @__PURE__ */ jsx(LeadingIcon, { className: "size-6 text-interactive-text-secondary-idle" })
|
|
56
|
-
}),
|
|
57
|
-
/* @__PURE__ */ jsxs("div", {
|
|
58
|
-
ref: trailingContentRef,
|
|
59
|
-
className: clsx("absolute top-1/2 flex -translate-y-1/2 items-center gap-2", !isTrailingIconElement && !action && !showClear && "pointer-events-none", inputSideCva({
|
|
60
|
-
size,
|
|
61
|
-
type: "right"
|
|
62
|
-
})),
|
|
63
|
-
children: [
|
|
64
|
-
showClear && !isDisabled && /* @__PURE__ */ jsx(InputClear, { onClear: () => {
|
|
65
|
-
onChange?.("");
|
|
66
|
-
onBlur?.({ target: { value: "" } });
|
|
67
|
-
} }),
|
|
68
|
-
unit && /* @__PURE__ */ jsx(Typography, {
|
|
69
|
-
as: "span",
|
|
70
|
-
size: "label-2",
|
|
71
|
-
variant: "prominent-1",
|
|
72
|
-
className: "text-text-default-3",
|
|
73
|
-
children: unit
|
|
74
|
-
}),
|
|
75
|
-
isLoading && /* @__PURE__ */ jsx("div", {
|
|
76
|
-
className: "inline-flex",
|
|
77
|
-
children: /* @__PURE__ */ jsx(Loader, {})
|
|
78
|
-
}),
|
|
79
|
-
!isLoading && action && /* @__PURE__ */ jsx(InlineIconButton, {
|
|
80
|
-
color: "secondary",
|
|
81
|
-
icon: action.icon,
|
|
82
|
-
isDisabled,
|
|
83
|
-
onPress: action.onClick,
|
|
84
|
-
excludeFromTabOrder: true,
|
|
85
|
-
label: action.altText,
|
|
86
|
-
className: action.className
|
|
87
|
-
}),
|
|
88
|
-
!isLoading && !action && TrailingIcon && (isTrailingIconElement ? TrailingIcon : /* @__PURE__ */ jsx(TrailingIcon, { className: "size-6 text-interactive-text-secondary-idle" }))
|
|
89
|
-
]
|
|
90
|
-
})
|
|
91
|
-
]
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
export { InputContent };
|
package/dist/MenuDesktop.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { MenuPopover } from "./MenuPopover.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React, { useRef, useState } from "react";
|
|
4
|
-
import { MenuTrigger } from "react-aria-components";
|
|
5
|
-
import { useHover } from "react-aria";
|
|
6
|
-
var CLOSE_DELAY = 100;
|
|
7
|
-
const MenuDesktop = ({ trigger, items, closeDelay = CLOSE_DELAY, triggerOnHover = false, onAction,...props }) => {
|
|
8
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
9
|
-
const timeoutRef = useRef(null);
|
|
10
|
-
const isHoveringTrigger = useRef(false);
|
|
11
|
-
const openMenu = () => {
|
|
12
|
-
if (timeoutRef.current) {
|
|
13
|
-
clearTimeout(timeoutRef.current);
|
|
14
|
-
timeoutRef.current = null;
|
|
15
|
-
}
|
|
16
|
-
setIsOpen(true);
|
|
17
|
-
};
|
|
18
|
-
const closeMenu = () => {
|
|
19
|
-
if (isHoveringTrigger.current) return;
|
|
20
|
-
timeoutRef.current = setTimeout(() => {
|
|
21
|
-
setIsOpen(false);
|
|
22
|
-
timeoutRef.current = null;
|
|
23
|
-
}, closeDelay);
|
|
24
|
-
};
|
|
25
|
-
const { hoverProps } = useHover({
|
|
26
|
-
isDisabled: !triggerOnHover,
|
|
27
|
-
onHoverChange: (isHovering) => {
|
|
28
|
-
if (isHovering) {
|
|
29
|
-
isHoveringTrigger.current = true;
|
|
30
|
-
openMenu();
|
|
31
|
-
} else {
|
|
32
|
-
isHoveringTrigger.current = false;
|
|
33
|
-
closeMenu();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
let triggerComponent = trigger;
|
|
38
|
-
if (triggerOnHover) triggerComponent = React.cloneElement(trigger, hoverProps);
|
|
39
|
-
return /* @__PURE__ */ jsxs(MenuTrigger, {
|
|
40
|
-
isOpen: triggerOnHover ? isOpen : void 0,
|
|
41
|
-
onOpenChange: setIsOpen,
|
|
42
|
-
children: [triggerComponent, /* @__PURE__ */ jsx(MenuPopover, {
|
|
43
|
-
...props,
|
|
44
|
-
offset: 0,
|
|
45
|
-
items,
|
|
46
|
-
onAction,
|
|
47
|
-
isOpen: triggerOnHover ? isOpen : void 0,
|
|
48
|
-
isNonModal: triggerOnHover,
|
|
49
|
-
onMouseEnter: triggerOnHover ? openMenu : void 0,
|
|
50
|
-
onMouseLeave: triggerOnHover ? closeMenu : void 0
|
|
51
|
-
})]
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
export { MenuDesktop };
|
package/dist/PillButton.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CloseIcon } from "./Close.js";
|
|
2
|
-
import { UIStyle } from "./uiStyle.context.js";
|
|
3
|
-
import { ButtonContent } from "./ButtonContent.js";
|
|
4
|
-
import { TooltipEllipsis } from "./TooltipEllipsis.js";
|
|
5
|
-
import { pillButton, pillButtonContent, pillButtonIconSize, pillButtonTypography } from "./pillButton.cva.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { Button, ToggleButton } from "react-aria-components";
|
|
8
|
-
const PillButton = ({ children, dismissable, toggle, icon, iconPosition,...props }) => {
|
|
9
|
-
const uiStyle = UIStyle.useConfig();
|
|
10
|
-
const pillButtonCva = uiStyle?.pillButton?.cva ?? pillButton;
|
|
11
|
-
const pillButtonTypographyMap = uiStyle?.pillButton?.typography ?? pillButtonTypography;
|
|
12
|
-
const Component = toggle ? ToggleButton : Button;
|
|
13
|
-
const getIconPosition = () => {
|
|
14
|
-
if (dismissable) return "right";
|
|
15
|
-
return icon ? iconPosition : "none";
|
|
16
|
-
};
|
|
17
|
-
return /* @__PURE__ */ jsx(TooltipEllipsis, {
|
|
18
|
-
text: children,
|
|
19
|
-
children: (onContentRef) => /* @__PURE__ */ jsx(Component, {
|
|
20
|
-
...props,
|
|
21
|
-
className: pillButtonCva({
|
|
22
|
-
...props,
|
|
23
|
-
className: props.className
|
|
24
|
-
}),
|
|
25
|
-
children: /* @__PURE__ */ jsx(ButtonContent, {
|
|
26
|
-
text: children,
|
|
27
|
-
ref: onContentRef,
|
|
28
|
-
icon: dismissable ? CloseIcon : icon,
|
|
29
|
-
iconPosition: dismissable ? "right" : iconPosition,
|
|
30
|
-
className: pillButtonContent({ iconPosition: getIconPosition() }),
|
|
31
|
-
iconClassName: pillButtonIconSize,
|
|
32
|
-
typography: pillButtonTypographyMap({ ...props })
|
|
33
|
-
})
|
|
34
|
-
})
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
export { PillButton };
|
package/dist/Tag.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { CloseIcon } from "./Close.js";
|
|
2
|
-
import { UIStyle } from "./uiStyle.context.js";
|
|
3
|
-
import { Typography } from "./Typography.js";
|
|
4
|
-
import { TooltipEllipsis } from "./TooltipEllipsis.js";
|
|
5
|
-
import { ns } from "./i18n.js";
|
|
6
|
-
import { tag } from "./tag.cva.js";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { clsx } from "clsx";
|
|
9
|
-
import { Button } from "react-aria-components";
|
|
10
|
-
import { useTranslation } from "react-i18next";
|
|
11
|
-
const Tag = ({ className, children, dismissable, isDisabled, onDismiss,...props }) => {
|
|
12
|
-
const tagCva = UIStyle.useConfig()?.tag?.cva ?? tag;
|
|
13
|
-
const { t } = useTranslation("ui");
|
|
14
|
-
const buttonProps = {
|
|
15
|
-
isDisabled,
|
|
16
|
-
onPress: onDismiss,
|
|
17
|
-
label: t(($) => $.ui.tag.dismiss),
|
|
18
|
-
...props
|
|
19
|
-
};
|
|
20
|
-
return /* @__PURE__ */ jsx(TooltipEllipsis, {
|
|
21
|
-
text: children,
|
|
22
|
-
children: (onContentRef) => /* @__PURE__ */ jsxs("div", {
|
|
23
|
-
className: tagCva({
|
|
24
|
-
...props,
|
|
25
|
-
className: clsx("pointer-events-none", className)
|
|
26
|
-
}),
|
|
27
|
-
children: [/* @__PURE__ */ jsx(Typography, {
|
|
28
|
-
ref: onContentRef,
|
|
29
|
-
variant: "default",
|
|
30
|
-
size: "label-2",
|
|
31
|
-
as: "span",
|
|
32
|
-
className: "truncate",
|
|
33
|
-
children
|
|
34
|
-
}), dismissable && /* @__PURE__ */ jsx(Button, {
|
|
35
|
-
...buttonProps,
|
|
36
|
-
className: "pointer-events-auto shrink-0",
|
|
37
|
-
children: /* @__PURE__ */ jsx(CloseIcon, { className: "size-4" })
|
|
38
|
-
})]
|
|
39
|
-
})
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
export { Tag };
|
package/dist/TimePickerInput.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { ClockIcon } from "./Clock.js";
|
|
2
|
-
import { UIStyle } from "./uiStyle.context.js";
|
|
3
|
-
import { Typography } from "./Typography.js";
|
|
4
|
-
import { InlineIconButton } from "./InlineIconButton.js";
|
|
5
|
-
import { inputSide, useInputCva } from "./input.cva.js";
|
|
6
|
-
import { FormFieldLabel } from "./FormFieldLabel.js";
|
|
7
|
-
import { InputClear } from "./InputClear.js";
|
|
8
|
-
import { TimeField } from "./TimeField.js";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { clsx } from "clsx";
|
|
11
|
-
import { useMemo, useState } from "react";
|
|
12
|
-
import { Button } from "react-aria-components";
|
|
13
|
-
import { useFocusVisible, useFocusWithin, useHover } from "react-aria";
|
|
14
|
-
import useMeasure from "react-use-measure";
|
|
15
|
-
const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isInvalid, disableDropdown, variant, size, isClearable, headerProps, disableManualEntry, placeholder, onPress,...props }) => {
|
|
16
|
-
const inputCva = useInputCva();
|
|
17
|
-
const inputSideCva = UIStyle.useConfig()?.input?.sideCva ?? inputSide;
|
|
18
|
-
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
19
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
20
|
-
const { focusWithinProps } = useFocusWithin({ onFocusWithinChange: setIsFocused });
|
|
21
|
-
const { isFocusVisible } = useFocusVisible();
|
|
22
|
-
const [labelContentRef, { width: labelWidth }] = useMeasure();
|
|
23
|
-
const [trailingContentRef, { width: trailingWidth }] = useMeasure();
|
|
24
|
-
const hidePlaceholder = as === "floating" && !state.value && !isFocused;
|
|
25
|
-
const style = useMemo(() => {
|
|
26
|
-
return {
|
|
27
|
-
paddingLeft: as === "filter" ? `calc(var(${inputSideCva({
|
|
28
|
-
size,
|
|
29
|
-
type: "var"
|
|
30
|
-
})}) + ${labelWidth}px)` : "0px",
|
|
31
|
-
paddingRight: `calc(var(${inputSideCva({
|
|
32
|
-
size,
|
|
33
|
-
type: "var"
|
|
34
|
-
})}) + ${trailingWidth}px)`
|
|
35
|
-
};
|
|
36
|
-
}, [
|
|
37
|
-
labelWidth,
|
|
38
|
-
trailingWidth,
|
|
39
|
-
as,
|
|
40
|
-
size,
|
|
41
|
-
inputSideCva
|
|
42
|
-
]);
|
|
43
|
-
const canClear = state.segments.some((segment) => segment.type !== "literal" && segment.isPlaceholder === false);
|
|
44
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
45
|
-
ref,
|
|
46
|
-
className: inputCva({
|
|
47
|
-
variant,
|
|
48
|
-
as,
|
|
49
|
-
size,
|
|
50
|
-
...props,
|
|
51
|
-
className: clsx("group/date-picker-content relative flex min-w-input-width-min-width items-center justify-between gap-2")
|
|
52
|
-
}),
|
|
53
|
-
"data-rac": "",
|
|
54
|
-
"data-datetime-input": "",
|
|
55
|
-
"data-hovered": isHovered || void 0,
|
|
56
|
-
"data-disabled": isDisabled || void 0,
|
|
57
|
-
"data-invalid": isInvalid || void 0,
|
|
58
|
-
"data-is-empty": state.value === null || void 0,
|
|
59
|
-
"data-focus-within": isFocused || void 0,
|
|
60
|
-
"data-focus-visible": isFocused && isFocusVisible || void 0,
|
|
61
|
-
"data-has-selection": state.value !== null || void 0,
|
|
62
|
-
"data-is-dirty": isDirty || void 0,
|
|
63
|
-
...fieldProps,
|
|
64
|
-
...focusWithinProps,
|
|
65
|
-
...hoverProps,
|
|
66
|
-
children: [/* @__PURE__ */ jsxs("div", { children: [
|
|
67
|
-
disableManualEntry && /* @__PURE__ */ jsx(Button, {
|
|
68
|
-
onPress,
|
|
69
|
-
className: "absolute inset-0 z-0"
|
|
70
|
-
}),
|
|
71
|
-
as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
72
|
-
ref: labelContentRef,
|
|
73
|
-
as,
|
|
74
|
-
...headerProps
|
|
75
|
-
}),
|
|
76
|
-
/* @__PURE__ */ jsx("div", {
|
|
77
|
-
style,
|
|
78
|
-
children: disableManualEntry && placeholder && !state.value ? /* @__PURE__ */ jsx(Typography, {
|
|
79
|
-
size: "label-1",
|
|
80
|
-
className: "text-text-default-3",
|
|
81
|
-
children: placeholder
|
|
82
|
-
}) : /* @__PURE__ */ jsx(TimeField, {
|
|
83
|
-
fieldProps,
|
|
84
|
-
state,
|
|
85
|
-
isDisabled,
|
|
86
|
-
hidePlaceholder
|
|
87
|
-
})
|
|
88
|
-
})
|
|
89
|
-
] }), /* @__PURE__ */ jsxs("div", {
|
|
90
|
-
ref: trailingContentRef,
|
|
91
|
-
className: clsx("absolute top-1/2 flex -translate-y-1/2 items-center gap-2", inputSideCva({
|
|
92
|
-
size,
|
|
93
|
-
type: "right"
|
|
94
|
-
})),
|
|
95
|
-
children: [isClearable && canClear && /* @__PURE__ */ jsx(InputClear, { onClear: () => state.setValue(null) }), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(InlineIconButton, {
|
|
96
|
-
label: "",
|
|
97
|
-
color: "secondary",
|
|
98
|
-
onPress,
|
|
99
|
-
icon: ClockIcon,
|
|
100
|
-
isDisabled
|
|
101
|
-
})]
|
|
102
|
-
})]
|
|
103
|
-
});
|
|
104
|
-
};
|
|
105
|
-
export { TimePickerInput };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { cva } from "class-variance-authority";
|
|
2
|
-
const buttonContent = cva("flex w-full items-center justify-center", {
|
|
3
|
-
variants: { iconPosition: {
|
|
4
|
-
left: "flex-row",
|
|
5
|
-
right: "flex-row-reverse",
|
|
6
|
-
none: "flex-row"
|
|
7
|
-
} },
|
|
8
|
-
defaultVariants: { iconPosition: "left" }
|
|
9
|
-
});
|
|
10
|
-
export { buttonContent };
|
package/dist/i18n.js
DELETED
package/dist/label.cva.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { compoundMapper } from "./compoundMapper.js";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
|
-
const labelBase = cva("", {
|
|
4
|
-
variants: { as: {
|
|
5
|
-
default: ["flex items-start gap-1 text-text-default-1"],
|
|
6
|
-
filter: ["absolute top-1/2 -translate-y-1/2 text-text-default-1"],
|
|
7
|
-
inline: ["flex items-start gap-1 text-text-default-1"],
|
|
8
|
-
floating: [
|
|
9
|
-
"pointer-events-none",
|
|
10
|
-
"absolute transition-all duration-75",
|
|
11
|
-
"top-1/2 -translate-y-1/2",
|
|
12
|
-
"text-text-default-3 group-has-[input:disabled]/input-content:text-interactive-text-secondary-disabled",
|
|
13
|
-
"group-disabled/date-picker-content:text-interactive-text-secondary-disabled",
|
|
14
|
-
"group-disabled/text-editor:text-interactive-text-secondary-disabled",
|
|
15
|
-
"group-has-[input:disabled]/select-content:text-interactive-text-secondary-disabled",
|
|
16
|
-
"group-has-[textarea:disabled]/text-area:text-interactive-text-secondary-disabled",
|
|
17
|
-
"group-data-[text-area]/text-area:top-floating-label-input-height-empty group-data-[text-area]/text-area:translate-y-0",
|
|
18
|
-
"group-data-[text-editor]/text-editor:top-floating-label-input-height-empty group-data-[text-editor]/text-editor:left-input-side-default group-data-[text-editor]/text-editor:translate-y-0",
|
|
19
|
-
"group-has-[input:not(:placeholder-shown)]/input-content:top-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-top))] group-has-[input:not(:placeholder-shown)]/input-content:translate-y-0",
|
|
20
|
-
"group-has-[textarea:not(:placeholder-shown)]/text-area:hidden",
|
|
21
|
-
"group-has-[textarea:placeholder-shown]/text-area:text-text-default-3",
|
|
22
|
-
"group-has-[textarea:placeholder-shown]/text-area:font-medium!",
|
|
23
|
-
"group-data-[is-filled=true]/text-editor:hidden",
|
|
24
|
-
"group-has-[data-text-editor:placeholder-shown]/text-editor:text-text-default-3",
|
|
25
|
-
"group-has-[data-text-editor:placeholder-shown]/text-editor:font-medium!",
|
|
26
|
-
"group-data-[has-selection]/date-picker-content:top-1 group-data-[has-selection]/date-picker-content:translate-y-0",
|
|
27
|
-
"group-focus-within/date-picker-content:top-1 group-focus-within/date-picker-content:translate-y-0",
|
|
28
|
-
"group-data-[has-selection]/select-content:top-1 group-data-[has-selection]/select-content:translate-y-0",
|
|
29
|
-
"group-data-[searchable-focus-within]/select-content:top-1 group-data-[searchable-focus-within]/select-content:translate-y-0",
|
|
30
|
-
"group-data-[has-search]/select-content:top-1 group-data-[has-search]/select-content:translate-y-0",
|
|
31
|
-
"group-has-[input:placeholder-shown]/input-content:text-text-default-3",
|
|
32
|
-
"group-has-[input:placeholder-shown]/input-content:font-medium!",
|
|
33
|
-
"group-has-[input:not(:placeholder-shown)]/input-content:font-semibold!",
|
|
34
|
-
"group-has-[input:not(:placeholder-shown)]/input-content:text-label-3!",
|
|
35
|
-
"group-has-[input:not(:placeholder-shown)]/input-content:text-text-default-1",
|
|
36
|
-
"group-data-[has-selection]/date-picker-content:font-semibold!",
|
|
37
|
-
"group-data-[has-selection]/date-picker-content:text-label-3!",
|
|
38
|
-
"group-data-[has-selection]/date-picker-content:text-text-default-1",
|
|
39
|
-
"group-focus-within/date-picker-content:font-semibold!",
|
|
40
|
-
"group-focus-within/date-picker-content:text-label-3!",
|
|
41
|
-
"group-focus-within/date-picker-content:text-text-default-1",
|
|
42
|
-
"group-data-[has-selection]/select-content:font-semibold!",
|
|
43
|
-
"group-data-[has-selection]/select-content:text-label-3!",
|
|
44
|
-
"group-data-[has-selection]/select-content:text-text-default-1",
|
|
45
|
-
"group-data-[searchable-focus-within]/select-content:font-semibold!",
|
|
46
|
-
"group-data-[searchable-focus-within]/select-content:text-label-3!",
|
|
47
|
-
"group-data-[searchable-focus-within]/select-content:text-text-default-1",
|
|
48
|
-
"group-data-[has-search]/select-content:font-semibold!",
|
|
49
|
-
"group-data-[has-search]/select-content:text-label-3!",
|
|
50
|
-
"group-data-[has-search]/select-content:text-text-default-1"
|
|
51
|
-
]
|
|
52
|
-
} },
|
|
53
|
-
defaultVariants: { as: "default" }
|
|
54
|
-
});
|
|
55
|
-
const labelTypography = compoundMapper({
|
|
56
|
-
compoundVariants: [
|
|
57
|
-
{
|
|
58
|
-
as: "default",
|
|
59
|
-
value: {
|
|
60
|
-
size: "label-2",
|
|
61
|
-
variant: "prominent-1"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
as: "filter",
|
|
66
|
-
value: {
|
|
67
|
-
size: "label-1",
|
|
68
|
-
variant: "default"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
as: "inline",
|
|
73
|
-
value: {
|
|
74
|
-
size: "label-2",
|
|
75
|
-
variant: "prominent-1"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
as: "floating",
|
|
80
|
-
value: {
|
|
81
|
-
size: "label-1",
|
|
82
|
-
variant: "default"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
default: {
|
|
87
|
-
size: "label-2",
|
|
88
|
-
variant: "prominent-1"
|
|
89
|
-
},
|
|
90
|
-
defaultVariants: { as: "default" }
|
|
91
|
-
});
|
|
92
|
-
export { labelBase, labelTypography };
|
package/dist/react.js
DELETED
package/dist/uiStyle.context.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { createContext, use } from "react";
|
|
3
|
-
let UIStyle;
|
|
4
|
-
(function(_UIStyle) {
|
|
5
|
-
const Context = createContext(null);
|
|
6
|
-
_UIStyle.Provider = ({ children, config }) => {
|
|
7
|
-
return /* @__PURE__ */ jsx(Context.Provider, {
|
|
8
|
-
value: config,
|
|
9
|
-
children
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
_UIStyle.useConfig = () => {
|
|
13
|
-
return use(Context);
|
|
14
|
-
};
|
|
15
|
-
})(UIStyle || (UIStyle = {}));
|
|
16
|
-
export { UIStyle };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{TextEditorToolbar.js → components/inputs/TextEditor/Toolbar/TextEditorToolbar.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|