@pathscale/ui 2.4.0 → 2.6.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/README.md +4 -5
- package/dist/components/_shared/material.css +115 -0
- package/dist/components/_shared/overlayPosition.d.ts +4 -3
- package/dist/components/accordion/Accordion.generated.d.ts +1 -1
- package/dist/components/accordion/Accordion.generated.js +146 -195
- package/dist/components/accordion/Accordion.recipe.d.ts +1 -1
- package/dist/components/address/Address.generated.d.ts +1 -1
- package/dist/components/address/Address.generated.js +79 -80
- package/dist/components/address/Address.recipe.d.ts +1 -1
- package/dist/components/alert/Alert.generated.d.ts +1 -1
- package/dist/components/alert/Alert.generated.js +71 -73
- package/dist/components/alert/Alert.recipe.d.ts +1 -1
- package/dist/components/auth-card/AuthCard.generated.d.ts +1 -1
- package/dist/components/auth-card/AuthCard.generated.js +14 -14
- package/dist/components/auth-card/AuthCard.recipe.d.ts +1 -1
- package/dist/components/auth-field-group/AuthFieldGroup.generated.d.ts +1 -1
- package/dist/components/auth-field-group/AuthFieldGroup.generated.js +3 -3
- package/dist/components/auth-field-group/AuthFieldGroup.recipe.d.ts +1 -1
- package/dist/components/auth-footer-links/AuthFooterLinks.generated.d.ts +1 -1
- package/dist/components/auth-footer-links/AuthFooterLinks.generated.js +6 -5
- package/dist/components/auth-footer-links/AuthFooterLinks.recipe.d.ts +1 -1
- package/dist/components/auth-message/AuthMessage.generated.d.ts +1 -1
- package/dist/components/auth-message/AuthMessage.generated.js +2 -2
- package/dist/components/auth-message/AuthMessage.recipe.d.ts +1 -1
- package/dist/components/auth-powered-by/AuthPoweredBy.generated.d.ts +1 -1
- package/dist/components/auth-powered-by/AuthPoweredBy.generated.js +7 -6
- package/dist/components/auth-powered-by/AuthPoweredBy.recipe.d.ts +1 -1
- package/dist/components/auth-submit-button/AuthSubmitButton.generated.d.ts +1 -1
- package/dist/components/auth-submit-button/AuthSubmitButton.generated.js +2 -2
- package/dist/components/auth-submit-button/AuthSubmitButton.recipe.d.ts +1 -1
- package/dist/components/avatar/Avatar.generated.d.ts +1 -1
- package/dist/components/avatar/Avatar.generated.js +47 -71
- package/dist/components/avatar/Avatar.recipe.d.ts +1 -1
- package/dist/components/avatar/AvatarGroup.generated.d.ts +1 -1
- package/dist/components/avatar/AvatarGroup.generated.js +9 -13
- package/dist/components/badge/Badge.generated.d.ts +1 -1
- package/dist/components/badge/Badge.generated.js +38 -58
- package/dist/components/badge/Badge.recipe.d.ts +1 -1
- package/dist/components/breadcrumb/Breadcrumb.generated.d.ts +1 -1
- package/dist/components/breadcrumb/Breadcrumb.generated.js +78 -94
- package/dist/components/breadcrumb/Breadcrumb.recipe.d.ts +1 -1
- package/dist/components/button/Button.generated.d.ts +17 -1
- package/dist/components/button/Button.generated.js +77 -62
- package/dist/components/button/Button.interactions.d.ts +28 -0
- package/dist/components/button/Button.interactions.js +4 -0
- package/dist/components/button/Button.recipe.d.ts +1 -1
- package/dist/components/button-group/ButtonGroup.generated.d.ts +1 -1
- package/dist/components/button-group/ButtonGroup.generated.js +34 -51
- package/dist/components/button-group/ButtonGroup.recipe.d.ts +1 -1
- package/dist/components/button-group/context.d.ts +1 -1
- package/dist/components/calendar/Calendar.generated.d.ts +1 -1
- package/dist/components/calendar/Calendar.generated.js +280 -301
- package/dist/components/calendar/Calendar.recipe.d.ts +1 -1
- package/dist/components/card/Card.generated.d.ts +10 -4
- package/dist/components/card/Card.generated.js +53 -51
- package/dist/components/card/Card.recipe.d.ts +4 -4
- package/dist/components/chatbubble/ChatBubble.generated.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubble.generated.js +20 -27
- package/dist/components/chatbubble/ChatBubble.recipe.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleAvatar.generated.js +5 -5
- package/dist/components/chatbubble/ChatBubbleFooter.generated.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleFooter.generated.js +10 -14
- package/dist/components/chatbubble/ChatBubbleHeader.generated.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleHeader.generated.js +10 -14
- package/dist/components/chatbubble/ChatBubbleMessage.generated.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleMessage.generated.js +14 -19
- package/dist/components/chatbubble/ChatBubbleTime.generated.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleTime.generated.js +10 -14
- package/dist/components/checkbox/Checkbox.generated.d.ts +1 -1
- package/dist/components/checkbox/Checkbox.generated.js +133 -152
- package/dist/components/checkbox/Checkbox.recipe.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.generated.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.generated.js +21 -35
- package/dist/components/checkbox-group/CheckboxGroup.recipe.d.ts +1 -1
- package/dist/components/checkbox-group/context.d.ts +1 -1
- package/dist/components/chip/Chip.generated.d.ts +1 -1
- package/dist/components/chip/Chip.generated.js +103 -119
- package/dist/components/chip/Chip.recipe.d.ts +1 -1
- package/dist/components/close-button/CloseButton.generated.d.ts +1 -1
- package/dist/components/close-button/CloseButton.generated.js +64 -78
- package/dist/components/close-button/CloseButton.recipe.d.ts +1 -1
- package/dist/components/collapsible/Collapsible.generated.d.ts +1 -1
- package/dist/components/collapsible/Collapsible.generated.js +120 -168
- package/dist/components/collapsible/Collapsible.recipe.d.ts +1 -1
- package/dist/components/color-area/ColorArea.generated.d.ts +1 -1
- package/dist/components/color-area/ColorArea.generated.js +69 -79
- package/dist/components/color-area/ColorArea.recipe.d.ts +1 -1
- package/dist/components/color-field/ColorField.generated.d.ts +1 -1
- package/dist/components/color-field/ColorField.generated.js +68 -84
- package/dist/components/color-field/ColorField.recipe.d.ts +1 -1
- package/dist/components/color-picker/ColorPicker.generated.d.ts +1 -1
- package/dist/components/color-picker/ColorPicker.generated.js +45 -69
- package/dist/components/color-picker/ColorPicker.recipe.d.ts +1 -1
- package/dist/components/color-slider/ColorSlider.generated.d.ts +1 -1
- package/dist/components/color-slider/ColorSlider.generated.js +83 -94
- package/dist/components/color-slider/ColorSlider.recipe.d.ts +1 -1
- package/dist/components/color-swatch/ColorSwatch.generated.d.ts +1 -1
- package/dist/components/color-swatch/ColorSwatch.generated.js +69 -89
- package/dist/components/color-swatch/ColorSwatch.recipe.d.ts +1 -1
- package/dist/components/color-swatch-picker/ColorSwatchPicker.generated.d.ts +3 -2
- package/dist/components/color-swatch-picker/ColorSwatchPicker.generated.js +18 -28
- package/dist/components/color-swatch-picker/ColorSwatchPicker.recipe.d.ts +1 -1
- package/dist/components/color-wheel-flower/ColorWheelFlower.generated.js +243 -250
- package/dist/components/color-wheel-flower/ColorWheelFlower.recipe.d.ts +1 -1
- package/dist/components/combo-box/ComboBox.generated.d.ts +1 -1
- package/dist/components/combo-box/ComboBox.generated.js +334 -406
- package/dist/components/combo-box/ComboBox.recipe.d.ts +1 -1
- package/dist/components/composer/Composer.generated.d.ts +1 -1
- package/dist/components/composer/Composer.generated.js +112 -112
- package/dist/components/composer/Composer.recipe.d.ts +1 -1
- package/dist/components/data-grid/DataGrid.generated.d.ts +1 -1
- package/dist/components/data-grid/DataGrid.generated.js +61 -78
- package/dist/components/data-grid/DataGrid.interactions.d.ts +1 -1
- package/dist/components/data-grid/DataGrid.recipe.d.ts +1 -1
- package/dist/components/data-grid/createDataGrid.d.ts +2 -1
- package/dist/components/data-grid/createDataGrid.js +43 -26
- package/dist/components/data-grid/index.d.ts +1 -1
- package/dist/components/date-field/DateField.generated.d.ts +1 -1
- package/dist/components/date-field/DateField.generated.js +160 -221
- package/dist/components/date-field/DateField.recipe.d.ts +1 -1
- package/dist/components/date-picker/DatePicker.generated.d.ts +1 -1
- package/dist/components/date-picker/DatePicker.generated.js +154 -174
- package/dist/components/date-picker/DatePicker.recipe.d.ts +1 -1
- package/dist/components/date-range-picker/DateRangePicker.generated.d.ts +1 -1
- package/dist/components/date-range-picker/DateRangePicker.generated.js +198 -221
- package/dist/components/date-range-picker/DateRangePicker.recipe.d.ts +1 -1
- package/dist/components/dialog/Dialog.generated.d.ts +12 -2
- package/dist/components/dialog/Dialog.generated.js +224 -320
- package/dist/components/dialog/Dialog.recipe.d.ts +1 -1
- package/dist/components/dock/Dock.generated.d.ts +1 -1
- package/dist/components/dock/Dock.generated.js +358 -391
- package/dist/components/dock/Dock.recipe.d.ts +1 -1
- package/dist/components/drawer/Drawer.context.d.ts +1 -1
- package/dist/components/drawer/Drawer.generated.d.ts +5 -2
- package/dist/components/drawer/Drawer.generated.js +280 -382
- package/dist/components/drawer/Drawer.recipe.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.generated.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.generated.js +146 -199
- package/dist/components/dropdown/Dropdown.recipe.d.ts +1 -1
- package/dist/components/empty/Empty.generated.d.ts +1 -1
- package/dist/components/empty/Empty.generated.js +82 -117
- package/dist/components/empty/Empty.recipe.d.ts +1 -1
- package/dist/components/fieldset/Fieldset.generated.d.ts +1 -1
- package/dist/components/fieldset/Fieldset.generated.js +64 -92
- package/dist/components/fieldset/Fieldset.recipe.d.ts +1 -1
- package/dist/components/flex/Flex.generated.d.ts +1 -1
- package/dist/components/flex/Flex.generated.js +8 -28
- package/dist/components/flex/Flex.recipe.d.ts +1 -1
- package/dist/components/footer/Footer.generated.d.ts +1 -1
- package/dist/components/footer/Footer.generated.js +16 -25
- package/dist/components/footer/Footer.recipe.d.ts +1 -1
- package/dist/components/footer/FooterTitle.generated.d.ts +1 -1
- package/dist/components/footer/FooterTitle.generated.js +16 -22
- package/dist/components/form/FieldErrorMessage.generated.d.ts +1 -1
- package/dist/components/form/FieldErrorMessage.generated.js +4 -4
- package/dist/components/form/Form.generated.d.ts +1 -1
- package/dist/components/form/Form.generated.js +30 -41
- package/dist/components/form/Form.recipe.d.ts +1 -1
- package/dist/components/form/FormField.generated.d.ts +1 -1
- package/dist/components/form/FormField.generated.js +62 -77
- package/dist/components/form/FormSubmitButton.generated.js +14 -24
- package/dist/components/glow-card/GlowCard.generated.d.ts +1 -1
- package/dist/components/glow-card/GlowCard.generated.js +27 -35
- package/dist/components/glow-card/GlowCard.recipe.d.ts +1 -1
- package/dist/components/grid/Grid.generated.d.ts +1 -1
- package/dist/components/grid/Grid.generated.js +9 -19
- package/dist/components/grid/Grid.recipe.d.ts +1 -1
- package/dist/components/header/Header.generated.d.ts +1 -1
- package/dist/components/header/Header.generated.js +19 -26
- package/dist/components/header/Header.recipe.d.ts +1 -1
- package/dist/components/icon/Icon.generated.d.ts +1 -1
- package/dist/components/icon/Icon.generated.js +10 -14
- package/dist/components/icon/Icon.recipe.d.ts +1 -1
- package/dist/components/immersive-landing/ImmersiveLanding.generated.js +57 -78
- package/dist/components/immersive-landing/ImmersiveLanding.recipe.d.ts +1 -1
- package/dist/components/immersive-landing/ImmersiveLandingArrows.generated.js +24 -29
- package/dist/components/immersive-landing/ImmersiveLandingContext.d.ts +1 -1
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.generated.js +111 -122
- package/dist/components/immersive-landing/ImmersiveLandingPage.generated.js +36 -42
- package/dist/components/immersive-landing/components/CookieConsent.js +56 -36
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +15 -11
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +17 -11
- package/dist/components/immersive-landing/types.d.ts +2 -1
- package/dist/components/immersive-landing/useImmersiveLanding.js +2 -2
- package/dist/components/input/Input.generated.d.ts +2 -1
- package/dist/components/input/Input.generated.js +129 -177
- package/dist/components/input/Input.recipe.d.ts +1 -1
- package/dist/components/input-otp/InputOTP.generated.d.ts +2 -2
- package/dist/components/input-otp/InputOTP.generated.js +132 -177
- package/dist/components/input-otp/InputOTP.recipe.d.ts +1 -1
- package/dist/components/join/Join.generated.d.ts +1 -1
- package/dist/components/join/Join.generated.js +23 -33
- package/dist/components/join/Join.recipe.d.ts +1 -1
- package/dist/components/kbd/Kbd.generated.d.ts +2 -1
- package/dist/components/kbd/Kbd.generated.js +59 -82
- package/dist/components/kbd/Kbd.recipe.d.ts +1 -1
- package/dist/components/label/Label.generated.d.ts +1 -1
- package/dist/components/label/Label.generated.js +38 -50
- package/dist/components/label/Label.recipe.d.ts +1 -1
- package/dist/components/language-switcher/LanguageSwitcher.generated.js +20 -30
- package/dist/components/language-switcher/LanguageSwitcher.recipe.d.ts +1 -1
- package/dist/components/language-switcher/createI18n.d.ts +4 -3
- package/dist/components/language-switcher/createI18n.js +2 -2
- package/dist/components/link/Link.generated.d.ts +2 -1
- package/dist/components/link/Link.generated.js +77 -99
- package/dist/components/link/Link.recipe.d.ts +1 -1
- package/dist/components/list-box/ListBox.generated.d.ts +1 -1
- package/dist/components/list-box/ListBox.generated.js +30 -49
- package/dist/components/list-box/ListBox.recipe.d.ts +1 -1
- package/dist/components/list-box/ListBoxItem.generated.d.ts +1 -1
- package/dist/components/list-box/ListBoxItem.generated.js +67 -83
- package/dist/components/list-box/ListBoxSection.generated.d.ts +1 -1
- package/dist/components/list-box/ListBoxSection.generated.js +39 -48
- package/dist/components/list-box/context.d.ts +1 -1
- package/dist/components/live-chat/LiveChat.recipe.d.ts +1 -1
- package/dist/components/live-chat/LiveChatBubble.generated.d.ts +1 -1
- package/dist/components/live-chat/LiveChatBubble.generated.js +38 -53
- package/dist/components/live-chat/LiveChatPanel.generated.js +158 -176
- package/dist/components/menu/Menu.generated.d.ts +5 -2
- package/dist/components/menu/Menu.generated.js +33 -47
- package/dist/components/menu/Menu.recipe.d.ts +1 -1
- package/dist/components/menu/MenuItem.generated.d.ts +1 -1
- package/dist/components/menu/MenuItem.generated.js +95 -119
- package/dist/components/menu/MenuSection.generated.d.ts +1 -1
- package/dist/components/menu/MenuSection.generated.js +39 -48
- package/dist/components/menu/context.d.ts +1 -1
- package/dist/components/metal-border/MetalBorder.generated.d.ts +1 -1
- package/dist/components/metal-border/MetalBorder.generated.js +72 -86
- package/dist/components/metal-border/MetalBorder.recipe.d.ts +1 -1
- package/dist/components/meter/Meter.generated.d.ts +1 -1
- package/dist/components/meter/Meter.generated.js +71 -107
- package/dist/components/meter/Meter.recipe.d.ts +1 -1
- package/dist/components/navbar/Navbar.generated.d.ts +5 -2
- package/dist/components/navbar/Navbar.generated.js +14 -16
- package/dist/components/navbar/Navbar.recipe.d.ts +1 -1
- package/dist/components/navbar/NavbarRow.generated.d.ts +1 -1
- package/dist/components/navbar/NavbarRow.generated.js +21 -32
- package/dist/components/navbar/NavbarSection.generated.d.ts +1 -1
- package/dist/components/navbar/NavbarSection.generated.js +20 -28
- package/dist/components/navbar/NavbarStack.generated.d.ts +1 -1
- package/dist/components/navbar/NavbarStack.generated.js +20 -29
- package/dist/components/noise-background/NoiseBackground.generated.d.ts +1 -1
- package/dist/components/noise-background/NoiseBackground.generated.js +85 -100
- package/dist/components/noise-background/NoiseBackground.recipe.d.ts +1 -1
- package/dist/components/pagination/Pagination.generated.d.ts +1 -1
- package/dist/components/pagination/Pagination.generated.js +114 -117
- package/dist/components/pagination/Pagination.recipe.d.ts +1 -1
- package/dist/components/password-field/PasswordField.generated.d.ts +1 -1
- package/dist/components/password-field/PasswordField.generated.js +56 -58
- package/dist/components/password-field/PasswordField.interactions.d.ts +1 -1
- package/dist/components/password-field/PasswordField.interactions.js +1 -1
- package/dist/components/password-field/PasswordField.recipe.d.ts +1 -1
- package/dist/components/password-requirements/PasswordRequirements.generated.d.ts +1 -1
- package/dist/components/password-requirements/PasswordRequirements.generated.js +8 -8
- package/dist/components/password-requirements/PasswordRequirements.recipe.d.ts +1 -1
- package/dist/components/popover/Popover.generated.d.ts +5 -2
- package/dist/components/popover/Popover.generated.js +123 -170
- package/dist/components/popover/Popover.recipe.d.ts +1 -1
- package/dist/components/progress/Progress.generated.d.ts +1 -1
- package/dist/components/progress/Progress.generated.js +82 -98
- package/dist/components/progress/Progress.recipe.d.ts +1 -1
- package/dist/components/radial-progress/RadialProgress.generated.d.ts +1 -1
- package/dist/components/radial-progress/RadialProgress.generated.js +74 -89
- package/dist/components/radial-progress/RadialProgress.recipe.d.ts +1 -1
- package/dist/components/radio/Radio.generated.d.ts +1 -1
- package/dist/components/radio/Radio.generated.js +110 -126
- package/dist/components/radio/Radio.recipe.d.ts +1 -1
- package/dist/components/radio-group/RadioGroup.generated.d.ts +1 -1
- package/dist/components/radio-group/RadioGroup.generated.js +46 -61
- package/dist/components/radio-group/RadioGroup.recipe.d.ts +1 -1
- package/dist/components/radio-group/context.d.ts +1 -1
- package/dist/components/range-calendar/RangeCalendar.generated.d.ts +1 -1
- package/dist/components/range-calendar/RangeCalendar.generated.js +72 -92
- package/dist/components/range-calendar/RangeCalendar.recipe.d.ts +1 -1
- package/dist/components/scroll-area/ScrollArea.generated.d.ts +1 -1
- package/dist/components/scroll-area/ScrollArea.generated.js +37 -53
- package/dist/components/scroll-area/ScrollArea.recipe.d.ts +1 -1
- package/dist/components/select/Select.generated.d.ts +2 -1
- package/dist/components/select/Select.generated.js +326 -404
- package/dist/components/select/Select.recipe.d.ts +1 -1
- package/dist/components/separator/Separator.generated.d.ts +1 -1
- package/dist/components/separator/Separator.generated.js +33 -42
- package/dist/components/separator/Separator.recipe.d.ts +1 -1
- package/dist/components/size-picker/SizePicker.generated.js +41 -50
- package/dist/components/size-picker/SizePicker.recipe.d.ts +1 -1
- package/dist/components/skeleton/Skeleton.generated.d.ts +1 -1
- package/dist/components/skeleton/Skeleton.generated.js +8 -7
- package/dist/components/skeleton/Skeleton.recipe.d.ts +1 -1
- package/dist/components/slider/Slider.generated.d.ts +1 -1
- package/dist/components/slider/Slider.generated.js +147 -163
- package/dist/components/slider/Slider.recipe.d.ts +1 -1
- package/dist/components/spinner/Spinner.generated.d.ts +1 -1
- package/dist/components/spinner/Spinner.generated.js +9 -11
- package/dist/components/spinner/Spinner.recipe.d.ts +1 -1
- package/dist/components/status/status.d.ts +1 -1
- package/dist/components/switch/Switch.generated.d.ts +1 -1
- package/dist/components/switch/Switch.generated.js +113 -128
- package/dist/components/switch/Switch.recipe.d.ts +1 -1
- package/dist/components/table/ExpandToggle.generated.d.ts +1 -1
- package/dist/components/table/ExpandToggle.generated.js +67 -78
- package/dist/components/table/InlineConfirm.generated.js +54 -67
- package/dist/components/table/MobileListView.generated.d.ts +1 -1
- package/dist/components/table/MobileListView.generated.js +60 -73
- package/dist/components/table/SortIcon.generated.d.ts +1 -1
- package/dist/components/table/SortIcon.generated.js +46 -56
- package/dist/components/table/Table.context.d.ts +4 -3
- package/dist/components/table/Table.context.js +8 -16
- package/dist/components/table/Table.recipe.d.ts +20 -20
- package/dist/components/table/TableBody.generated.d.ts +1 -1
- package/dist/components/table/TableBody.generated.js +16 -22
- package/dist/components/table/TableCell.generated.d.ts +1 -1
- package/dist/components/table/TableCell.generated.js +16 -22
- package/dist/components/table/TableColumn.generated.d.ts +1 -1
- package/dist/components/table/TableColumn.generated.js +40 -51
- package/dist/components/table/TableColumnResizer.generated.d.ts +1 -1
- package/dist/components/table/TableColumnResizer.generated.js +23 -31
- package/dist/components/table/TableContent.generated.d.ts +1 -1
- package/dist/components/table/TableContent.generated.js +14 -20
- package/dist/components/table/TableExpandedRow.generated.d.ts +2 -2
- package/dist/components/table/TableExpandedRow.generated.js +12 -20
- package/dist/components/table/TableFooter.generated.d.ts +1 -1
- package/dist/components/table/TableFooter.generated.js +16 -22
- package/dist/components/table/TableHeader.generated.d.ts +1 -1
- package/dist/components/table/TableHeader.generated.js +16 -22
- package/dist/components/table/TableLoadMore.generated.d.ts +1 -1
- package/dist/components/table/TableLoadMore.generated.js +16 -22
- package/dist/components/table/TableLoadMoreContent.generated.d.ts +1 -1
- package/dist/components/table/TableLoadMoreContent.generated.js +16 -22
- package/dist/components/table/TablePageSize.generated.d.ts +1 -1
- package/dist/components/table/TablePageSize.generated.js +35 -46
- package/dist/components/table/TableResizableContainer.generated.d.ts +1 -1
- package/dist/components/table/TableResizableContainer.generated.js +16 -22
- package/dist/components/table/TableRoot.generated.d.ts +1 -1
- package/dist/components/table/TableRoot.generated.js +11 -16
- package/dist/components/table/TableRow.generated.d.ts +1 -1
- package/dist/components/table/TableRow.generated.js +16 -22
- package/dist/components/table/TableScrollContainer.generated.d.ts +1 -1
- package/dist/components/table/TableScrollContainer.generated.js +16 -22
- package/dist/components/table/VirtualSpacerRow.generated.d.ts +1 -1
- package/dist/components/table/VirtualSpacerRow.generated.js +23 -28
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/index.js +1 -1
- package/dist/components/tabs/Tabs.generated.d.ts +1 -1
- package/dist/components/tabs/Tabs.generated.js +156 -194
- package/dist/components/tabs/Tabs.recipe.d.ts +1 -1
- package/dist/components/text/Text.generated.d.ts +1 -1
- package/dist/components/text/Text.generated.js +42 -56
- package/dist/components/text/Text.recipe.d.ts +1 -1
- package/dist/components/textarea/Textarea.generated.d.ts +1 -1
- package/dist/components/textarea/Textarea.generated.js +38 -49
- package/dist/components/textarea/Textarea.recipe.d.ts +1 -1
- package/dist/components/theme-color-picker/ThemeColorPicker.generated.d.ts +1 -1
- package/dist/components/theme-color-picker/ThemeColorPicker.generated.js +36 -46
- package/dist/components/theme-color-picker/ThemeColorPicker.recipe.d.ts +1 -1
- package/dist/components/theme-color-picker/hueShift.js +8 -5
- package/dist/components/time-field/TimeField.generated.d.ts +1 -1
- package/dist/components/time-field/TimeField.generated.js +160 -221
- package/dist/components/time-field/TimeField.recipe.d.ts +1 -1
- package/dist/components/toast/Toast.generated.d.ts +2 -1
- package/dist/components/toast/Toast.generated.js +234 -306
- package/dist/components/toast/Toast.recipe.d.ts +1 -1
- package/dist/components/toolbar/Toolbar.generated.d.ts +1 -1
- package/dist/components/toolbar/Toolbar.generated.js +33 -45
- package/dist/components/toolbar/Toolbar.recipe.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.generated.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.generated.js +86 -125
- package/dist/components/tooltip/Tooltip.recipe.d.ts +1 -1
- package/dist/components/utils.d.ts +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/video-preview/VideoPreview.generated.d.ts +2 -1
- package/dist/components/video-preview/VideoPreview.generated.js +28 -37
- package/dist/components/video-preview/VideoPreview.recipe.d.ts +1 -1
- package/dist/components/vocabulary.d.ts +19 -1
- package/dist/hooks/date/useCalendarNavigation.d.ts +4 -4
- package/dist/hooks/date/useCalendarState.d.ts +6 -6
- package/dist/hooks/date/useDateSelection.d.ts +2 -2
- package/dist/hooks/date/usePickerOpenState.d.ts +2 -2
- package/dist/hooks/date/usePickerOpenState.js +2 -2
- package/dist/hooks/date/useRangeSelection.d.ts +8 -8
- package/dist/hooks/form/FormContext.d.ts +1 -1
- package/dist/hooks/form/createForm.d.ts +41 -31
- package/dist/hooks/form/createForm.js +109 -84
- package/dist/hooks/form/useFieldNew.d.ts +3 -3
- package/dist/hooks/form/useFieldNew.js +6 -15
- package/dist/hooks/layout/useDesktop.d.ts +1 -1
- package/dist/hooks/layout/useDesktop.js +2 -2
- package/dist/hooks/table/index.d.ts +0 -7
- package/dist/hooks/table/index.js +0 -7
- package/dist/hooks/table/useAnchoredOverlayPosition.d.ts +3 -2
- package/dist/index.d.ts +3 -5
- package/dist/index.js +1 -2
- package/dist/layouts.manifest.json +1 -1
- package/dist/lib/layouts/index.d.ts +1 -1
- package/dist/lib/layouts/index.js +1 -1
- package/dist/lib/twMerge.d.ts +21 -0
- package/dist/lib/twMerge.js +12 -0
- package/dist/motion/solid/AnimatedCollapse.d.ts +3 -14
- package/dist/motion/solid/AnimatedCollapse.js +20 -42
- package/dist/motion/solid/MotionDiv.d.ts +2 -1
- package/dist/motion/solid/MotionDiv.js +16 -28
- package/dist/motion/solid/Presence.d.ts +3 -10
- package/dist/motion/solid/Presence.js +2 -15
- package/dist/motion/solid/collapseState.d.ts +14 -0
- package/dist/motion/solid/collapseState.js +22 -0
- package/dist/motion/solid/presenceState.d.ts +9 -0
- package/dist/motion/solid/presenceState.js +15 -0
- package/package.json +13 -33
- package/dist/hooks/table/helpers.d.ts +0 -7
- package/dist/hooks/table/helpers.js +0 -26
- package/dist/hooks/table/useTableExpansion.d.ts +0 -13
- package/dist/hooks/table/useTableExpansion.js +0 -17
- package/dist/hooks/table/useTableFiltering.d.ts +0 -30
- package/dist/hooks/table/useTableFiltering.js +0 -67
- package/dist/hooks/table/useTableModel.d.ts +0 -27
- package/dist/hooks/table/useTableModel.js +0 -56
- package/dist/hooks/table/useTablePagination.d.ts +0 -20
- package/dist/hooks/table/useTablePagination.js +0 -48
- package/dist/hooks/table/useTableSelection.d.ts +0 -14
- package/dist/hooks/table/useTableSelection.js +0 -17
- package/dist/hooks/table/useTableSorting.d.ts +0 -19
- package/dist/hooks/table/useTableSorting.js +0 -21
- package/dist/primitives/virtualizer/index.d.ts +0 -2
- package/dist/primitives/virtualizer/index.js +0 -1
- package/dist/primitives/virtualizer/useVirtualRows.d.ts +0 -18
- package/dist/primitives/virtualizer/useVirtualRows.js +0 -31
|
@@ -1,32 +1,21 @@
|
|
|
1
|
-
import { createComponent, insert, mergeProps, spread, template } from "
|
|
2
|
-
import { defineComponent } from "solid-layouts/application-boundary";
|
|
3
|
-
import { For, Show,
|
|
4
|
-
import { twMerge } from "
|
|
1
|
+
import { createComponent, insert, mergeProps, spread, template } from "@solidjs/web";
|
|
2
|
+
import { defineComponent } from "solid-layouts/solid-2/application-boundary";
|
|
3
|
+
import { For, Show, omit } from "solid-js";
|
|
4
|
+
import { twMerge } from "../../lib/twMerge.js";
|
|
5
5
|
import { Empty } from "../empty/index.js";
|
|
6
6
|
import icon from "../icon/index.js";
|
|
7
7
|
import { tableMobileListViewRecipe } from "./Table.recipe.js";
|
|
8
8
|
var _tmpl$ = /*#__PURE__*/ template("<div><ul>"), _tmpl$2 = /*#__PURE__*/ template("<li class=py-8 data-slot=table-mobile-list-view-empty>"), _tmpl$3 = /*#__PURE__*/ template("<li>");
|
|
9
9
|
const __solidLayoutMobileListView = (_stable, p)=>{
|
|
10
|
-
const
|
|
11
|
-
"rows",
|
|
12
|
-
"renderRow",
|
|
13
|
-
"empty",
|
|
14
|
-
"listClass",
|
|
15
|
-
"itemClass",
|
|
16
|
-
"children",
|
|
17
|
-
"emptyTitle",
|
|
18
|
-
"emptyIcon",
|
|
19
|
-
"class",
|
|
20
|
-
"dataTheme"
|
|
21
|
-
]);
|
|
10
|
+
const rest = omit(p, "rows", "renderRow", "empty", "listClass", "itemClass", "children", "emptyTitle", "emptyIcon", "class", "dataTheme");
|
|
22
11
|
const renderRow = (row, index)=>{
|
|
23
|
-
if (
|
|
24
|
-
if (
|
|
12
|
+
if (p.renderRow) return p.renderRow(row, index);
|
|
13
|
+
if (p.children) return p.children(row, index);
|
|
25
14
|
return null;
|
|
26
15
|
};
|
|
27
16
|
const emptyContent = ()=>{
|
|
28
|
-
if (
|
|
29
|
-
if (!
|
|
17
|
+
if (p.empty) return p.empty;
|
|
18
|
+
if (!p.emptyTitle) return null;
|
|
30
19
|
return createComponent(Empty, {
|
|
31
20
|
get children () {
|
|
32
21
|
return [
|
|
@@ -34,7 +23,7 @@ const __solidLayoutMobileListView = (_stable, p)=>{
|
|
|
34
23
|
get children () {
|
|
35
24
|
return createComponent(icon, {
|
|
36
25
|
get src () {
|
|
37
|
-
return
|
|
26
|
+
return p.emptyIcon ?? "icon-[mdi--inbox-outline]";
|
|
38
27
|
},
|
|
39
28
|
width: 24,
|
|
40
29
|
height: 24
|
|
@@ -43,64 +32,62 @@ const __solidLayoutMobileListView = (_stable, p)=>{
|
|
|
43
32
|
}),
|
|
44
33
|
createComponent(Empty.Title, {
|
|
45
34
|
get children () {
|
|
46
|
-
return
|
|
35
|
+
return p.emptyTitle;
|
|
47
36
|
}
|
|
48
37
|
})
|
|
49
38
|
];
|
|
50
39
|
}
|
|
51
40
|
});
|
|
52
41
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return _el$;
|
|
103
|
-
})();
|
|
42
|
+
var _el$ = _tmpl$(), _el$2 = _el$.firstChild;
|
|
43
|
+
spread(_el$, mergeProps(rest, ()=>({
|
|
44
|
+
class: twMerge("w-full", p.class)
|
|
45
|
+
}), {
|
|
46
|
+
get ["data-theme"] () {
|
|
47
|
+
return p.dataTheme;
|
|
48
|
+
},
|
|
49
|
+
"data-slot": "table-mobile-list-view"
|
|
50
|
+
}), true);
|
|
51
|
+
spread(_el$2, mergeProps(()=>({
|
|
52
|
+
class: twMerge("divide-y divide-base-content/10", p.listClass)
|
|
53
|
+
}), {
|
|
54
|
+
"data-slot": "table-mobile-list-view-list"
|
|
55
|
+
}), true);
|
|
56
|
+
insert(_el$2, createComponent(Show, {
|
|
57
|
+
get when () {
|
|
58
|
+
return p.rows.length > 0;
|
|
59
|
+
},
|
|
60
|
+
get fallback () {
|
|
61
|
+
return createComponent(Show, {
|
|
62
|
+
get when () {
|
|
63
|
+
return emptyContent();
|
|
64
|
+
},
|
|
65
|
+
get children () {
|
|
66
|
+
var _el$3 = _tmpl$2();
|
|
67
|
+
insert(_el$3, emptyContent);
|
|
68
|
+
return _el$3;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
get children () {
|
|
73
|
+
return createComponent(For, {
|
|
74
|
+
get each () {
|
|
75
|
+
return p.rows;
|
|
76
|
+
},
|
|
77
|
+
children: (row, index)=>p.renderRow ? (()=>{
|
|
78
|
+
var _el$4 = _tmpl$3();
|
|
79
|
+
spread(_el$4, mergeProps(()=>({
|
|
80
|
+
class: p.itemClass
|
|
81
|
+
}), {
|
|
82
|
+
"data-slot": "table-mobile-list-view-item"
|
|
83
|
+
}), true);
|
|
84
|
+
insert(_el$4, ()=>renderRow(row, index()));
|
|
85
|
+
return _el$4;
|
|
86
|
+
})() : renderRow(row, index())
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}));
|
|
90
|
+
return _el$;
|
|
104
91
|
};
|
|
105
92
|
const MobileListView = defineComponent({
|
|
106
93
|
recipe: tableMobileListViewRecipe,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { JSX } from "@solidjs/web";
|
|
3
3
|
import type { UIBaseProps } from "../vocabulary";
|
|
4
4
|
export type SortIconState = "asc" | "desc" | "none";
|
|
5
5
|
export type SortIconProps = UIBaseProps & {
|
|
@@ -1,68 +1,58 @@
|
|
|
1
|
-
import { createComponent, insert, mergeProps, spread, template } from "
|
|
2
|
-
import { defineComponent } from "solid-layouts/application-boundary";
|
|
3
|
-
import { Show,
|
|
4
|
-
import { twMerge } from "
|
|
1
|
+
import { createComponent, insert, mergeProps, spread, template } from "@solidjs/web";
|
|
2
|
+
import { defineComponent } from "solid-layouts/solid-2/application-boundary";
|
|
3
|
+
import { Show, omit } from "solid-js";
|
|
4
|
+
import { twMerge } from "../../lib/twMerge.js";
|
|
5
5
|
import icon from "../icon/index.js";
|
|
6
6
|
import { tableSortIconRecipe } from "./Table.recipe.js";
|
|
7
7
|
var _tmpl$ = /*#__PURE__*/ template("<span>");
|
|
8
8
|
const __solidLayoutSortIcon = (_stable, p)=>{
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
"size",
|
|
12
|
-
"ascIcon",
|
|
13
|
-
"descIcon",
|
|
14
|
-
"neutralIcon",
|
|
15
|
-
"class",
|
|
16
|
-
"dataTheme"
|
|
17
|
-
]);
|
|
18
|
-
const iconSize = ()=>local.size ?? 16;
|
|
9
|
+
const rest = omit(p, "state", "size", "ascIcon", "descIcon", "neutralIcon", "class", "dataTheme");
|
|
10
|
+
const iconSize = ()=>p.size ?? 16;
|
|
19
11
|
const iconName = ()=>{
|
|
20
|
-
if ("asc" ===
|
|
21
|
-
if ("desc" ===
|
|
12
|
+
if ("asc" === p.state) return "icon-[lucide--arrow-up]";
|
|
13
|
+
if ("desc" === p.state) return "icon-[lucide--arrow-down]";
|
|
22
14
|
return "icon-[lucide--arrow-up-down]";
|
|
23
15
|
};
|
|
24
16
|
const customIcon = ()=>{
|
|
25
|
-
if ("asc" ===
|
|
26
|
-
if ("desc" ===
|
|
27
|
-
return
|
|
17
|
+
if ("asc" === p.state) return p.ascIcon;
|
|
18
|
+
if ("desc" === p.state) return p.descIcon;
|
|
19
|
+
return p.neutralIcon;
|
|
28
20
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return _el$;
|
|
65
|
-
})();
|
|
21
|
+
var _el$ = _tmpl$();
|
|
22
|
+
spread(_el$, mergeProps(rest, ()=>({
|
|
23
|
+
class: twMerge("inline-flex shrink-0 items-center justify-center", p.class)
|
|
24
|
+
}), {
|
|
25
|
+
get ["data-theme"] () {
|
|
26
|
+
return p.dataTheme;
|
|
27
|
+
},
|
|
28
|
+
"data-slot": "table-sort-icon",
|
|
29
|
+
get ["data-state"] () {
|
|
30
|
+
return p.state;
|
|
31
|
+
},
|
|
32
|
+
"aria-hidden": "true"
|
|
33
|
+
}), true);
|
|
34
|
+
insert(_el$, createComponent(Show, {
|
|
35
|
+
get when () {
|
|
36
|
+
return customIcon();
|
|
37
|
+
},
|
|
38
|
+
get fallback () {
|
|
39
|
+
return createComponent(icon, {
|
|
40
|
+
get src () {
|
|
41
|
+
return iconName();
|
|
42
|
+
},
|
|
43
|
+
get width () {
|
|
44
|
+
return iconSize();
|
|
45
|
+
},
|
|
46
|
+
get height () {
|
|
47
|
+
return iconSize();
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
get children () {
|
|
52
|
+
return customIcon();
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
return _el$;
|
|
66
56
|
};
|
|
67
57
|
const SortIcon = defineComponent({
|
|
68
58
|
recipe: tableSortIconRecipe,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type Accessor
|
|
1
|
+
import { type Accessor } from "solid-js";
|
|
2
|
+
import type { JSX } from "@solidjs/web";
|
|
2
3
|
export type TableVariant = "primary" | "secondary";
|
|
3
4
|
export type TableSortDirection = "ascending" | "descending";
|
|
4
5
|
export type TableSortDescriptor = {
|
|
@@ -12,12 +13,12 @@ export type TableColumnChildren = JSX.Element | ((props: TableColumnRenderProps)
|
|
|
12
13
|
export type TableContextValue = {
|
|
13
14
|
variant: Accessor<TableVariant>;
|
|
14
15
|
};
|
|
15
|
-
export declare const TableContext: import("solid-js").Context<TableContextValue
|
|
16
|
+
export declare const TableContext: import("solid-js").Context<TableContextValue>;
|
|
16
17
|
export type TableContentContextValue = {
|
|
17
18
|
sortDescriptor: Accessor<TableSortDescriptor | undefined>;
|
|
18
19
|
onSortChange?: (descriptor: TableSortDescriptor) => void;
|
|
19
20
|
};
|
|
20
|
-
export declare const TableContentContext: import("solid-js").Context<TableContentContextValue
|
|
21
|
+
export declare const TableContentContext: import("solid-js").Context<TableContentContextValue>;
|
|
21
22
|
export declare const useTableContext: () => TableContextValue;
|
|
22
23
|
export declare const useTableContentContext: () => TableContentContextValue;
|
|
23
24
|
export declare const invokeEventHandler: (handler: unknown, event: Event) => void;
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { createContext, useContext } from "solid-js";
|
|
2
|
-
const TableContext = createContext(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
const useTableContentContext = ()=>{
|
|
12
|
-
const context = useContext(TableContentContext);
|
|
13
|
-
if (context) return context;
|
|
14
|
-
return {
|
|
15
|
-
sortDescriptor: ()=>void 0
|
|
16
|
-
};
|
|
17
|
-
};
|
|
2
|
+
const TableContext = createContext({
|
|
3
|
+
variant: ()=>"primary"
|
|
4
|
+
});
|
|
5
|
+
const TableContentContext = createContext({
|
|
6
|
+
sortDescriptor: ()=>void 0
|
|
7
|
+
});
|
|
8
|
+
const useTableContext = ()=>useContext(TableContext);
|
|
9
|
+
const useTableContentContext = ()=>useContext(TableContentContext);
|
|
18
10
|
const invokeEventHandler = (handler, event)=>{
|
|
19
11
|
if ("function" == typeof handler) return void handler(event);
|
|
20
12
|
if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
|
|
@@ -24,77 +24,77 @@ export declare const CLASSES: {
|
|
|
24
24
|
readonly loadMore: "table__load-more";
|
|
25
25
|
readonly loadMoreContent: "table__load-more-content";
|
|
26
26
|
};
|
|
27
|
-
export declare const componentRecipe: import("solid-layouts").Recipe<{
|
|
27
|
+
export declare const componentRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
28
28
|
readonly component: "table";
|
|
29
29
|
readonly slots: {
|
|
30
30
|
readonly root: {};
|
|
31
31
|
readonly table: {};
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
|
-
export declare const tableScrollContainerRecipe: import("solid-layouts").Recipe<{
|
|
34
|
+
export declare const tableScrollContainerRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
35
35
|
readonly component: "table-scroll-container";
|
|
36
36
|
readonly slots: {
|
|
37
37
|
readonly root: {};
|
|
38
38
|
readonly "table-scroll-container": {};
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
|
-
export declare const tableContentRecipe: import("solid-layouts").Recipe<{
|
|
41
|
+
export declare const tableContentRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
42
42
|
readonly component: "table-content";
|
|
43
43
|
readonly slots: {
|
|
44
44
|
readonly root: {};
|
|
45
45
|
readonly "table-content": {};
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
export declare const tableHeaderRecipe: import("solid-layouts").Recipe<{
|
|
48
|
+
export declare const tableHeaderRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
49
49
|
readonly component: "table-header";
|
|
50
50
|
readonly slots: {
|
|
51
51
|
readonly root: {};
|
|
52
52
|
readonly "table-header": {};
|
|
53
53
|
};
|
|
54
54
|
}>;
|
|
55
|
-
export declare const tableColumnRecipe: import("solid-layouts").Recipe<{
|
|
55
|
+
export declare const tableColumnRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
56
56
|
readonly component: "table-column";
|
|
57
57
|
readonly slots: {
|
|
58
58
|
readonly root: {};
|
|
59
59
|
readonly "table-column": {};
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
|
-
export declare const tableBodyRecipe: import("solid-layouts").Recipe<{
|
|
62
|
+
export declare const tableBodyRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
63
63
|
readonly component: "table-body";
|
|
64
64
|
readonly slots: {
|
|
65
65
|
readonly root: {};
|
|
66
66
|
readonly "table-body": {};
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
69
|
-
export declare const tableRowRecipe: import("solid-layouts").Recipe<{
|
|
69
|
+
export declare const tableRowRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
70
70
|
readonly component: "table-row";
|
|
71
71
|
readonly slots: {
|
|
72
72
|
readonly root: {};
|
|
73
73
|
readonly "table-row": {};
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
76
|
-
export declare const tableCellRecipe: import("solid-layouts").Recipe<{
|
|
76
|
+
export declare const tableCellRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
77
77
|
readonly component: "table-cell";
|
|
78
78
|
readonly slots: {
|
|
79
79
|
readonly root: {};
|
|
80
80
|
readonly "table-cell": {};
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
83
|
-
export declare const tableExpandedRowRecipe: import("solid-layouts").Recipe<{
|
|
83
|
+
export declare const tableExpandedRowRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
84
84
|
readonly component: "table-expanded-row";
|
|
85
85
|
readonly slots: {
|
|
86
86
|
readonly root: {};
|
|
87
87
|
readonly "table-expanded-row": {};
|
|
88
88
|
};
|
|
89
89
|
}>;
|
|
90
|
-
export declare const tableFooterRecipe: import("solid-layouts").Recipe<{
|
|
90
|
+
export declare const tableFooterRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
91
91
|
readonly component: "table-footer";
|
|
92
92
|
readonly slots: {
|
|
93
93
|
readonly root: {};
|
|
94
94
|
readonly "table-footer": {};
|
|
95
95
|
};
|
|
96
96
|
}>;
|
|
97
|
-
export declare const tablePageSizeRecipe: import("solid-layouts").Recipe<{
|
|
97
|
+
export declare const tablePageSizeRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
98
98
|
readonly component: "table-page-size";
|
|
99
99
|
readonly slots: {
|
|
100
100
|
readonly root: {};
|
|
@@ -102,56 +102,56 @@ export declare const tablePageSizeRecipe: import("solid-layouts").Recipe<{
|
|
|
102
102
|
readonly "table-page-size-label": {};
|
|
103
103
|
};
|
|
104
104
|
}>;
|
|
105
|
-
export declare const tableResizableContainerRecipe: import("solid-layouts").Recipe<{
|
|
105
|
+
export declare const tableResizableContainerRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
106
106
|
readonly component: "table-resizable-container";
|
|
107
107
|
readonly slots: {
|
|
108
108
|
readonly root: {};
|
|
109
109
|
readonly "table-resizable-container": {};
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
|
-
export declare const tableColumnResizerRecipe: import("solid-layouts").Recipe<{
|
|
112
|
+
export declare const tableColumnResizerRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
113
113
|
readonly component: "table-column-resizer";
|
|
114
114
|
readonly slots: {
|
|
115
115
|
readonly root: {};
|
|
116
116
|
readonly "table-column-resizer": {};
|
|
117
117
|
};
|
|
118
118
|
}>;
|
|
119
|
-
export declare const tableLoadMoreRecipe: import("solid-layouts").Recipe<{
|
|
119
|
+
export declare const tableLoadMoreRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
120
120
|
readonly component: "table-load-more";
|
|
121
121
|
readonly slots: {
|
|
122
122
|
readonly root: {};
|
|
123
123
|
readonly "table-load-more": {};
|
|
124
124
|
};
|
|
125
125
|
}>;
|
|
126
|
-
export declare const tableLoadMoreContentRecipe: import("solid-layouts").Recipe<{
|
|
126
|
+
export declare const tableLoadMoreContentRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
127
127
|
readonly component: "table-load-more-content";
|
|
128
128
|
readonly slots: {
|
|
129
129
|
readonly root: {};
|
|
130
130
|
readonly "table-load-more-content": {};
|
|
131
131
|
};
|
|
132
132
|
}>;
|
|
133
|
-
export declare const tableSortIconRecipe: import("solid-layouts").Recipe<{
|
|
133
|
+
export declare const tableSortIconRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
134
134
|
readonly component: "table-sort-icon";
|
|
135
135
|
readonly slots: {
|
|
136
136
|
readonly root: {};
|
|
137
137
|
readonly "table-sort-icon": {};
|
|
138
138
|
};
|
|
139
139
|
}>;
|
|
140
|
-
export declare const tableExpandToggleRecipe: import("solid-layouts").Recipe<{
|
|
140
|
+
export declare const tableExpandToggleRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
141
141
|
readonly component: "table-expand-toggle";
|
|
142
142
|
readonly slots: {
|
|
143
143
|
readonly root: {};
|
|
144
144
|
readonly "table-expand-toggle": {};
|
|
145
145
|
};
|
|
146
146
|
}>;
|
|
147
|
-
export declare const tableVirtualSpacerRowRecipe: import("solid-layouts").Recipe<{
|
|
147
|
+
export declare const tableVirtualSpacerRowRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
148
148
|
readonly component: "table-virtual-spacer-row";
|
|
149
149
|
readonly slots: {
|
|
150
150
|
readonly root: {};
|
|
151
151
|
readonly "table-virtual-spacer-row": {};
|
|
152
152
|
};
|
|
153
153
|
}>;
|
|
154
|
-
export declare const tableMobileListViewRecipe: import("solid-layouts").Recipe<{
|
|
154
|
+
export declare const tableMobileListViewRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
155
155
|
readonly component: "table-mobile-list-view";
|
|
156
156
|
readonly slots: {
|
|
157
157
|
readonly root: {};
|
|
@@ -161,7 +161,7 @@ export declare const tableMobileListViewRecipe: import("solid-layouts").Recipe<{
|
|
|
161
161
|
readonly "table-mobile-list-view-empty": {};
|
|
162
162
|
};
|
|
163
163
|
}>;
|
|
164
|
-
export declare const tableInlineConfirmRecipe: import("solid-layouts").Recipe<{
|
|
164
|
+
export declare const tableInlineConfirmRecipe: import("solid-layouts/solid-2").Recipe<{
|
|
165
165
|
readonly component: "table-inline-confirm";
|
|
166
166
|
readonly slots: {
|
|
167
167
|
readonly root: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { JSX } from "@solidjs/web";
|
|
3
3
|
import type { UIBaseProps } from "../vocabulary";
|
|
4
4
|
export type TableBodyProps = JSX.HTMLAttributes<HTMLTableSectionElement> & UIBaseProps;
|
|
5
5
|
declare const TableBody: __LayoutComponent<TableBodyProps>;
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import { insert, mergeProps, spread, template } from "
|
|
2
|
-
import { defineComponent } from "solid-layouts/application-boundary";
|
|
3
|
-
import {
|
|
4
|
-
import { twMerge } from "
|
|
1
|
+
import { insert, mergeProps, spread, template } from "@solidjs/web";
|
|
2
|
+
import { defineComponent } from "solid-layouts/solid-2/application-boundary";
|
|
3
|
+
import { omit } from "solid-js";
|
|
4
|
+
import { twMerge } from "../../lib/twMerge.js";
|
|
5
5
|
import { CLASSES, tableBodyRecipe } from "./Table.recipe.js";
|
|
6
6
|
var _tmpl$ = /*#__PURE__*/ template("<tbody>");
|
|
7
7
|
const __solidLayoutTableBody = (_stable, p)=>{
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
"data-slot": "table-body"
|
|
22
|
-
}, rest), false, true);
|
|
23
|
-
insert(_el$, ()=>local.children);
|
|
24
|
-
return _el$;
|
|
25
|
-
})();
|
|
8
|
+
const rest = omit(p, "children", "class", "dataTheme");
|
|
9
|
+
var _el$ = _tmpl$();
|
|
10
|
+
spread(_el$, mergeProps(()=>({
|
|
11
|
+
class: twMerge(CLASSES.body, p.class)
|
|
12
|
+
}), {
|
|
13
|
+
get ["data-theme"] () {
|
|
14
|
+
return p.dataTheme;
|
|
15
|
+
},
|
|
16
|
+
"data-slot": "table-body"
|
|
17
|
+
}, rest), true);
|
|
18
|
+
insert(_el$, ()=>p.children);
|
|
19
|
+
return _el$;
|
|
26
20
|
};
|
|
27
21
|
const TableBody = defineComponent({
|
|
28
22
|
recipe: tableBodyRecipe,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { JSX } from "@solidjs/web";
|
|
3
3
|
import type { UIBaseProps } from "../vocabulary";
|
|
4
4
|
export type TableCellProps = JSX.TdHTMLAttributes<HTMLTableCellElement> & UIBaseProps;
|
|
5
5
|
declare const TableCell: __LayoutComponent<TableCellProps>;
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import { insert, mergeProps, spread, template } from "
|
|
2
|
-
import { defineComponent } from "solid-layouts/application-boundary";
|
|
3
|
-
import {
|
|
4
|
-
import { twMerge } from "
|
|
1
|
+
import { insert, mergeProps, spread, template } from "@solidjs/web";
|
|
2
|
+
import { defineComponent } from "solid-layouts/solid-2/application-boundary";
|
|
3
|
+
import { omit } from "solid-js";
|
|
4
|
+
import { twMerge } from "../../lib/twMerge.js";
|
|
5
5
|
import { CLASSES, tableCellRecipe } from "./Table.recipe.js";
|
|
6
6
|
var _tmpl$ = /*#__PURE__*/ template("<td>");
|
|
7
7
|
const __solidLayoutTableCell = (_stable, p)=>{
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
"data-slot": "table-cell"
|
|
22
|
-
}, rest), false, true);
|
|
23
|
-
insert(_el$, ()=>local.children);
|
|
24
|
-
return _el$;
|
|
25
|
-
})();
|
|
8
|
+
const rest = omit(p, "children", "class", "dataTheme");
|
|
9
|
+
var _el$ = _tmpl$();
|
|
10
|
+
spread(_el$, mergeProps(()=>({
|
|
11
|
+
class: twMerge(CLASSES.cell, p.class)
|
|
12
|
+
}), {
|
|
13
|
+
get ["data-theme"] () {
|
|
14
|
+
return p.dataTheme;
|
|
15
|
+
},
|
|
16
|
+
"data-slot": "table-cell"
|
|
17
|
+
}, rest), true);
|
|
18
|
+
insert(_el$, ()=>p.children);
|
|
19
|
+
return _el$;
|
|
26
20
|
};
|
|
27
21
|
const TableCell = defineComponent({
|
|
28
22
|
recipe: tableCellRecipe,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { JSX } from "@solidjs/web";
|
|
3
3
|
import type { UIBaseProps } from "../vocabulary";
|
|
4
4
|
import { type TableColumnChildren } from "./Table.context";
|
|
5
5
|
export type TableColumnProps = Omit<JSX.ThHTMLAttributes<HTMLTableCellElement>, "id" | "children"> & UIBaseProps & {
|