@skeletonlabs/skeleton-react 4.3.3 → 4.4.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/dist/index.d.mts +1529 -292
- package/dist/index.mjs +4000 -50
- package/package.json +32 -31
- package/dist/components/accordion/anatomy/item-content.d.mts +0 -11
- package/dist/components/accordion/anatomy/item-content.mjs +0 -22
- package/dist/components/accordion/anatomy/item-indicator.d.mts +0 -11
- package/dist/components/accordion/anatomy/item-indicator.mjs +0 -22
- package/dist/components/accordion/anatomy/item-trigger.d.mts +0 -11
- package/dist/components/accordion/anatomy/item-trigger.mjs +0 -22
- package/dist/components/accordion/anatomy/item.d.mts +0 -12
- package/dist/components/accordion/anatomy/item.mjs +0 -26
- package/dist/components/accordion/anatomy/root-context.d.mts +0 -11
- package/dist/components/accordion/anatomy/root-context.mjs +0 -13
- package/dist/components/accordion/anatomy/root-provider.d.mts +0 -13
- package/dist/components/accordion/anatomy/root-provider.mjs +0 -21
- package/dist/components/accordion/anatomy/root.d.mts +0 -11
- package/dist/components/accordion/anatomy/root.mjs +0 -25
- package/dist/components/accordion/index.d.mts +0 -9
- package/dist/components/accordion/modules/anatomy.d.mts +0 -20
- package/dist/components/accordion/modules/anatomy.mjs +0 -21
- package/dist/components/accordion/modules/item-context.mjs +0 -8
- package/dist/components/accordion/modules/provider.d.mts +0 -8
- package/dist/components/accordion/modules/provider.mjs +0 -15
- package/dist/components/accordion/modules/root-context.mjs +0 -8
- package/dist/components/app-bar/anatomy/headline.d.mts +0 -10
- package/dist/components/app-bar/anatomy/headline.mjs +0 -17
- package/dist/components/app-bar/anatomy/lead.d.mts +0 -10
- package/dist/components/app-bar/anatomy/lead.mjs +0 -17
- package/dist/components/app-bar/anatomy/root.d.mts +0 -10
- package/dist/components/app-bar/anatomy/root.mjs +0 -17
- package/dist/components/app-bar/anatomy/toolbar.d.mts +0 -10
- package/dist/components/app-bar/anatomy/toolbar.mjs +0 -17
- package/dist/components/app-bar/anatomy/trail.d.mts +0 -10
- package/dist/components/app-bar/anatomy/trail.mjs +0 -17
- package/dist/components/app-bar/index.d.mts +0 -6
- package/dist/components/app-bar/modules/anatomy.d.mts +0 -16
- package/dist/components/app-bar/modules/anatomy.mjs +0 -17
- package/dist/components/avatar/anatomy/fallback.d.mts +0 -10
- package/dist/components/avatar/anatomy/fallback.mjs +0 -20
- package/dist/components/avatar/anatomy/image.d.mts +0 -10
- package/dist/components/avatar/anatomy/image.mjs +0 -17
- package/dist/components/avatar/anatomy/root-context.d.mts +0 -11
- package/dist/components/avatar/anatomy/root-context.mjs +0 -13
- package/dist/components/avatar/anatomy/root-provider.d.mts +0 -13
- package/dist/components/avatar/anatomy/root-provider.mjs +0 -21
- package/dist/components/avatar/anatomy/root.d.mts +0 -11
- package/dist/components/avatar/anatomy/root.mjs +0 -25
- package/dist/components/avatar/index.d.mts +0 -7
- package/dist/components/avatar/modules/anatomy.d.mts +0 -16
- package/dist/components/avatar/modules/anatomy.mjs +0 -17
- package/dist/components/avatar/modules/provider.d.mts +0 -8
- package/dist/components/avatar/modules/provider.mjs +0 -15
- package/dist/components/avatar/modules/root-context.mjs +0 -8
- package/dist/components/collapsible/anatomy/content.d.mts +0 -10
- package/dist/components/collapsible/anatomy/content.mjs +0 -20
- package/dist/components/collapsible/anatomy/indicator.d.mts +0 -10
- package/dist/components/collapsible/anatomy/indicator.mjs +0 -20
- package/dist/components/collapsible/anatomy/root-context.d.mts +0 -11
- package/dist/components/collapsible/anatomy/root-context.mjs +0 -13
- package/dist/components/collapsible/anatomy/root-provider.d.mts +0 -13
- package/dist/components/collapsible/anatomy/root-provider.mjs +0 -21
- package/dist/components/collapsible/anatomy/root.d.mts +0 -11
- package/dist/components/collapsible/anatomy/root.mjs +0 -25
- package/dist/components/collapsible/anatomy/trigger.d.mts +0 -10
- package/dist/components/collapsible/anatomy/trigger.mjs +0 -20
- package/dist/components/collapsible/index.d.mts +0 -8
- package/dist/components/collapsible/modules/anatomy.d.mts +0 -18
- package/dist/components/collapsible/modules/anatomy.mjs +0 -19
- package/dist/components/collapsible/modules/provider.d.mts +0 -8
- package/dist/components/collapsible/modules/provider.mjs +0 -15
- package/dist/components/collapsible/modules/root-context.mjs +0 -8
- package/dist/components/combobox/anatomy/content.d.mts +0 -10
- package/dist/components/combobox/anatomy/content.mjs +0 -20
- package/dist/components/combobox/anatomy/control.d.mts +0 -10
- package/dist/components/combobox/anatomy/control.mjs +0 -20
- package/dist/components/combobox/anatomy/input.d.mts +0 -10
- package/dist/components/combobox/anatomy/input.mjs +0 -17
- package/dist/components/combobox/anatomy/item-group-label.d.mts +0 -11
- package/dist/components/combobox/anatomy/item-group-label.mjs +0 -26
- package/dist/components/combobox/anatomy/item-group.d.mts +0 -11
- package/dist/components/combobox/anatomy/item-group.mjs +0 -29
- package/dist/components/combobox/anatomy/item-indicator.d.mts +0 -10
- package/dist/components/combobox/anatomy/item-indicator.mjs +0 -23
- package/dist/components/combobox/anatomy/item-text.d.mts +0 -10
- package/dist/components/combobox/anatomy/item-text.mjs +0 -22
- package/dist/components/combobox/anatomy/item.d.mts +0 -11
- package/dist/components/combobox/anatomy/item.mjs +0 -26
- package/dist/components/combobox/anatomy/label.d.mts +0 -10
- package/dist/components/combobox/anatomy/label.mjs +0 -20
- package/dist/components/combobox/anatomy/positioner.d.mts +0 -10
- package/dist/components/combobox/anatomy/positioner.mjs +0 -20
- package/dist/components/combobox/anatomy/root-context.d.mts +0 -11
- package/dist/components/combobox/anatomy/root-context.mjs +0 -13
- package/dist/components/combobox/anatomy/root-provider.d.mts +0 -13
- package/dist/components/combobox/anatomy/root-provider.mjs +0 -21
- package/dist/components/combobox/anatomy/root.d.mts +0 -11
- package/dist/components/combobox/anatomy/root.mjs +0 -25
- package/dist/components/combobox/anatomy/trigger.d.mts +0 -10
- package/dist/components/combobox/anatomy/trigger.mjs +0 -21
- package/dist/components/combobox/index.d.mts +0 -16
- package/dist/components/combobox/modules/anatomy.d.mts +0 -34
- package/dist/components/combobox/modules/anatomy.mjs +0 -35
- package/dist/components/combobox/modules/item-context.mjs +0 -8
- package/dist/components/combobox/modules/item-group-context.mjs +0 -8
- package/dist/components/combobox/modules/provider.d.mts +0 -8
- package/dist/components/combobox/modules/provider.mjs +0 -15
- package/dist/components/combobox/modules/root-context.mjs +0 -8
- package/dist/components/date-picker/anatomy/content.d.mts +0 -10
- package/dist/components/date-picker/anatomy/content.mjs +0 -20
- package/dist/components/date-picker/anatomy/control.d.mts +0 -10
- package/dist/components/date-picker/anatomy/control.mjs +0 -20
- package/dist/components/date-picker/anatomy/input.d.mts +0 -11
- package/dist/components/date-picker/anatomy/input.mjs +0 -19
- package/dist/components/date-picker/anatomy/label.d.mts +0 -10
- package/dist/components/date-picker/anatomy/label.mjs +0 -20
- package/dist/components/date-picker/anatomy/month-select.d.mts +0 -10
- package/dist/components/date-picker/anatomy/month-select.mjs +0 -23
- package/dist/components/date-picker/anatomy/next-trigger.d.mts +0 -10
- package/dist/components/date-picker/anatomy/next-trigger.mjs +0 -23
- package/dist/components/date-picker/anatomy/positioner.d.mts +0 -10
- package/dist/components/date-picker/anatomy/positioner.mjs +0 -20
- package/dist/components/date-picker/anatomy/preset-trigger.d.mts +0 -11
- package/dist/components/date-picker/anatomy/preset-trigger.mjs +0 -22
- package/dist/components/date-picker/anatomy/prev-trigger.d.mts +0 -10
- package/dist/components/date-picker/anatomy/prev-trigger.mjs +0 -23
- package/dist/components/date-picker/anatomy/range-text.d.mts +0 -10
- package/dist/components/date-picker/anatomy/range-text.mjs +0 -21
- package/dist/components/date-picker/anatomy/root-context.d.mts +0 -11
- package/dist/components/date-picker/anatomy/root-context.mjs +0 -13
- package/dist/components/date-picker/anatomy/root-provider.d.mts +0 -13
- package/dist/components/date-picker/anatomy/root-provider.mjs +0 -21
- package/dist/components/date-picker/anatomy/root.d.mts +0 -11
- package/dist/components/date-picker/anatomy/root.mjs +0 -25
- package/dist/components/date-picker/anatomy/table-body.d.mts +0 -10
- package/dist/components/date-picker/anatomy/table-body.mjs +0 -22
- package/dist/components/date-picker/anatomy/table-cell-trigger.d.mts +0 -10
- package/dist/components/date-picker/anatomy/table-cell-trigger.mjs +0 -31
- package/dist/components/date-picker/anatomy/table-cell.d.mts +0 -12
- package/dist/components/date-picker/anatomy/table-cell.mjs +0 -35
- package/dist/components/date-picker/anatomy/table-head.d.mts +0 -10
- package/dist/components/date-picker/anatomy/table-head.mjs +0 -22
- package/dist/components/date-picker/anatomy/table-header.d.mts +0 -10
- package/dist/components/date-picker/anatomy/table-header.mjs +0 -22
- package/dist/components/date-picker/anatomy/table-row.d.mts +0 -10
- package/dist/components/date-picker/anatomy/table-row.mjs +0 -22
- package/dist/components/date-picker/anatomy/table.d.mts +0 -10
- package/dist/components/date-picker/anatomy/table.mjs +0 -22
- package/dist/components/date-picker/anatomy/trigger.d.mts +0 -10
- package/dist/components/date-picker/anatomy/trigger.mjs +0 -21
- package/dist/components/date-picker/anatomy/view-control.d.mts +0 -10
- package/dist/components/date-picker/anatomy/view-control.mjs +0 -22
- package/dist/components/date-picker/anatomy/view-trigger.d.mts +0 -10
- package/dist/components/date-picker/anatomy/view-trigger.mjs +0 -22
- package/dist/components/date-picker/anatomy/view.d.mts +0 -11
- package/dist/components/date-picker/anatomy/view.mjs +0 -26
- package/dist/components/date-picker/anatomy/year-select.d.mts +0 -10
- package/dist/components/date-picker/anatomy/year-select.mjs +0 -23
- package/dist/components/date-picker/index.d.mts +0 -29
- package/dist/components/date-picker/index.mjs +0 -5
- package/dist/components/date-picker/modules/anatomy.d.mts +0 -56
- package/dist/components/date-picker/modules/anatomy.mjs +0 -57
- package/dist/components/date-picker/modules/provider.d.mts +0 -8
- package/dist/components/date-picker/modules/provider.mjs +0 -15
- package/dist/components/date-picker/modules/root-context.mjs +0 -8
- package/dist/components/date-picker/modules/table-cell-context.mjs +0 -8
- package/dist/components/date-picker/modules/view-context.mjs +0 -8
- package/dist/components/dialog/anatomy/backdrop.d.mts +0 -10
- package/dist/components/dialog/anatomy/backdrop.mjs +0 -17
- package/dist/components/dialog/anatomy/close-trigger.d.mts +0 -10
- package/dist/components/dialog/anatomy/close-trigger.mjs +0 -20
- package/dist/components/dialog/anatomy/content.d.mts +0 -10
- package/dist/components/dialog/anatomy/content.mjs +0 -20
- package/dist/components/dialog/anatomy/description.d.mts +0 -10
- package/dist/components/dialog/anatomy/description.mjs +0 -20
- package/dist/components/dialog/anatomy/positioner.d.mts +0 -10
- package/dist/components/dialog/anatomy/positioner.mjs +0 -20
- package/dist/components/dialog/anatomy/root-context.d.mts +0 -11
- package/dist/components/dialog/anatomy/root-context.mjs +0 -13
- package/dist/components/dialog/anatomy/root-provider.d.mts +0 -12
- package/dist/components/dialog/anatomy/root-provider.mjs +0 -15
- package/dist/components/dialog/anatomy/root.d.mts +0 -10
- package/dist/components/dialog/anatomy/root.mjs +0 -20
- package/dist/components/dialog/anatomy/title.d.mts +0 -10
- package/dist/components/dialog/anatomy/title.mjs +0 -20
- package/dist/components/dialog/anatomy/trigger.d.mts +0 -10
- package/dist/components/dialog/anatomy/trigger.mjs +0 -20
- package/dist/components/dialog/index.d.mts +0 -12
- package/dist/components/dialog/modules/anatomy.d.mts +0 -26
- package/dist/components/dialog/modules/anatomy.mjs +0 -27
- package/dist/components/dialog/modules/provider.d.mts +0 -8
- package/dist/components/dialog/modules/provider.mjs +0 -15
- package/dist/components/dialog/modules/root-context.mjs +0 -8
- package/dist/components/file-upload/anatomy/dropzone.d.mts +0 -10
- package/dist/components/file-upload/anatomy/dropzone.mjs +0 -20
- package/dist/components/file-upload/anatomy/hidden-input.d.mts +0 -10
- package/dist/components/file-upload/anatomy/hidden-input.mjs +0 -17
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.mts +0 -10
- package/dist/components/file-upload/anatomy/item-delete-trigger.mjs +0 -22
- package/dist/components/file-upload/anatomy/item-group.d.mts +0 -10
- package/dist/components/file-upload/anatomy/item-group.mjs +0 -20
- package/dist/components/file-upload/anatomy/item-name.d.mts +0 -10
- package/dist/components/file-upload/anatomy/item-name.mjs +0 -22
- package/dist/components/file-upload/anatomy/item-size-text.d.mts +0 -10
- package/dist/components/file-upload/anatomy/item-size-text.mjs +0 -22
- package/dist/components/file-upload/anatomy/item.d.mts +0 -11
- package/dist/components/file-upload/anatomy/item.mjs +0 -26
- package/dist/components/file-upload/anatomy/label.d.mts +0 -10
- package/dist/components/file-upload/anatomy/label.mjs +0 -20
- package/dist/components/file-upload/anatomy/root-context.d.mts +0 -11
- package/dist/components/file-upload/anatomy/root-context.mjs +0 -13
- package/dist/components/file-upload/anatomy/root-provider.d.mts +0 -13
- package/dist/components/file-upload/anatomy/root-provider.mjs +0 -21
- package/dist/components/file-upload/anatomy/root.d.mts +0 -11
- package/dist/components/file-upload/anatomy/root.mjs +0 -25
- package/dist/components/file-upload/anatomy/trigger.d.mts +0 -10
- package/dist/components/file-upload/anatomy/trigger.mjs +0 -20
- package/dist/components/file-upload/index.d.mts +0 -14
- package/dist/components/file-upload/modules/anatomy.d.mts +0 -30
- package/dist/components/file-upload/modules/anatomy.mjs +0 -31
- package/dist/components/file-upload/modules/item-context.mjs +0 -8
- package/dist/components/file-upload/modules/provider.d.mts +0 -8
- package/dist/components/file-upload/modules/provider.mjs +0 -15
- package/dist/components/file-upload/modules/root-context.mjs +0 -8
- package/dist/components/listbox/anatomy/content.d.mts +0 -10
- package/dist/components/listbox/anatomy/content.mjs +0 -20
- package/dist/components/listbox/anatomy/input.d.mts +0 -10
- package/dist/components/listbox/anatomy/input.mjs +0 -17
- package/dist/components/listbox/anatomy/item-group-label.d.mts +0 -11
- package/dist/components/listbox/anatomy/item-group-label.mjs +0 -26
- package/dist/components/listbox/anatomy/item-group.d.mts +0 -11
- package/dist/components/listbox/anatomy/item-group.mjs +0 -29
- package/dist/components/listbox/anatomy/item-indicator.d.mts +0 -10
- package/dist/components/listbox/anatomy/item-indicator.mjs +0 -23
- package/dist/components/listbox/anatomy/item-text.d.mts +0 -10
- package/dist/components/listbox/anatomy/item-text.mjs +0 -22
- package/dist/components/listbox/anatomy/item.d.mts +0 -11
- package/dist/components/listbox/anatomy/item.mjs +0 -26
- package/dist/components/listbox/anatomy/label.d.mts +0 -10
- package/dist/components/listbox/anatomy/label.mjs +0 -20
- package/dist/components/listbox/anatomy/root-context.d.mts +0 -11
- package/dist/components/listbox/anatomy/root-context.mjs +0 -13
- package/dist/components/listbox/anatomy/root-provider.d.mts +0 -13
- package/dist/components/listbox/anatomy/root-provider.mjs +0 -21
- package/dist/components/listbox/anatomy/root.d.mts +0 -11
- package/dist/components/listbox/anatomy/root.mjs +0 -25
- package/dist/components/listbox/index.d.mts +0 -13
- package/dist/components/listbox/modules/anatomy.d.mts +0 -28
- package/dist/components/listbox/modules/anatomy.mjs +0 -29
- package/dist/components/listbox/modules/item-context.mjs +0 -8
- package/dist/components/listbox/modules/item-group-context.mjs +0 -8
- package/dist/components/listbox/modules/provider.d.mts +0 -8
- package/dist/components/listbox/modules/provider.mjs +0 -15
- package/dist/components/listbox/modules/root-context.mjs +0 -8
- package/dist/components/navigation/anatomy/content.d.mts +0 -10
- package/dist/components/navigation/anatomy/content.mjs +0 -23
- package/dist/components/navigation/anatomy/footer.d.mts +0 -10
- package/dist/components/navigation/anatomy/footer.mjs +0 -23
- package/dist/components/navigation/anatomy/group.d.mts +0 -10
- package/dist/components/navigation/anatomy/group.mjs +0 -23
- package/dist/components/navigation/anatomy/header.d.mts +0 -10
- package/dist/components/navigation/anatomy/header.mjs +0 -23
- package/dist/components/navigation/anatomy/label.d.mts +0 -10
- package/dist/components/navigation/anatomy/label.mjs +0 -23
- package/dist/components/navigation/anatomy/menu.d.mts +0 -10
- package/dist/components/navigation/anatomy/menu.mjs +0 -23
- package/dist/components/navigation/anatomy/root.d.mts +0 -17
- package/dist/components/navigation/anatomy/root.mjs +0 -24
- package/dist/components/navigation/index.d.mts +0 -8
- package/dist/components/navigation/modules/anatomy.d.mts +0 -20
- package/dist/components/navigation/modules/anatomy.mjs +0 -21
- package/dist/components/navigation/modules/root-context.mjs +0 -8
- package/dist/components/pagination/anatomy/ellipsis.d.mts +0 -11
- package/dist/components/pagination/anatomy/ellipsis.mjs +0 -22
- package/dist/components/pagination/anatomy/first-trigger.d.mts +0 -10
- package/dist/components/pagination/anatomy/first-trigger.mjs +0 -23
- package/dist/components/pagination/anatomy/item.d.mts +0 -11
- package/dist/components/pagination/anatomy/item.mjs +0 -22
- package/dist/components/pagination/anatomy/last-trigger.d.mts +0 -10
- package/dist/components/pagination/anatomy/last-trigger.mjs +0 -23
- package/dist/components/pagination/anatomy/next-trigger.d.mts +0 -10
- package/dist/components/pagination/anatomy/next-trigger.mjs +0 -20
- package/dist/components/pagination/anatomy/prev-trigger.d.mts +0 -10
- package/dist/components/pagination/anatomy/prev-trigger.mjs +0 -20
- package/dist/components/pagination/anatomy/root-context.d.mts +0 -11
- package/dist/components/pagination/anatomy/root-context.mjs +0 -13
- package/dist/components/pagination/anatomy/root-provider.d.mts +0 -13
- package/dist/components/pagination/anatomy/root-provider.mjs +0 -21
- package/dist/components/pagination/anatomy/root.d.mts +0 -11
- package/dist/components/pagination/anatomy/root.mjs +0 -25
- package/dist/components/pagination/index.d.mts +0 -11
- package/dist/components/pagination/modules/anatomy.d.mts +0 -24
- package/dist/components/pagination/modules/anatomy.mjs +0 -25
- package/dist/components/pagination/modules/provider.d.mts +0 -8
- package/dist/components/pagination/modules/provider.mjs +0 -15
- package/dist/components/pagination/modules/root-context.mjs +0 -8
- package/dist/components/popover/anatomy/arrow-tip.d.mts +0 -10
- package/dist/components/popover/anatomy/arrow-tip.mjs +0 -20
- package/dist/components/popover/anatomy/arrow.d.mts +0 -10
- package/dist/components/popover/anatomy/arrow.mjs +0 -20
- package/dist/components/popover/anatomy/close-trigger.d.mts +0 -10
- package/dist/components/popover/anatomy/close-trigger.mjs +0 -20
- package/dist/components/popover/anatomy/content.d.mts +0 -10
- package/dist/components/popover/anatomy/content.mjs +0 -20
- package/dist/components/popover/anatomy/description.d.mts +0 -10
- package/dist/components/popover/anatomy/description.mjs +0 -20
- package/dist/components/popover/anatomy/positioner.d.mts +0 -10
- package/dist/components/popover/anatomy/positioner.mjs +0 -20
- package/dist/components/popover/anatomy/root-context.d.mts +0 -11
- package/dist/components/popover/anatomy/root-context.mjs +0 -13
- package/dist/components/popover/anatomy/root-provider.d.mts +0 -12
- package/dist/components/popover/anatomy/root-provider.mjs +0 -15
- package/dist/components/popover/anatomy/root.d.mts +0 -10
- package/dist/components/popover/anatomy/root.mjs +0 -20
- package/dist/components/popover/anatomy/title.d.mts +0 -10
- package/dist/components/popover/anatomy/title.mjs +0 -20
- package/dist/components/popover/anatomy/trigger.d.mts +0 -11
- package/dist/components/popover/anatomy/trigger.mjs +0 -20
- package/dist/components/popover/index.d.mts +0 -13
- package/dist/components/popover/modules/anatomy.d.mts +0 -28
- package/dist/components/popover/modules/anatomy.mjs +0 -29
- package/dist/components/popover/modules/provider.d.mts +0 -8
- package/dist/components/popover/modules/provider.mjs +0 -15
- package/dist/components/popover/modules/root-context.mjs +0 -8
- package/dist/components/portal/anatomy/root.d.mts +0 -22
- package/dist/components/portal/anatomy/root.mjs +0 -14
- package/dist/components/portal/index.d.mts +0 -2
- package/dist/components/portal/modules/anatomy.d.mts +0 -7
- package/dist/components/portal/modules/anatomy.mjs +0 -8
- package/dist/components/progress/anatomy/circle-range.d.mts +0 -10
- package/dist/components/progress/anatomy/circle-range.mjs +0 -20
- package/dist/components/progress/anatomy/circle-track.d.mts +0 -10
- package/dist/components/progress/anatomy/circle-track.mjs +0 -17
- package/dist/components/progress/anatomy/circle.d.mts +0 -10
- package/dist/components/progress/anatomy/circle.mjs +0 -26
- package/dist/components/progress/anatomy/label.d.mts +0 -10
- package/dist/components/progress/anatomy/label.mjs +0 -20
- package/dist/components/progress/anatomy/range.d.mts +0 -10
- package/dist/components/progress/anatomy/range.mjs +0 -17
- package/dist/components/progress/anatomy/root-context.d.mts +0 -11
- package/dist/components/progress/anatomy/root-context.mjs +0 -13
- package/dist/components/progress/anatomy/root-provider.d.mts +0 -13
- package/dist/components/progress/anatomy/root-provider.mjs +0 -21
- package/dist/components/progress/anatomy/root.d.mts +0 -11
- package/dist/components/progress/anatomy/root.mjs +0 -25
- package/dist/components/progress/anatomy/track.d.mts +0 -10
- package/dist/components/progress/anatomy/track.mjs +0 -20
- package/dist/components/progress/anatomy/value-text.d.mts +0 -10
- package/dist/components/progress/anatomy/value-text.mjs +0 -20
- package/dist/components/progress/index.d.mts +0 -12
- package/dist/components/progress/modules/anatomy.d.mts +0 -26
- package/dist/components/progress/modules/anatomy.mjs +0 -27
- package/dist/components/progress/modules/provider.d.mts +0 -8
- package/dist/components/progress/modules/provider.mjs +0 -15
- package/dist/components/progress/modules/root-context.mjs +0 -8
- package/dist/components/rating-group/anatomy/control.d.mts +0 -10
- package/dist/components/rating-group/anatomy/control.mjs +0 -20
- package/dist/components/rating-group/anatomy/hidden-input.d.mts +0 -10
- package/dist/components/rating-group/anatomy/hidden-input.mjs +0 -17
- package/dist/components/rating-group/anatomy/item.d.mts +0 -31
- package/dist/components/rating-group/anatomy/item.mjs +0 -26
- package/dist/components/rating-group/anatomy/label.d.mts +0 -10
- package/dist/components/rating-group/anatomy/label.mjs +0 -20
- package/dist/components/rating-group/anatomy/root-context.d.mts +0 -11
- package/dist/components/rating-group/anatomy/root-context.mjs +0 -13
- package/dist/components/rating-group/anatomy/root-provider.d.mts +0 -13
- package/dist/components/rating-group/anatomy/root-provider.mjs +0 -21
- package/dist/components/rating-group/anatomy/root.d.mts +0 -11
- package/dist/components/rating-group/anatomy/root.mjs +0 -25
- package/dist/components/rating-group/index.d.mts +0 -9
- package/dist/components/rating-group/modules/anatomy.d.mts +0 -20
- package/dist/components/rating-group/modules/anatomy.mjs +0 -21
- package/dist/components/rating-group/modules/provider.d.mts +0 -8
- package/dist/components/rating-group/modules/provider.mjs +0 -15
- package/dist/components/rating-group/modules/root-context.mjs +0 -8
- package/dist/components/segmented-control/anatomy/control.d.mts +0 -10
- package/dist/components/segmented-control/anatomy/control.mjs +0 -17
- package/dist/components/segmented-control/anatomy/indicator.d.mts +0 -10
- package/dist/components/segmented-control/anatomy/indicator.mjs +0 -17
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.mts +0 -10
- package/dist/components/segmented-control/anatomy/item-hidden-input.mjs +0 -19
- package/dist/components/segmented-control/anatomy/item-text.d.mts +0 -10
- package/dist/components/segmented-control/anatomy/item-text.mjs +0 -22
- package/dist/components/segmented-control/anatomy/item.d.mts +0 -11
- package/dist/components/segmented-control/anatomy/item.mjs +0 -26
- package/dist/components/segmented-control/anatomy/label.d.mts +0 -10
- package/dist/components/segmented-control/anatomy/label.mjs +0 -20
- package/dist/components/segmented-control/anatomy/root-context.d.mts +0 -11
- package/dist/components/segmented-control/anatomy/root-context.mjs +0 -13
- package/dist/components/segmented-control/anatomy/root-provider.d.mts +0 -13
- package/dist/components/segmented-control/anatomy/root-provider.mjs +0 -21
- package/dist/components/segmented-control/anatomy/root.d.mts +0 -11
- package/dist/components/segmented-control/anatomy/root.mjs +0 -25
- package/dist/components/segmented-control/index.d.mts +0 -11
- package/dist/components/segmented-control/modules/anatomy.d.mts +0 -24
- package/dist/components/segmented-control/modules/anatomy.mjs +0 -25
- package/dist/components/segmented-control/modules/item-context.mjs +0 -8
- package/dist/components/segmented-control/modules/provider.d.mts +0 -8
- package/dist/components/segmented-control/modules/provider.mjs +0 -16
- package/dist/components/segmented-control/modules/root-context.mjs +0 -8
- package/dist/components/slider/anatomy/control.d.mts +0 -10
- package/dist/components/slider/anatomy/control.mjs +0 -20
- package/dist/components/slider/anatomy/hidden-input.d.mts +0 -10
- package/dist/components/slider/anatomy/hidden-input.mjs +0 -19
- package/dist/components/slider/anatomy/label.d.mts +0 -10
- package/dist/components/slider/anatomy/label.mjs +0 -20
- package/dist/components/slider/anatomy/marker-group.d.mts +0 -10
- package/dist/components/slider/anatomy/marker-group.mjs +0 -20
- package/dist/components/slider/anatomy/marker.d.mts +0 -11
- package/dist/components/slider/anatomy/marker.mjs +0 -20
- package/dist/components/slider/anatomy/range.d.mts +0 -10
- package/dist/components/slider/anatomy/range.mjs +0 -20
- package/dist/components/slider/anatomy/root-context.d.mts +0 -11
- package/dist/components/slider/anatomy/root-context.mjs +0 -13
- package/dist/components/slider/anatomy/root-provider.d.mts +0 -13
- package/dist/components/slider/anatomy/root-provider.mjs +0 -21
- package/dist/components/slider/anatomy/root.d.mts +0 -11
- package/dist/components/slider/anatomy/root.mjs +0 -25
- package/dist/components/slider/anatomy/thumb.d.mts +0 -11
- package/dist/components/slider/anatomy/thumb.mjs +0 -26
- package/dist/components/slider/anatomy/track.d.mts +0 -10
- package/dist/components/slider/anatomy/track.mjs +0 -20
- package/dist/components/slider/anatomy/value-text.d.mts +0 -10
- package/dist/components/slider/anatomy/value-text.mjs +0 -20
- package/dist/components/slider/index.d.mts +0 -14
- package/dist/components/slider/modules/anatomy.d.mts +0 -30
- package/dist/components/slider/modules/anatomy.mjs +0 -31
- package/dist/components/slider/modules/provider.d.mts +0 -8
- package/dist/components/slider/modules/provider.mjs +0 -15
- package/dist/components/slider/modules/root-context.mjs +0 -8
- package/dist/components/slider/modules/thumb-context.mjs +0 -8
- package/dist/components/switch/anatomy/control.d.mts +0 -10
- package/dist/components/switch/anatomy/control.mjs +0 -20
- package/dist/components/switch/anatomy/hidden-input.d.mts +0 -10
- package/dist/components/switch/anatomy/hidden-input.mjs +0 -17
- package/dist/components/switch/anatomy/label.d.mts +0 -10
- package/dist/components/switch/anatomy/label.mjs +0 -20
- package/dist/components/switch/anatomy/root-context.d.mts +0 -11
- package/dist/components/switch/anatomy/root-context.mjs +0 -13
- package/dist/components/switch/anatomy/root-provider.d.mts +0 -13
- package/dist/components/switch/anatomy/root-provider.mjs +0 -21
- package/dist/components/switch/anatomy/root.d.mts +0 -11
- package/dist/components/switch/anatomy/root.mjs +0 -25
- package/dist/components/switch/anatomy/thumb.d.mts +0 -10
- package/dist/components/switch/anatomy/thumb.mjs +0 -20
- package/dist/components/switch/index.d.mts +0 -9
- package/dist/components/switch/modules/anatomy.d.mts +0 -20
- package/dist/components/switch/modules/anatomy.mjs +0 -21
- package/dist/components/switch/modules/provider.d.mts +0 -8
- package/dist/components/switch/modules/provider.mjs +0 -15
- package/dist/components/switch/modules/root-context.mjs +0 -8
- package/dist/components/tabs/anatomy/content.d.mts +0 -11
- package/dist/components/tabs/anatomy/content.mjs +0 -22
- package/dist/components/tabs/anatomy/indicator.d.mts +0 -10
- package/dist/components/tabs/anatomy/indicator.mjs +0 -17
- package/dist/components/tabs/anatomy/list.d.mts +0 -10
- package/dist/components/tabs/anatomy/list.mjs +0 -20
- package/dist/components/tabs/anatomy/root-context.d.mts +0 -11
- package/dist/components/tabs/anatomy/root-context.mjs +0 -13
- package/dist/components/tabs/anatomy/root-provider.d.mts +0 -13
- package/dist/components/tabs/anatomy/root-provider.mjs +0 -21
- package/dist/components/tabs/anatomy/root.d.mts +0 -11
- package/dist/components/tabs/anatomy/root.mjs +0 -25
- package/dist/components/tabs/anatomy/trigger.d.mts +0 -11
- package/dist/components/tabs/anatomy/trigger.mjs +0 -22
- package/dist/components/tabs/index.d.mts +0 -9
- package/dist/components/tabs/modules/anatomy.d.mts +0 -20
- package/dist/components/tabs/modules/anatomy.mjs +0 -21
- package/dist/components/tabs/modules/provider.d.mts +0 -8
- package/dist/components/tabs/modules/provider.mjs +0 -15
- package/dist/components/tabs/modules/root-context.mjs +0 -8
- package/dist/components/tags-input/anatomy/clear-trigger.d.mts +0 -10
- package/dist/components/tags-input/anatomy/clear-trigger.mjs +0 -20
- package/dist/components/tags-input/anatomy/control.d.mts +0 -10
- package/dist/components/tags-input/anatomy/control.mjs +0 -20
- package/dist/components/tags-input/anatomy/hidden-input.d.mts +0 -10
- package/dist/components/tags-input/anatomy/hidden-input.mjs +0 -17
- package/dist/components/tags-input/anatomy/input.d.mts +0 -10
- package/dist/components/tags-input/anatomy/input.mjs +0 -17
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.mts +0 -10
- package/dist/components/tags-input/anatomy/item-delete-trigger.mjs +0 -22
- package/dist/components/tags-input/anatomy/item-input.d.mts +0 -10
- package/dist/components/tags-input/anatomy/item-input.mjs +0 -19
- package/dist/components/tags-input/anatomy/item-preview.d.mts +0 -10
- package/dist/components/tags-input/anatomy/item-preview.mjs +0 -22
- package/dist/components/tags-input/anatomy/item-text.d.mts +0 -10
- package/dist/components/tags-input/anatomy/item-text.mjs +0 -22
- package/dist/components/tags-input/anatomy/item.d.mts +0 -11
- package/dist/components/tags-input/anatomy/item.mjs +0 -26
- package/dist/components/tags-input/anatomy/label.d.mts +0 -10
- package/dist/components/tags-input/anatomy/label.mjs +0 -20
- package/dist/components/tags-input/anatomy/root-context.d.mts +0 -11
- package/dist/components/tags-input/anatomy/root-context.mjs +0 -13
- package/dist/components/tags-input/anatomy/root-provider.d.mts +0 -13
- package/dist/components/tags-input/anatomy/root-provider.mjs +0 -21
- package/dist/components/tags-input/anatomy/root.d.mts +0 -11
- package/dist/components/tags-input/anatomy/root.mjs +0 -25
- package/dist/components/tags-input/index.d.mts +0 -15
- package/dist/components/tags-input/modules/anatomy.d.mts +0 -32
- package/dist/components/tags-input/modules/anatomy.mjs +0 -33
- package/dist/components/tags-input/modules/item-context.mjs +0 -8
- package/dist/components/tags-input/modules/provider.d.mts +0 -8
- package/dist/components/tags-input/modules/provider.mjs +0 -15
- package/dist/components/tags-input/modules/root-context.mjs +0 -8
- package/dist/components/toast/anatomy/action-trigger.d.mts +0 -10
- package/dist/components/toast/anatomy/action-trigger.mjs +0 -20
- package/dist/components/toast/anatomy/close-trigger.d.mts +0 -10
- package/dist/components/toast/anatomy/close-trigger.mjs +0 -21
- package/dist/components/toast/anatomy/description.d.mts +0 -10
- package/dist/components/toast/anatomy/description.mjs +0 -20
- package/dist/components/toast/anatomy/group.d.mts +0 -15
- package/dist/components/toast/anatomy/group.mjs +0 -28
- package/dist/components/toast/anatomy/message.d.mts +0 -10
- package/dist/components/toast/anatomy/message.mjs +0 -17
- package/dist/components/toast/anatomy/root-context.d.mts +0 -12
- package/dist/components/toast/anatomy/root-context.mjs +0 -13
- package/dist/components/toast/anatomy/root.d.mts +0 -13
- package/dist/components/toast/anatomy/root.mjs +0 -56
- package/dist/components/toast/anatomy/title.d.mts +0 -10
- package/dist/components/toast/anatomy/title.mjs +0 -20
- package/dist/components/toast/index.d.mts +0 -11
- package/dist/components/toast/index.mjs +0 -4
- package/dist/components/toast/modules/anatomy.d.mts +0 -22
- package/dist/components/toast/modules/anatomy.mjs +0 -23
- package/dist/components/toast/modules/group-context.mjs +0 -8
- package/dist/components/toast/modules/root-context.mjs +0 -8
- package/dist/components/toggle-group/anatomy/item.d.mts +0 -11
- package/dist/components/toggle-group/anatomy/item.mjs +0 -22
- package/dist/components/toggle-group/anatomy/root-context.d.mts +0 -11
- package/dist/components/toggle-group/anatomy/root-context.mjs +0 -13
- package/dist/components/toggle-group/anatomy/root-provider.d.mts +0 -13
- package/dist/components/toggle-group/anatomy/root-provider.mjs +0 -21
- package/dist/components/toggle-group/anatomy/root.d.mts +0 -11
- package/dist/components/toggle-group/anatomy/root.mjs +0 -25
- package/dist/components/toggle-group/index.d.mts +0 -6
- package/dist/components/toggle-group/modules/anatomy.d.mts +0 -14
- package/dist/components/toggle-group/modules/anatomy.mjs +0 -15
- package/dist/components/toggle-group/modules/provider.d.mts +0 -8
- package/dist/components/toggle-group/modules/provider.mjs +0 -15
- package/dist/components/toggle-group/modules/root-context.mjs +0 -8
- package/dist/components/tooltip/anatomy/arrow-tip.d.mts +0 -10
- package/dist/components/tooltip/anatomy/arrow-tip.mjs +0 -20
- package/dist/components/tooltip/anatomy/arrow.d.mts +0 -10
- package/dist/components/tooltip/anatomy/arrow.mjs +0 -20
- package/dist/components/tooltip/anatomy/content.d.mts +0 -10
- package/dist/components/tooltip/anatomy/content.mjs +0 -20
- package/dist/components/tooltip/anatomy/positioner.d.mts +0 -10
- package/dist/components/tooltip/anatomy/positioner.mjs +0 -20
- package/dist/components/tooltip/anatomy/root-context.d.mts +0 -11
- package/dist/components/tooltip/anatomy/root-context.mjs +0 -13
- package/dist/components/tooltip/anatomy/root-provider.d.mts +0 -12
- package/dist/components/tooltip/anatomy/root-provider.mjs +0 -15
- package/dist/components/tooltip/anatomy/root.d.mts +0 -10
- package/dist/components/tooltip/anatomy/root.mjs +0 -19
- package/dist/components/tooltip/anatomy/trigger.d.mts +0 -10
- package/dist/components/tooltip/anatomy/trigger.mjs +0 -20
- package/dist/components/tooltip/index.d.mts +0 -10
- package/dist/components/tooltip/modules/anatomy.d.mts +0 -22
- package/dist/components/tooltip/modules/anatomy.mjs +0 -23
- package/dist/components/tooltip/modules/provider.d.mts +0 -8
- package/dist/components/tooltip/modules/provider.mjs +0 -15
- package/dist/components/tooltip/modules/root-context.mjs +0 -8
- package/dist/components/tree-view/anatomy/branch-content.d.mts +0 -10
- package/dist/components/tree-view/anatomy/branch-content.mjs +0 -22
- package/dist/components/tree-view/anatomy/branch-control.d.mts +0 -10
- package/dist/components/tree-view/anatomy/branch-control.mjs +0 -22
- package/dist/components/tree-view/anatomy/branch-indent-guide.d.mts +0 -10
- package/dist/components/tree-view/anatomy/branch-indent-guide.mjs +0 -22
- package/dist/components/tree-view/anatomy/branch-indicator.d.mts +0 -10
- package/dist/components/tree-view/anatomy/branch-indicator.mjs +0 -23
- package/dist/components/tree-view/anatomy/branch-text.d.mts +0 -10
- package/dist/components/tree-view/anatomy/branch-text.mjs +0 -22
- package/dist/components/tree-view/anatomy/branch.d.mts +0 -10
- package/dist/components/tree-view/anatomy/branch.mjs +0 -22
- package/dist/components/tree-view/anatomy/item.d.mts +0 -10
- package/dist/components/tree-view/anatomy/item.mjs +0 -22
- package/dist/components/tree-view/anatomy/label.d.mts +0 -17
- package/dist/components/tree-view/anatomy/label.mjs +0 -21
- package/dist/components/tree-view/anatomy/node-context.d.mts +0 -11
- package/dist/components/tree-view/anatomy/node-context.mjs +0 -13
- package/dist/components/tree-view/anatomy/node-provider.d.mts +0 -12
- package/dist/components/tree-view/anatomy/node-provider.mjs +0 -15
- package/dist/components/tree-view/anatomy/root-context.d.mts +0 -11
- package/dist/components/tree-view/anatomy/root-context.mjs +0 -13
- package/dist/components/tree-view/anatomy/root-provider.d.mts +0 -13
- package/dist/components/tree-view/anatomy/root-provider.mjs +0 -21
- package/dist/components/tree-view/anatomy/root.d.mts +0 -11
- package/dist/components/tree-view/anatomy/root.mjs +0 -25
- package/dist/components/tree-view/anatomy/tree.d.mts +0 -10
- package/dist/components/tree-view/anatomy/tree.mjs +0 -20
- package/dist/components/tree-view/index.d.mts +0 -18
- package/dist/components/tree-view/index.mjs +0 -5
- package/dist/components/tree-view/modules/anatomy.d.mts +0 -34
- package/dist/components/tree-view/modules/anatomy.mjs +0 -35
- package/dist/components/tree-view/modules/node-context.mjs +0 -8
- package/dist/components/tree-view/modules/provider.d.mts +0 -8
- package/dist/components/tree-view/modules/provider.mjs +0 -15
- package/dist/components/tree-view/modules/root-context.mjs +0 -8
- package/dist/hooks/use-list-collection.d.mts +0 -7
- package/dist/hooks/use-list-collection.mjs +0 -10
- package/dist/internal/components/calendar.mjs +0 -36
- package/dist/internal/components/check.mjs +0 -25
- package/dist/internal/components/chevron-down.mjs +0 -25
- package/dist/internal/components/chevron-left.mjs +0 -25
- package/dist/internal/components/chevron-right.mjs +0 -25
- package/dist/internal/components/star-empty.mjs +0 -27
- package/dist/internal/components/star-full.mjs +0 -25
- package/dist/internal/components/star-half.mjs +0 -41
- package/dist/internal/components/x.mjs +0 -25
- package/dist/internal/create-context.mjs +0 -10
- package/dist/internal/html-attributes.d.mts +0 -9
- package/dist/internal/props-with-element.d.mts +0 -13
- package/dist/internal/union.d.mts +0 -5
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { splitInputProps } from "@zag-js/date-picker";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/input.tsx
|
|
9
|
-
function Input(props) {
|
|
10
|
-
const datePicker = use(RootContext);
|
|
11
|
-
const [inputProps, componentProps] = splitInputProps(props);
|
|
12
|
-
const { element,...rest } = componentProps;
|
|
13
|
-
const attributes = mergeProps(datePicker.getInputProps(inputProps), { className: classesDatePicker.input }, rest);
|
|
14
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export { Input as default };
|
|
19
|
-
//# sourceMappingURL=input.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react32 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/label.d.ts
|
|
6
|
-
interface DatePickerLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
7
|
-
declare function Label(props: DatePickerLabelProps): react32.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerLabelProps, Label };
|
|
10
|
-
//# sourceMappingURL=label.d.mts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region src/components/date-picker/anatomy/label.tsx
|
|
8
|
-
function Label(props) {
|
|
9
|
-
const datePicker = use(RootContext);
|
|
10
|
-
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(datePicker.getLabelProps(), { className: classesDatePicker.label }, rest);
|
|
12
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
13
|
-
...attributes,
|
|
14
|
-
children
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export { Label as default };
|
|
20
|
-
//# sourceMappingURL=label.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react33 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/month-select.d.ts
|
|
6
|
-
interface DatePickerMonthSelectProps extends PropsWithElement<'select'>, HTMLAttributes<'select', 'children'> {}
|
|
7
|
-
declare function MonthSelect(props: DatePickerMonthSelectProps): react33.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerMonthSelectProps, MonthSelect };
|
|
10
|
-
//# sourceMappingURL=month-select.d.mts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region src/components/date-picker/anatomy/month-select.tsx
|
|
8
|
-
function MonthSelect(props) {
|
|
9
|
-
const datePicker = use(RootContext);
|
|
10
|
-
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(datePicker.getMonthSelectProps(), { className: classesDatePicker.monthSelect }, rest);
|
|
12
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("select", {
|
|
13
|
-
...attributes,
|
|
14
|
-
children: datePicker.getMonths().map((month, i) => /* @__PURE__ */ jsx("option", {
|
|
15
|
-
value: month.value,
|
|
16
|
-
children: month.label
|
|
17
|
-
}, i))
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { MonthSelect as default };
|
|
23
|
-
//# sourceMappingURL=month-select.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react34 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/next-trigger.d.ts
|
|
6
|
-
interface DatePickerNextTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function NextTrigger(props: DatePickerNextTriggerProps): react34.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerNextTriggerProps, NextTrigger };
|
|
10
|
-
//# sourceMappingURL=next-trigger.d.mts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import ChevronRight from "../../../internal/components/chevron-right.mjs";
|
|
4
|
-
import { use } from "react";
|
|
5
|
-
import { mergeProps } from "@zag-js/react";
|
|
6
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
//#region src/components/date-picker/anatomy/next-trigger.tsx
|
|
10
|
-
function NextTrigger(props) {
|
|
11
|
-
const datePicker = use(RootContext);
|
|
12
|
-
const viewProps = use(ViewContext);
|
|
13
|
-
const { element, children = /* @__PURE__ */ jsx(ChevronRight, {}),...rest } = props;
|
|
14
|
-
const attributes = mergeProps(datePicker.getNextTriggerProps(viewProps), { className: classesDatePicker.nextTrigger }, rest);
|
|
15
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
16
|
-
...attributes,
|
|
17
|
-
children
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { NextTrigger as default };
|
|
23
|
-
//# sourceMappingURL=next-trigger.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react35 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/positioner.d.ts
|
|
6
|
-
interface DatePickerPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: DatePickerPositionerProps): react35.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerPositionerProps, Positioner };
|
|
10
|
-
//# sourceMappingURL=positioner.d.mts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region src/components/date-picker/anatomy/positioner.tsx
|
|
8
|
-
function Positioner(props) {
|
|
9
|
-
const datePicker = use(RootContext);
|
|
10
|
-
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(datePicker.getPositionerProps(), { className: classesDatePicker.positioner }, rest);
|
|
12
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
-
...attributes,
|
|
14
|
-
children
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export { Positioner as default };
|
|
20
|
-
//# sourceMappingURL=positioner.mjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react36 from "react";
|
|
4
|
-
import { PresetTriggerProps } from "@zag-js/date-picker";
|
|
5
|
-
|
|
6
|
-
//#region src/components/date-picker/anatomy/preset-trigger.d.ts
|
|
7
|
-
interface DatePickerPresetTriggerProps extends PresetTriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}
|
|
8
|
-
declare function PresetTrigger(props: DatePickerPresetTriggerProps): react36.JSX.Element;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { DatePickerPresetTriggerProps, PresetTrigger };
|
|
11
|
-
//# sourceMappingURL=preset-trigger.d.mts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { splitPresetTriggerProps } from "@zag-js/date-picker";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/preset-trigger.tsx
|
|
9
|
-
function PresetTrigger(props) {
|
|
10
|
-
const datePicker = use(RootContext);
|
|
11
|
-
const [presetTriggerProps, componentProps] = splitPresetTriggerProps(props);
|
|
12
|
-
const { element, children,...rest } = componentProps;
|
|
13
|
-
const attributes = mergeProps(datePicker.getPresetTriggerProps(presetTriggerProps), { className: classesDatePicker.presetTrigger }, rest);
|
|
14
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
15
|
-
...attributes,
|
|
16
|
-
children
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { PresetTrigger as default };
|
|
22
|
-
//# sourceMappingURL=preset-trigger.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react37 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/prev-trigger.d.ts
|
|
6
|
-
interface DatePickerPrevTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function PrevTrigger(props: DatePickerPrevTriggerProps): react37.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerPrevTriggerProps, PrevTrigger };
|
|
10
|
-
//# sourceMappingURL=prev-trigger.d.mts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import ChevronLeft from "../../../internal/components/chevron-left.mjs";
|
|
4
|
-
import { use } from "react";
|
|
5
|
-
import { mergeProps } from "@zag-js/react";
|
|
6
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
//#region src/components/date-picker/anatomy/prev-trigger.tsx
|
|
10
|
-
function PrevTrigger(props) {
|
|
11
|
-
const datePicker = use(RootContext);
|
|
12
|
-
const viewProps = use(ViewContext);
|
|
13
|
-
const { element, children = /* @__PURE__ */ jsx(ChevronLeft, {}),...rest } = props;
|
|
14
|
-
const attributes = mergeProps(datePicker.getPrevTriggerProps(viewProps), { className: classesDatePicker.prevTrigger }, rest);
|
|
15
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
16
|
-
...attributes,
|
|
17
|
-
children
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { PrevTrigger as default };
|
|
23
|
-
//# sourceMappingURL=prev-trigger.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react38 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/range-text.d.ts
|
|
6
|
-
interface DatePickerRangeTextProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function RangeText(props: DatePickerRangeTextProps): react38.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerRangeTextProps, RangeText };
|
|
10
|
-
//# sourceMappingURL=range-text.d.mts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region src/components/date-picker/anatomy/range-text.tsx
|
|
8
|
-
function RangeText(props) {
|
|
9
|
-
const datePicker = use(RootContext);
|
|
10
|
-
const rangeText = Array.from(new Set([datePicker.visibleRangeText.start, datePicker.visibleRangeText.end])).join(" - ");
|
|
11
|
-
const { element, children = rangeText,...rest } = props;
|
|
12
|
-
const attributes = mergeProps(datePicker.getRangeTextProps(), { className: classesDatePicker.rangeText }, rest);
|
|
13
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
14
|
-
...attributes,
|
|
15
|
-
children
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { RangeText as default };
|
|
21
|
-
//# sourceMappingURL=range-text.mjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { useDatePicker } from "../modules/provider.mjs";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/date-picker/anatomy/root-context.d.ts
|
|
5
|
-
interface DatePickerRootContextProps {
|
|
6
|
-
children: (datePicker: ReturnType<typeof useDatePicker>) => ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare function RootContext(props: DatePickerRootContextProps): ReactNode;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { DatePickerRootContextProps, RootContext };
|
|
11
|
-
//# sourceMappingURL=root-context.d.mts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { use } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/date-picker/anatomy/root-context.tsx
|
|
5
|
-
function RootContext$1(props) {
|
|
6
|
-
const datePicker = use(RootContext);
|
|
7
|
-
const { children } = props;
|
|
8
|
-
return children(datePicker);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
export { RootContext$1 as default };
|
|
13
|
-
//# sourceMappingURL=root-context.mjs.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import { useDatePicker } from "../modules/provider.mjs";
|
|
4
|
-
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region src/components/date-picker/anatomy/root-provider.d.ts
|
|
7
|
-
interface DatePickerRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
|
-
value: ReturnType<typeof useDatePicker>;
|
|
9
|
-
}
|
|
10
|
-
declare function RootProvider(props: DatePickerRootProviderProps): react_jsx_runtime15.JSX.Element;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { DatePickerRootProviderProps, RootProvider };
|
|
13
|
-
//# sourceMappingURL=root-provider.d.mts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { mergeProps } from "@zag-js/react";
|
|
3
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region src/components/date-picker/anatomy/root-provider.tsx
|
|
7
|
-
function RootProvider(props) {
|
|
8
|
-
const { element, children, value: datePicker,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(datePicker.getRootProps(), { className: classesDatePicker.root }, rest);
|
|
10
|
-
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
11
|
-
value: datePicker,
|
|
12
|
-
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
-
...attributes,
|
|
14
|
-
children
|
|
15
|
-
})
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { RootProvider as default };
|
|
21
|
-
//# sourceMappingURL=root-provider.mjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
4
|
-
import { Props } from "@zag-js/date-picker";
|
|
5
|
-
|
|
6
|
-
//#region src/components/date-picker/anatomy/root.d.ts
|
|
7
|
-
interface DatePickerRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: DatePickerRootProps): react_jsx_runtime14.JSX.Element;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { DatePickerRootProps, Root };
|
|
11
|
-
//# sourceMappingURL=root.d.mts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { useDatePicker } from "../modules/provider.mjs";
|
|
3
|
-
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { splitProps } from "@zag-js/date-picker";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/root.tsx
|
|
9
|
-
function Root(props) {
|
|
10
|
-
const [datePickerProps, componentProps] = splitProps(props);
|
|
11
|
-
const { element, children,...rest } = componentProps;
|
|
12
|
-
const datePicker = useDatePicker(datePickerProps);
|
|
13
|
-
const attributes = mergeProps(datePicker.getRootProps(), { className: classesDatePicker.root }, rest);
|
|
14
|
-
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
15
|
-
value: datePicker,
|
|
16
|
-
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
|
-
...attributes,
|
|
18
|
-
children
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export { Root as default };
|
|
25
|
-
//# sourceMappingURL=root.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react40 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/table-body.d.ts
|
|
6
|
-
interface DatePickerTableBodyProps extends PropsWithElement<'tbody'>, HTMLAttributes<'tbody'> {}
|
|
7
|
-
declare function TableBody(props: DatePickerTableBodyProps): react40.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerTableBodyProps, TableBody };
|
|
10
|
-
//# sourceMappingURL=table-body.d.mts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import { use } from "react";
|
|
4
|
-
import { mergeProps } from "@zag-js/react";
|
|
5
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/table-body.tsx
|
|
9
|
-
function TableBody(props) {
|
|
10
|
-
const datePicker = use(RootContext);
|
|
11
|
-
const viewProps = use(ViewContext);
|
|
12
|
-
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(datePicker.getTableBodyProps(viewProps), { className: classesDatePicker.tableBody }, rest);
|
|
14
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("tbody", {
|
|
15
|
-
...attributes,
|
|
16
|
-
children
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { TableBody as default };
|
|
22
|
-
//# sourceMappingURL=table-body.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react41 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/table-cell-trigger.d.ts
|
|
6
|
-
interface DatePickerTableCellTriggerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function TableCellTrigger(props: DatePickerTableCellTriggerProps): react41.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerTableCellTriggerProps, TableCellTrigger };
|
|
10
|
-
//# sourceMappingURL=table-cell-trigger.d.mts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import { TableCellContext } from "../modules/table-cell-context.mjs";
|
|
4
|
-
import { use } from "react";
|
|
5
|
-
import { mergeProps } from "@zag-js/react";
|
|
6
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
//#region src/components/date-picker/anatomy/table-cell-trigger.tsx
|
|
10
|
-
function TableCellTrigger(props) {
|
|
11
|
-
const datePicker = use(RootContext);
|
|
12
|
-
const viewProps = use(ViewContext);
|
|
13
|
-
const tableCellProps = use(TableCellContext);
|
|
14
|
-
const { element, children,...rest } = props;
|
|
15
|
-
function getTableCellTriggerProps(tableCellProps$1) {
|
|
16
|
-
switch (viewProps.view) {
|
|
17
|
-
case "day": return datePicker.getDayTableCellTriggerProps(tableCellProps$1);
|
|
18
|
-
case "month": return datePicker.getMonthTableCellTriggerProps(tableCellProps$1);
|
|
19
|
-
case "year": return datePicker.getYearTableCellTriggerProps(tableCellProps$1);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
const attributes = mergeProps(getTableCellTriggerProps(tableCellProps), { className: classesDatePicker.tableCellTrigger }, rest);
|
|
23
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
24
|
-
...attributes,
|
|
25
|
-
children
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
export { TableCellTrigger as default };
|
|
31
|
-
//# sourceMappingURL=table-cell-trigger.mjs.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import { Union } from "../../../internal/union.mjs";
|
|
4
|
-
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
5
|
-
import { DayTableCellProps, TableCellProps } from "@zag-js/date-picker";
|
|
6
|
-
|
|
7
|
-
//#region src/components/date-picker/anatomy/table-cell.d.ts
|
|
8
|
-
interface DatePickerTableCellProps extends Union<TableCellProps, DayTableCellProps>, PropsWithElement<'td'>, HTMLAttributes<'td'> {}
|
|
9
|
-
declare function TableCell(props: DatePickerTableCellProps): react_jsx_runtime16.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { DatePickerTableCellProps, TableCell };
|
|
12
|
-
//# sourceMappingURL=table-cell.d.mts.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import { TableCellContext } from "../modules/table-cell-context.mjs";
|
|
4
|
-
import { use } from "react";
|
|
5
|
-
import { mergeProps } from "@zag-js/react";
|
|
6
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import { splitTableCellProps } from "@zag-js/date-picker";
|
|
9
|
-
|
|
10
|
-
//#region src/components/date-picker/anatomy/table-cell.tsx
|
|
11
|
-
function TableCell(props) {
|
|
12
|
-
const datePicker = use(RootContext);
|
|
13
|
-
const viewProps = use(ViewContext);
|
|
14
|
-
const [tableCellProps, componentProps] = splitTableCellProps(props);
|
|
15
|
-
const { element, children,...rest } = componentProps;
|
|
16
|
-
function getTableCellProps(tableCellProps$1) {
|
|
17
|
-
switch (viewProps.view) {
|
|
18
|
-
case "day": return datePicker.getDayTableCellProps(tableCellProps$1);
|
|
19
|
-
case "month": return datePicker.getMonthTableCellProps(tableCellProps$1);
|
|
20
|
-
case "year": return datePicker.getYearTableCellProps(tableCellProps$1);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
const attributes = mergeProps(getTableCellProps(tableCellProps), { className: classesDatePicker.tableCell }, rest);
|
|
24
|
-
return /* @__PURE__ */ jsx(TableCellContext.Provider, {
|
|
25
|
-
value: tableCellProps,
|
|
26
|
-
children: element ? element(attributes) : /* @__PURE__ */ jsx("td", {
|
|
27
|
-
...attributes,
|
|
28
|
-
children
|
|
29
|
-
})
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
//#endregion
|
|
34
|
-
export { TableCell as default };
|
|
35
|
-
//# sourceMappingURL=table-cell.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react42 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/table-head.d.ts
|
|
6
|
-
interface DatePickerTableHeadProps extends PropsWithElement<'thead'>, HTMLAttributes<'thead'> {}
|
|
7
|
-
declare function TableHead(props: DatePickerTableHeadProps): react42.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerTableHeadProps, TableHead };
|
|
10
|
-
//# sourceMappingURL=table-head.d.mts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import { use } from "react";
|
|
4
|
-
import { mergeProps } from "@zag-js/react";
|
|
5
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/table-head.tsx
|
|
9
|
-
function TableHead(props) {
|
|
10
|
-
const datePicker = use(RootContext);
|
|
11
|
-
const viewProps = use(ViewContext);
|
|
12
|
-
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(datePicker.getTableHeadProps(viewProps), { className: classesDatePicker.tableHead }, rest);
|
|
14
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("thead", {
|
|
15
|
-
...attributes,
|
|
16
|
-
children
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { TableHead as default };
|
|
22
|
-
//# sourceMappingURL=table-head.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react43 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/table-header.d.ts
|
|
6
|
-
interface DatePickerTableHeaderProps extends PropsWithElement<'th'>, HTMLAttributes<'th'> {}
|
|
7
|
-
declare function TableHeader(props: DatePickerTableHeaderProps): react43.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerTableHeaderProps, TableHeader };
|
|
10
|
-
//# sourceMappingURL=table-header.d.mts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import { use } from "react";
|
|
4
|
-
import { mergeProps } from "@zag-js/react";
|
|
5
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/table-header.tsx
|
|
9
|
-
function TableHeader(props) {
|
|
10
|
-
const datePicker = use(RootContext);
|
|
11
|
-
const viewProps = use(ViewContext);
|
|
12
|
-
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(datePicker.getTableHeaderProps(viewProps), { className: classesDatePicker.tableHeader }, rest);
|
|
14
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("th", {
|
|
15
|
-
...attributes,
|
|
16
|
-
children
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { TableHeader as default };
|
|
22
|
-
//# sourceMappingURL=table-header.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react44 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/table-row.d.ts
|
|
6
|
-
interface DatePickerTableRowProps extends PropsWithElement<'tr'>, HTMLAttributes<'tr'> {}
|
|
7
|
-
declare function TableRow(props: DatePickerTableRowProps): react44.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerTableRowProps, TableRow };
|
|
10
|
-
//# sourceMappingURL=table-row.d.mts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RootContext } from "../modules/root-context.mjs";
|
|
2
|
-
import { ViewContext } from "../modules/view-context.mjs";
|
|
3
|
-
import { use } from "react";
|
|
4
|
-
import { mergeProps } from "@zag-js/react";
|
|
5
|
-
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/date-picker/anatomy/table-row.tsx
|
|
9
|
-
function TableRow(props) {
|
|
10
|
-
const datePicker = use(RootContext);
|
|
11
|
-
const viewProps = use(ViewContext);
|
|
12
|
-
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(datePicker.getTableRowProps(viewProps), { className: classesDatePicker.tableRow }, rest);
|
|
14
|
-
return element ? element(attributes) : /* @__PURE__ */ jsx("tr", {
|
|
15
|
-
...attributes,
|
|
16
|
-
children
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { TableRow as default };
|
|
22
|
-
//# sourceMappingURL=table-row.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "../../../internal/html-attributes.mjs";
|
|
2
|
-
import { PropsWithElement } from "../../../internal/props-with-element.mjs";
|
|
3
|
-
import * as react39 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/date-picker/anatomy/table.d.ts
|
|
6
|
-
interface DatePickerTableProps extends PropsWithElement<'table'>, HTMLAttributes<'table'> {}
|
|
7
|
-
declare function Table(props: DatePickerTableProps): react39.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DatePickerTableProps, Table };
|
|
10
|
-
//# sourceMappingURL=table.d.mts.map
|