@g4rcez/components 4.1.3 → 5.0.1
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/ai/docs/AnimatedList.md +1 -1
- package/ai/docs/Autocomplete.md +2 -2
- package/ai/docs/Button.md +1 -1
- package/ai/docs/Card.md +7 -7
- package/ai/docs/DatePicker.md +2 -2
- package/ai/docs/Dropdown.md +7 -7
- package/ai/docs/Expand.md +5 -5
- package/ai/docs/Input.md +3 -3
- package/ai/docs/InputField.md +24 -14
- package/ai/docs/List.md +1 -1
- package/ai/docs/Modal.md +4 -4
- package/ai/docs/MultiSelect.md +2 -2
- package/ai/docs/PageCalendar.md +2 -2
- package/ai/docs/Polymorph.md +1 -1
- package/ai/docs/Resizable.md +3 -3
- package/ai/docs/Select.md +2 -2
- package/ai/docs/Skeleton.md +1 -1
- package/ai/docs/Slot.md +3 -3
- package/ai/docs/Spinner.md +1 -1
- package/ai/docs/Stats.md +1 -1
- package/ai/docs/Step.md +1 -1
- package/ai/docs/Tabs.md +1 -1
- package/ai/docs/Tag.md +1 -1
- package/ai/docs/TaskList.md +3 -3
- package/ai/docs/Textarea.md +2 -2
- package/ai/docs/Tooltip.md +13 -9
- package/ai/docs/Typography.md +1 -1
- package/ai/docs/index.md +17 -17
- package/dist/CaretDown.es-BXl0Ixp3.js +23 -0
- package/dist/CaretDown.es-BXl0Ixp3.js.map +1 -0
- package/dist/CaretRight.es-B2mpMfqU.js +23 -0
- package/dist/CaretRight.es-B2mpMfqU.js.map +1 -0
- package/dist/CheckCircle.es-BB91gLT-.js +23 -0
- package/dist/CheckCircle.es-BB91gLT-.js.map +1 -0
- package/dist/File.es-CjNVQ00B.js +23 -0
- package/dist/File.es-CjNVQ00B.js.map +1 -0
- package/dist/IconBase.es-BlJQ9IXo.js +27 -0
- package/dist/IconBase.es-BlJQ9IXo.js.map +1 -0
- package/dist/Info.es-Dvln8pws.js +23 -0
- package/dist/Info.es-Dvln8pws.js.map +1 -0
- package/dist/MotionConfig-DKKYqBH2.js +27 -0
- package/dist/MotionConfig-DKKYqBH2.js.map +1 -0
- package/dist/MotionConfigContext-BORpSKe8.js +2571 -0
- package/dist/MotionConfigContext-BORpSKe8.js.map +1 -0
- package/dist/Warning.es-B_xCn-P5.js +23 -0
- package/dist/Warning.es-B_xCn-P5.js.map +1 -0
- package/dist/X.es-Cjq2a_OA.js +23 -0
- package/dist/X.es-Cjq2a_OA.js.map +1 -0
- package/dist/animate-BNYgkk_j.js +387 -0
- package/dist/animate-BNYgkk_j.js.map +1 -0
- package/dist/autocomplete-D3VOTihi.js +415 -0
- package/dist/autocomplete-D3VOTihi.js.map +1 -0
- package/dist/calendar-PCCZDUIL.js +1678 -0
- package/dist/calendar-PCCZDUIL.js.map +1 -0
- package/dist/components/core/button.js +75 -75
- package/dist/components/core/button.js.map +1 -1
- package/dist/components/core/tag.js +66 -66
- package/dist/components/core/tag.js.map +1 -1
- package/dist/components/display/alert.js +133 -95
- package/dist/components/display/alert.js.map +1 -1
- package/dist/components/display/calendar.js +3 -15
- package/dist/components/display/card.js +73 -82
- package/dist/components/display/card.js.map +1 -1
- package/dist/components/display/list.js +153 -93
- package/dist/components/display/list.js.map +1 -1
- package/dist/components/display/notifications.js +3 -15
- package/dist/components/display/stats.js +30 -16
- package/dist/components/display/stats.js.map +1 -1
- package/dist/components/display/tabs.js +3 -12
- package/dist/components/display/timeline.js +47 -28
- package/dist/components/display/timeline.js.map +1 -1
- package/dist/components/floating/dropdown.js +76 -65
- package/dist/components/floating/dropdown.js.map +1 -1
- package/dist/components/floating/expand.js +62 -40
- package/dist/components/floating/expand.js.map +1 -1
- package/dist/components/floating/menu.js +195 -177
- package/dist/components/floating/menu.js.map +1 -1
- package/dist/components/floating/modal.js +3 -301
- package/dist/components/floating/tooltip.js +63 -73
- package/dist/components/floating/tooltip.js.map +1 -1
- package/dist/components/form/autocomplete.js +3 -16
- package/dist/components/form/checkbox.js +34 -44
- package/dist/components/form/checkbox.js.map +1 -1
- package/dist/components/form/date-picker.js +3 -12
- package/dist/components/form/file-upload.js +3 -11
- package/dist/components/form/form.js +16 -7
- package/dist/components/form/form.js.map +1 -1
- package/dist/components/form/input.js +3 -5
- package/dist/components/form/radiobox.js +19 -30
- package/dist/components/form/radiobox.js.map +1 -1
- package/dist/components/form/select.js +77 -106
- package/dist/components/form/select.js.map +1 -1
- package/dist/components/form/switch.js +73 -64
- package/dist/components/form/switch.js.map +1 -1
- package/dist/components/form/task-list.js +3 -68
- package/dist/components/table/table.js +3 -10
- package/dist/date-picker-BhKEFZew.js +1498 -0
- package/dist/date-picker-BhKEFZew.js.map +1 -0
- package/dist/dist-BHFtgf5x.js +2593 -0
- package/dist/dist-BHFtgf5x.js.map +1 -0
- package/dist/dist-BrGpYRaj.js +178 -0
- package/dist/dist-BrGpYRaj.js.map +1 -0
- package/dist/dist-NmFtbuK4.js +35 -0
- package/dist/dist-NmFtbuK4.js.map +1 -0
- package/dist/dom-Bn4wY_Zx.js +2168 -0
- package/dist/dom-Bn4wY_Zx.js.map +1 -0
- package/dist/file-upload-DWbZfeG5.js +2966 -0
- package/dist/file-upload-DWbZfeG5.js.map +1 -0
- package/dist/floating-ui.react-CwXtBJ_y.js +3381 -0
- package/dist/floating-ui.react-CwXtBJ_y.js.map +1 -0
- package/dist/floating-ui.utils-CUrVRSbA.js +204 -0
- package/dist/floating-ui.utils-CUrVRSbA.js.map +1 -0
- package/dist/fns-KbsWlOTG.js +29 -0
- package/dist/fns-KbsWlOTG.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +7932 -20
- package/dist/index.js.map +1 -1
- package/dist/input-B7jqwPG4.js +473 -0
- package/dist/input-B7jqwPG4.js.map +1 -0
- package/dist/input-field-B_whI66Q.js +137 -0
- package/dist/input-field-B_whI66Q.js.map +1 -0
- package/dist/modal-Bz-61ays.js +373 -0
- package/dist/modal-Bz-61ays.js.map +1 -0
- package/dist/notifications-MT4XkLov.js +2203 -0
- package/dist/notifications-MT4XkLov.js.map +1 -0
- package/dist/polymorph-BLXhrn9n.js +14 -0
- package/dist/polymorph-BLXhrn9n.js.map +1 -0
- package/dist/preset/preset.tailwind.d.ts.map +1 -1
- package/dist/preset/preset.tailwind.js +40 -4
- package/dist/preset/src/styles/common.d.ts +0 -2
- package/dist/preset/src/styles/common.d.ts.map +1 -1
- package/dist/preset/src/styles/common.js +0 -9
- package/dist/preset/src/styles/components.d.ts +3 -0
- package/dist/preset/src/styles/components.d.ts.map +1 -0
- package/dist/preset/src/styles/components.js +400 -0
- package/dist/preset/src/styles/dark.d.ts.map +1 -1
- package/dist/preset/src/styles/dark.js +5 -3
- package/dist/preset/src/styles/default-tokens.d.ts +74 -0
- package/dist/preset/src/styles/default-tokens.d.ts.map +1 -0
- package/dist/preset/src/styles/default-tokens.js +44 -0
- package/dist/preset/src/styles/design-tokens.d.ts +1 -1
- package/dist/preset/src/styles/design-tokens.d.ts.map +1 -1
- package/dist/preset/src/styles/design-tokens.js +6 -2
- package/dist/preset/src/styles/light.d.ts.map +1 -1
- package/dist/preset/src/styles/light.js +22 -20
- package/dist/preset/src/styles/theme.types.d.ts +433 -8
- package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
- package/dist/proxy-BcJ_5Dwq.js +2530 -0
- package/dist/proxy-BcJ_5Dwq.js.map +1 -0
- package/dist/skeleton-CBYEq3lM.js +26 -0
- package/dist/skeleton-CBYEq3lM.js.map +1 -0
- package/dist/slot-pC8kH9De.js +96 -0
- package/dist/slot-pC8kH9De.js.map +1 -0
- package/dist/styles/common.d.ts +0 -2
- package/dist/styles/common.d.ts.map +1 -1
- package/dist/styles/common.js +0 -9
- package/dist/styles/components.d.ts +3 -0
- package/dist/styles/components.d.ts.map +1 -0
- package/dist/styles/components.js +400 -0
- package/dist/styles/dark.d.ts.map +1 -1
- package/dist/styles/dark.js +5 -3
- package/dist/styles/default-tokens.d.ts +74 -0
- package/dist/styles/default-tokens.d.ts.map +1 -0
- package/dist/styles/default-tokens.js +44 -0
- package/dist/styles/design-tokens.d.ts +1 -1
- package/dist/styles/design-tokens.d.ts.map +1 -1
- package/dist/styles/design-tokens.js +6 -2
- package/dist/styles/light.d.ts.map +1 -1
- package/dist/styles/light.js +22 -20
- package/dist/styles/theme.types.d.ts +433 -8
- package/dist/styles/theme.types.d.ts.map +1 -1
- package/dist/table-CUFbAI2k.js +1914 -0
- package/dist/table-CUFbAI2k.js.map +1 -0
- package/dist/tabs-Ciy0l9OF.js +122 -0
- package/dist/tabs-Ciy0l9OF.js.map +1 -0
- package/dist/task-list-tKumO4WH.js +96 -0
- package/dist/task-list-tKumO4WH.js.map +1 -0
- package/dist/use-motion-value-BqPF1j90.js +15 -0
- package/dist/use-motion-value-BqPF1j90.js.map +1 -0
- package/dist/use-stable-ref-D5LFCx0u.js +12 -0
- package/dist/use-stable-ref-D5LFCx0u.js.map +1 -0
- package/dist/use-translations-DTLfPE3_.js +177 -0
- package/dist/use-translations-DTLfPE3_.js.map +1 -0
- package/package.json +17 -17
- package/dist/CaretDown.es-Cj7klWI3.js +0 -33
- package/dist/CaretDown.es-Cj7klWI3.js.map +0 -1
- package/dist/CaretRight.es-0-M8D9y8.js +0 -33
- package/dist/CaretRight.es-0-M8D9y8.js.map +0 -1
- package/dist/CheckCircle.es-C6QWLfk_.js +0 -33
- package/dist/CheckCircle.es-C6QWLfk_.js.map +0 -1
- package/dist/File.es-CA-vuPED.js +0 -33
- package/dist/File.es-CA-vuPED.js.map +0 -1
- package/dist/IconBase.es-DJ1oCtpo.js +0 -50
- package/dist/IconBase.es-DJ1oCtpo.js.map +0 -1
- package/dist/Info.es-CrZKs4q4.js +0 -33
- package/dist/Info.es-CrZKs4q4.js.map +0 -1
- package/dist/MotionConfigContext-C7MqlSdv.js +0 -2713
- package/dist/MotionConfigContext-C7MqlSdv.js.map +0 -1
- package/dist/Warning.es-D_eI6tLe.js +0 -39
- package/dist/Warning.es-D_eI6tLe.js.map +0 -1
- package/dist/X.es-BJ1O93El.js +0 -39
- package/dist/X.es-BJ1O93El.js.map +0 -1
- package/dist/autocomplete-DcTNOwyg.js +0 -393
- package/dist/autocomplete-DcTNOwyg.js.map +0 -1
- package/dist/calendar-BJMHRoy2.js +0 -1746
- package/dist/calendar-BJMHRoy2.js.map +0 -1
- package/dist/components/core/button.d.ts +0 -77
- package/dist/components/core/button.d.ts.map +0 -1
- package/dist/components/core/button.jsx +0 -79
- package/dist/components/core/heading.d.ts +0 -3
- package/dist/components/core/heading.d.ts.map +0 -1
- package/dist/components/core/heading.jsx +0 -4
- package/dist/components/core/polymorph.d.ts +0 -10
- package/dist/components/core/polymorph.d.ts.map +0 -1
- package/dist/components/core/polymorph.jsx +0 -5
- package/dist/components/core/render-on-view.d.ts +0 -7
- package/dist/components/core/render-on-view.d.ts.map +0 -1
- package/dist/components/core/render-on-view.jsx +0 -31
- package/dist/components/core/resizable.d.ts +0 -3
- package/dist/components/core/resizable.d.ts.map +0 -1
- package/dist/components/core/resizable.jsx +0 -51
- package/dist/components/core/slot.d.ts +0 -16
- package/dist/components/core/slot.d.ts.map +0 -1
- package/dist/components/core/slot.jsx +0 -156
- package/dist/components/core/tag.d.ts +0 -35
- package/dist/components/core/tag.d.ts.map +0 -1
- package/dist/components/core/tag.jsx +0 -51
- package/dist/components/core/typography.d.ts +0 -25
- package/dist/components/core/typography.d.ts.map +0 -1
- package/dist/components/core/typography.jsx +0 -18
- package/dist/components/display/alert.d.ts +0 -28
- package/dist/components/display/alert.d.ts.map +0 -1
- package/dist/components/display/alert.jsx +0 -61
- package/dist/components/display/calendar.d.ts +0 -42
- package/dist/components/display/calendar.d.ts.map +0 -1
- package/dist/components/display/calendar.js.map +0 -1
- package/dist/components/display/calendar.jsx +0 -299
- package/dist/components/display/card.d.ts +0 -29
- package/dist/components/display/card.d.ts.map +0 -1
- package/dist/components/display/card.jsx +0 -43
- package/dist/components/display/empty.d.ts +0 -8
- package/dist/components/display/empty.d.ts.map +0 -1
- package/dist/components/display/empty.jsx +0 -11
- package/dist/components/display/list.d.ts +0 -16
- package/dist/components/display/list.d.ts.map +0 -1
- package/dist/components/display/list.jsx +0 -81
- package/dist/components/display/notifications.d.ts +0 -27
- package/dist/components/display/notifications.d.ts.map +0 -1
- package/dist/components/display/notifications.js.map +0 -1
- package/dist/components/display/notifications.jsx +0 -126
- package/dist/components/display/progress.d.ts +0 -13
- package/dist/components/display/progress.d.ts.map +0 -1
- package/dist/components/display/progress.jsx +0 -11
- package/dist/components/display/shortcut.d.ts +0 -4
- package/dist/components/display/shortcut.d.ts.map +0 -1
- package/dist/components/display/shortcut.jsx +0 -23
- package/dist/components/display/skeleton.d.ts +0 -12
- package/dist/components/display/skeleton.d.ts.map +0 -1
- package/dist/components/display/skeleton.jsx +0 -19
- package/dist/components/display/spinner.d.ts +0 -5
- package/dist/components/display/spinner.d.ts.map +0 -1
- package/dist/components/display/spinner.jsx +0 -11
- package/dist/components/display/stats.d.ts +0 -12
- package/dist/components/display/stats.d.ts.map +0 -1
- package/dist/components/display/stats.jsx +0 -20
- package/dist/components/display/step.d.ts +0 -24
- package/dist/components/display/step.d.ts.map +0 -1
- package/dist/components/display/step.jsx +0 -131
- package/dist/components/display/tabs.d.ts +0 -24
- package/dist/components/display/tabs.d.ts.map +0 -1
- package/dist/components/display/tabs.js.map +0 -1
- package/dist/components/display/tabs.jsx +0 -125
- package/dist/components/display/timeline.d.ts +0 -10
- package/dist/components/display/timeline.d.ts.map +0 -1
- package/dist/components/display/timeline.jsx +0 -25
- package/dist/components/floating/command-palette.d.ts +0 -49
- package/dist/components/floating/command-palette.d.ts.map +0 -1
- package/dist/components/floating/command-palette.jsx +0 -197
- package/dist/components/floating/dropdown.d.ts +0 -15
- package/dist/components/floating/dropdown.d.ts.map +0 -1
- package/dist/components/floating/dropdown.jsx +0 -56
- package/dist/components/floating/expand.d.ts +0 -11
- package/dist/components/floating/expand.d.ts.map +0 -1
- package/dist/components/floating/expand.jsx +0 -44
- package/dist/components/floating/menu.d.ts +0 -52
- package/dist/components/floating/menu.d.ts.map +0 -1
- package/dist/components/floating/menu.jsx +0 -147
- package/dist/components/floating/modal.d.ts +0 -60
- package/dist/components/floating/modal.d.ts.map +0 -1
- package/dist/components/floating/modal.js.map +0 -1
- package/dist/components/floating/modal.jsx +0 -301
- package/dist/components/floating/toolbar.d.ts +0 -6
- package/dist/components/floating/toolbar.d.ts.map +0 -1
- package/dist/components/floating/toolbar.jsx +0 -5
- package/dist/components/floating/tooltip.d.ts +0 -17
- package/dist/components/floating/tooltip.d.ts.map +0 -1
- package/dist/components/floating/tooltip.jsx +0 -58
- package/dist/components/floating/wizard.d.ts +0 -26
- package/dist/components/floating/wizard.d.ts.map +0 -1
- package/dist/components/floating/wizard.jsx +0 -161
- package/dist/components/form/autocomplete.d.ts +0 -16
- package/dist/components/form/autocomplete.d.ts.map +0 -1
- package/dist/components/form/autocomplete.js.map +0 -1
- package/dist/components/form/autocomplete.jsx +0 -278
- package/dist/components/form/checkbox.d.ts +0 -12
- package/dist/components/form/checkbox.d.ts.map +0 -1
- package/dist/components/form/checkbox.jsx +0 -12
- package/dist/components/form/date-picker.d.ts +0 -10
- package/dist/components/form/date-picker.d.ts.map +0 -1
- package/dist/components/form/date-picker.js.map +0 -1
- package/dist/components/form/date-picker.jsx +0 -115
- package/dist/components/form/file-upload.d.ts +0 -15
- package/dist/components/form/file-upload.d.ts.map +0 -1
- package/dist/components/form/file-upload.js.map +0 -1
- package/dist/components/form/file-upload.jsx +0 -134
- package/dist/components/form/form.d.ts +0 -3
- package/dist/components/form/form.d.ts.map +0 -1
- package/dist/components/form/form.jsx +0 -10
- package/dist/components/form/formReset.d.ts +0 -2
- package/dist/components/form/formReset.d.ts.map +0 -1
- package/dist/components/form/formReset.jsx +0 -17
- package/dist/components/form/free-text.d.ts +0 -11
- package/dist/components/form/free-text.d.ts.map +0 -1
- package/dist/components/form/free-text.jsx +0 -41
- package/dist/components/form/input-field.d.ts +0 -34
- package/dist/components/form/input-field.d.ts.map +0 -1
- package/dist/components/form/input-field.jsx +0 -58
- package/dist/components/form/input.d.ts +0 -52
- package/dist/components/form/input.d.ts.map +0 -1
- package/dist/components/form/input.js.map +0 -1
- package/dist/components/form/input.jsx +0 -36
- package/dist/components/form/multi-select.d.ts +0 -19
- package/dist/components/form/multi-select.d.ts.map +0 -1
- package/dist/components/form/multi-select.jsx +0 -336
- package/dist/components/form/radiobox.d.ts +0 -7
- package/dist/components/form/radiobox.d.ts.map +0 -1
- package/dist/components/form/radiobox.jsx +0 -6
- package/dist/components/form/select.d.ts +0 -13
- package/dist/components/form/select.d.ts.map +0 -1
- package/dist/components/form/select.jsx +0 -42
- package/dist/components/form/slider.d.ts +0 -7
- package/dist/components/form/slider.d.ts.map +0 -1
- package/dist/components/form/slider.jsx +0 -45
- package/dist/components/form/switch.d.ts +0 -9
- package/dist/components/form/switch.d.ts.map +0 -1
- package/dist/components/form/switch.jsx +0 -46
- package/dist/components/form/task-list.d.ts +0 -3
- package/dist/components/form/task-list.d.ts.map +0 -1
- package/dist/components/form/task-list.js.map +0 -1
- package/dist/components/form/task-list.jsx +0 -26
- package/dist/components/form/textarea.d.ts +0 -6
- package/dist/components/form/textarea.d.ts.map +0 -1
- package/dist/components/form/textarea.jsx +0 -12
- package/dist/components/index.d.ts +0 -45
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -44
- package/dist/components/page-calendar/calendar-header.d.ts +0 -16
- package/dist/components/page-calendar/calendar-header.d.ts.map +0 -1
- package/dist/components/page-calendar/calendar-header.jsx +0 -83
- package/dist/components/page-calendar/day-view.d.ts +0 -12
- package/dist/components/page-calendar/day-view.d.ts.map +0 -1
- package/dist/components/page-calendar/day-view.jsx +0 -94
- package/dist/components/page-calendar/event-pill.d.ts +0 -9
- package/dist/components/page-calendar/event-pill.d.ts.map +0 -1
- package/dist/components/page-calendar/event-pill.jsx +0 -25
- package/dist/components/page-calendar/index.d.ts +0 -4
- package/dist/components/page-calendar/index.d.ts.map +0 -1
- package/dist/components/page-calendar/index.js +0 -2
- package/dist/components/page-calendar/month-view.d.ts +0 -11
- package/dist/components/page-calendar/month-view.d.ts.map +0 -1
- package/dist/components/page-calendar/month-view.jsx +0 -46
- package/dist/components/page-calendar/page-calendar.d.ts +0 -18
- package/dist/components/page-calendar/page-calendar.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.jsx +0 -41
- package/dist/components/page-calendar/page-calendar.types.d.ts +0 -18
- package/dist/components/page-calendar/page-calendar.types.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.types.js +0 -1
- package/dist/components/page-calendar/page-calendar.utils.d.ts +0 -24
- package/dist/components/page-calendar/page-calendar.utils.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.utils.js +0 -93
- package/dist/components/page-calendar/week-view.d.ts +0 -11
- package/dist/components/page-calendar/week-view.d.ts.map +0 -1
- package/dist/components/page-calendar/week-view.jsx +0 -71
- package/dist/components/table/filter.d.ts +0 -42
- package/dist/components/table/filter.d.ts.map +0 -1
- package/dist/components/table/filter.jsx +0 -141
- package/dist/components/table/group.d.ts +0 -17
- package/dist/components/table/group.d.ts.map +0 -1
- package/dist/components/table/group.jsx +0 -68
- package/dist/components/table/index.d.ts +0 -19
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/components/table/index.jsx +0 -60
- package/dist/components/table/inner-table.d.ts +0 -29
- package/dist/components/table/inner-table.d.ts.map +0 -1
- package/dist/components/table/inner-table.jsx +0 -102
- package/dist/components/table/metadata.d.ts +0 -4
- package/dist/components/table/metadata.d.ts.map +0 -1
- package/dist/components/table/metadata.jsx +0 -36
- package/dist/components/table/pagination.d.ts +0 -5
- package/dist/components/table/pagination.d.ts.map +0 -1
- package/dist/components/table/pagination.jsx +0 -74
- package/dist/components/table/row.d.ts +0 -11
- package/dist/components/table/row.d.ts.map +0 -1
- package/dist/components/table/row.jsx +0 -49
- package/dist/components/table/sort.d.ts +0 -28
- package/dist/components/table/sort.d.ts.map +0 -1
- package/dist/components/table/sort.jsx +0 -109
- package/dist/components/table/table-lib.d.ts +0 -135
- package/dist/components/table/table-lib.d.ts.map +0 -1
- package/dist/components/table/table-lib.js +0 -83
- package/dist/components/table/table.context.d.ts +0 -10
- package/dist/components/table/table.context.d.ts.map +0 -1
- package/dist/components/table/table.context.jsx +0 -4
- package/dist/components/table/table.js.map +0 -1
- package/dist/components/table/thead.d.ts +0 -9
- package/dist/components/table/thead.d.ts.map +0 -1
- package/dist/components/table/thead.jsx +0 -103
- package/dist/config/context.d.ts +0 -21
- package/dist/config/context.d.ts.map +0 -1
- package/dist/config/context.js +0 -12
- package/dist/config/default-translations.d.ts +0 -94
- package/dist/config/default-translations.d.ts.map +0 -1
- package/dist/config/default-translations.jsx +0 -87
- package/dist/config/default-tweaks.d.ts +0 -13
- package/dist/config/default-tweaks.d.ts.map +0 -1
- package/dist/config/default-tweaks.js +0 -4
- package/dist/constants-r-AHn273.js +0 -6
- package/dist/constants-r-AHn273.js.map +0 -1
- package/dist/constants.d.ts +0 -3
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -2
- package/dist/date-picker-Bnl07nd8.js +0 -1628
- package/dist/date-picker-Bnl07nd8.js.map +0 -1
- package/dist/dom-CyQHY7ID.js +0 -2838
- package/dist/dom-CyQHY7ID.js.map +0 -1
- package/dist/file-upload-93d5DR4q.js +0 -3255
- package/dist/file-upload-93d5DR4q.js.map +0 -1
- package/dist/floating-ui.react-M2PGXLDp.js +0 -3706
- package/dist/floating-ui.react-M2PGXLDp.js.map +0 -1
- package/dist/fns-C7Dt27Qd.js +0 -33
- package/dist/fns-C7Dt27Qd.js.map +0 -1
- package/dist/hooks/use-click-outside.d.ts +0 -3
- package/dist/hooks/use-click-outside.d.ts.map +0 -1
- package/dist/hooks/use-click-outside.js +0 -17
- package/dist/hooks/use-color-parser.d.ts +0 -2
- package/dist/hooks/use-color-parser.d.ts.map +0 -1
- package/dist/hooks/use-color-parser.js +0 -9
- package/dist/hooks/use-components-provider.d.ts +0 -15
- package/dist/hooks/use-components-provider.d.ts.map +0 -1
- package/dist/hooks/use-components-provider.jsx +0 -22
- package/dist/hooks/use-debounce.d.ts +0 -5
- package/dist/hooks/use-debounce.d.ts.map +0 -1
- package/dist/hooks/use-debounce.js +0 -12
- package/dist/hooks/use-floating-ref.d.ts +0 -2
- package/dist/hooks/use-floating-ref.d.ts.map +0 -1
- package/dist/hooks/use-floating-ref.js +0 -6
- package/dist/hooks/use-form.d.ts +0 -394
- package/dist/hooks/use-form.d.ts.map +0 -1
- package/dist/hooks/use-form.js +0 -563
- package/dist/hooks/use-hover.d.ts +0 -3
- package/dist/hooks/use-hover.d.ts.map +0 -1
- package/dist/hooks/use-hover.js +0 -18
- package/dist/hooks/use-input-id.d.ts +0 -4
- package/dist/hooks/use-input-id.d.ts.map +0 -1
- package/dist/hooks/use-input-id.js +0 -5
- package/dist/hooks/use-is-coarse-device.d.ts +0 -2
- package/dist/hooks/use-is-coarse-device.d.ts.map +0 -1
- package/dist/hooks/use-is-coarse-device.js +0 -12
- package/dist/hooks/use-locale.d.ts +0 -3
- package/dist/hooks/use-locale.d.ts.map +0 -1
- package/dist/hooks/use-locale.js +0 -10
- package/dist/hooks/use-media-query.d.ts +0 -2
- package/dist/hooks/use-media-query.d.ts.map +0 -1
- package/dist/hooks/use-media-query.js +0 -25
- package/dist/hooks/use-on-event.d.ts +0 -4
- package/dist/hooks/use-on-event.d.ts.map +0 -1
- package/dist/hooks/use-on-event.js +0 -7
- package/dist/hooks/use-parent.d.ts +0 -3
- package/dist/hooks/use-parent.d.ts.map +0 -1
- package/dist/hooks/use-parent.js +0 -21
- package/dist/hooks/use-preferences.d.ts +0 -2
- package/dist/hooks/use-preferences.d.ts.map +0 -1
- package/dist/hooks/use-preferences.js +0 -23
- package/dist/hooks/use-previous.d.ts +0 -2
- package/dist/hooks/use-previous.d.ts.map +0 -1
- package/dist/hooks/use-previous.js +0 -9
- package/dist/hooks/use-reactive.d.ts +0 -2
- package/dist/hooks/use-reactive.d.ts.map +0 -1
- package/dist/hooks/use-reactive.js +0 -9
- package/dist/hooks/use-remove-scroll.d.ts +0 -4
- package/dist/hooks/use-remove-scroll.d.ts.map +0 -1
- package/dist/hooks/use-remove-scroll.js +0 -48
- package/dist/hooks/use-resize-observer.d.ts +0 -2
- package/dist/hooks/use-resize-observer.d.ts.map +0 -1
- package/dist/hooks/use-resize-observer.js +0 -17
- package/dist/hooks/use-stable-ref.d.ts +0 -2
- package/dist/hooks/use-stable-ref.d.ts.map +0 -1
- package/dist/hooks/use-stable-ref.js +0 -9
- package/dist/hooks/use-swipe.d.ts +0 -8
- package/dist/hooks/use-swipe.d.ts.map +0 -1
- package/dist/hooks/use-swipe.js +0 -17
- package/dist/hooks/use-translations.d.ts +0 -92
- package/dist/hooks/use-translations.d.ts.map +0 -1
- package/dist/hooks/use-translations.js +0 -9
- package/dist/hooks/use-tweaks.d.ts +0 -3
- package/dist/hooks/use-tweaks.d.ts.map +0 -1
- package/dist/hooks/use-tweaks.js +0 -9
- package/dist/hooks/use-window-size.d.ts +0 -5
- package/dist/hooks/use-window-size.d.ts.map +0 -1
- package/dist/hooks/use-window-size.js +0 -14
- package/dist/index-0YMC-_Lt.js +0 -20
- package/dist/index-0YMC-_Lt.js.map +0 -1
- package/dist/index-BJ1ayTam.js +0 -126
- package/dist/index-BJ1ayTam.js.map +0 -1
- package/dist/index-C-PuFUZi.js +0 -3416
- package/dist/index-C-PuFUZi.js.map +0 -1
- package/dist/index-DDeQW0JW.js +0 -1816
- package/dist/index-DDeQW0JW.js.map +0 -1
- package/dist/index-DE4shK8D.js +0 -215
- package/dist/index-DE4shK8D.js.map +0 -1
- package/dist/index-DlJ_2RBL.js +0 -35
- package/dist/index-DlJ_2RBL.js.map +0 -1
- package/dist/index-t1qLJTt5.js +0 -351
- package/dist/index-t1qLJTt5.js.map +0 -1
- package/dist/index.d.ts +0 -22
- package/dist/index.d.ts.map +0 -1
- package/dist/index.esm-BaIwleSE.js +0 -343
- package/dist/index.esm-BaIwleSE.js.map +0 -1
- package/dist/input-_MVxmIpu.js +0 -443
- package/dist/input-_MVxmIpu.js.map +0 -1
- package/dist/input-field-CDCOODOl.js +0 -182
- package/dist/input-field-CDCOODOl.js.map +0 -1
- package/dist/lib/combi-keys.d.ts +0 -15
- package/dist/lib/combi-keys.d.ts.map +0 -1
- package/dist/lib/combi-keys.js +0 -60
- package/dist/lib/dict.d.ts +0 -9
- package/dist/lib/dict.d.ts.map +0 -1
- package/dist/lib/dict.js +0 -28
- package/dist/lib/dom.d.ts +0 -20
- package/dist/lib/dom.d.ts.map +0 -1
- package/dist/lib/dom.js +0 -66
- package/dist/lib/fns.d.ts +0 -11
- package/dist/lib/fns.d.ts.map +0 -1
- package/dist/lib/fns.js +0 -46
- package/dist/lib/fzf.d.ts +0 -16
- package/dist/lib/fzf.d.ts.map +0 -1
- package/dist/lib/fzf.js +0 -115
- package/dist/lib/keyboard-area.d.ts +0 -16
- package/dist/lib/keyboard-area.d.ts.map +0 -1
- package/dist/lib/keyboard-area.js +0 -14
- package/dist/notifications-Dp0ydKJS.js +0 -2576
- package/dist/notifications-Dp0ydKJS.js.map +0 -1
- package/dist/polymorph-B5n9fs_K.js +0 -10
- package/dist/polymorph-B5n9fs_K.js.map +0 -1
- package/dist/proxy-BZcQiBrp.js +0 -2495
- package/dist/proxy-BZcQiBrp.js.map +0 -1
- package/dist/skeleton-BjJobYYf.js +0 -24
- package/dist/skeleton-BjJobYYf.js.map +0 -1
- package/dist/slot-CRyweuj0.js +0 -79
- package/dist/slot-CRyweuj0.js.map +0 -1
- package/dist/tabs-B0g7YtQv.js +0 -123
- package/dist/tabs-B0g7YtQv.js.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
- package/dist/types.d.ts +0 -26
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- package/dist/use-motion-value-eGwNuWuw.js +0 -14
- package/dist/use-motion-value-eGwNuWuw.js.map +0 -1
- package/dist/use-stable-ref-CYh-YkID.js +0 -11
- package/dist/use-stable-ref-CYh-YkID.js.map +0 -1
- package/dist/use-translations-DSltA7H_.js +0 -169
- package/dist/use-translations-DSltA7H_.js.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { t as e } from "./dom-Bn4wY_Zx.js";
|
|
2
|
+
import { t } from "./polymorph-BLXhrn9n.js";
|
|
3
|
+
import { t as n } from "./use-translations-DTLfPE3_.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/display/skeleton.tsx
|
|
7
|
+
var i = /* @__PURE__ */ r("div", {
|
|
8
|
+
role: "status",
|
|
9
|
+
"aria-busy": "true",
|
|
10
|
+
"aria-label": "Loading content",
|
|
11
|
+
className: "h-skeleton-cell-h w-10/12 animate-pulse rounded-skeleton-radius bg-muted"
|
|
12
|
+
}), a = (i) => {
|
|
13
|
+
let a = n();
|
|
14
|
+
return /* @__PURE__ */ r(t, {
|
|
15
|
+
...i,
|
|
16
|
+
role: "status",
|
|
17
|
+
"aria-busy": "true",
|
|
18
|
+
"aria-label": a.skeletonLoading,
|
|
19
|
+
as: i.as || "span",
|
|
20
|
+
className: e("block h-skeleton-height w-skeleton-width animate-pulse rounded-skeleton-radius bg-muted", i.className)
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { i as n, a as t };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=skeleton-CBYEq3lM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton-CBYEq3lM.js","names":[],"sources":["../src/components/display/skeleton.tsx"],"sourcesContent":["import React, { CSSProperties, useRef, type ElementType } from \"react\";\nimport { useTranslations } from \"../../hooks/use-translations\";\nimport { css } from \"../../lib/dom\";\nimport { Polymorph } from \"../core/polymorph\";\n\nexport const SkeletonCell = (\n <div\n role=\"status\"\n aria-busy=\"true\"\n aria-label=\"Loading content\"\n className=\"h-skeleton-cell-h w-10/12 animate-pulse rounded-skeleton-radius bg-muted\"\n />\n);\n\nexport const Skeleton = (props: { className?: string; as?: ElementType; style?: CSSProperties }) => {\n const t = useTranslations();\n return (\n <Polymorph\n {...props}\n role=\"status\"\n aria-busy=\"true\"\n aria-label={t.skeletonLoading}\n as={props.as || \"span\"}\n className={css(\"block h-skeleton-height w-skeleton-width animate-pulse rounded-skeleton-radius bg-muted\", props.className)}\n />\n );\n};\n\nexport const SkeletonList = (props: { className?: string; rows: number }) => {\n const t = useTranslations();\n const items = useRef(\n Array.from({ length: props.rows }).map((_, i) => {\n const rand = Math.max(100, Math.random() * 99);\n return <Skeleton key={`skeleton-${rand}-${i}`} style={{ width: `${rand}%` }} as=\"li\" />;\n })\n );\n return (\n <ul role=\"status\" aria-busy=\"true\" aria-label={t.skeletonLoading} className={css(\"flex flex-col gap-skeleton-list-gap\", props.className)}>\n {items.current}\n </ul>\n );\n};\n"],"mappings":";;;;;;AAKA,IAAa,IACT,kBAAC,OAAD;CACI,MAAK;CACL,aAAU;CACV,cAAW;CACX,WAAU;AACb,CAAA,GAGQ,KAAY,MAA2E;CAChG,IAAM,IAAI,EAAgB;CAC1B,OACI,kBAAC,GAAD;EACI,GAAI;EACJ,MAAK;EACL,aAAU;EACV,cAAY,EAAE;EACd,IAAI,EAAM,MAAM;EAChB,WAAW,EAAI,2FAA2F,EAAM,SAAS;CAC5H,CAAA;AAET"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { Fragment as t, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/core/slot.tsx
|
|
4
|
+
var r = Symbol.for("react.lazy");
|
|
5
|
+
function i(e, t) {
|
|
6
|
+
if (typeof e == "function") return e(t);
|
|
7
|
+
e != null && (e.current = t);
|
|
8
|
+
}
|
|
9
|
+
function a(...e) {
|
|
10
|
+
return (t) => {
|
|
11
|
+
let n = !1, r = e.map((e) => {
|
|
12
|
+
let r = i(e, t);
|
|
13
|
+
return !n && typeof r == "function" && (n = !0), r;
|
|
14
|
+
});
|
|
15
|
+
if (n) return () => {
|
|
16
|
+
for (let t = 0; t < r.length; t++) {
|
|
17
|
+
let n = r[t];
|
|
18
|
+
typeof n == "function" ? n() : i(e[t], null);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
var o = e.use;
|
|
24
|
+
function s(e) {
|
|
25
|
+
return typeof e == "object" && !!e && "then" in e;
|
|
26
|
+
}
|
|
27
|
+
function c(e) {
|
|
28
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === r && "_payload" in e && s(e._payload);
|
|
29
|
+
}
|
|
30
|
+
function l(t) {
|
|
31
|
+
let r = d(t), i = e.forwardRef((t, i) => {
|
|
32
|
+
let { children: a, ...s } = t;
|
|
33
|
+
c(a) && typeof o == "function" && (a = o(a._payload));
|
|
34
|
+
let l = e.Children.toArray(a), u = l.find(m);
|
|
35
|
+
if (u) {
|
|
36
|
+
let t = u.props.children, a = l.map((n) => n === u ? e.Children.count(t) > 1 ? e.Children.only(null) : e.isValidElement(t) ? t.props.children : null : n);
|
|
37
|
+
return /* @__PURE__ */ n(r, {
|
|
38
|
+
...s,
|
|
39
|
+
ref: i,
|
|
40
|
+
children: e.isValidElement(t) ? e.cloneElement(t, void 0, a) : null
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return /* @__PURE__ */ n(r, {
|
|
44
|
+
...s,
|
|
45
|
+
ref: i,
|
|
46
|
+
children: a
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
return i.displayName = `${t}.Slot`, i;
|
|
50
|
+
}
|
|
51
|
+
var u = l("Slot");
|
|
52
|
+
function d(t) {
|
|
53
|
+
let n = e.forwardRef((t, n) => {
|
|
54
|
+
let { children: r, ...i } = t;
|
|
55
|
+
if (c(r) && typeof o == "function" && (r = o(r._payload)), e.isValidElement(r)) {
|
|
56
|
+
let t = g(r), o = h(i, r.props);
|
|
57
|
+
return r.type !== e.Fragment && (o.ref = n ? a(n, t) : t), e.cloneElement(r, o);
|
|
58
|
+
}
|
|
59
|
+
return e.Children.count(r) > 1 ? e.Children.only(null) : null;
|
|
60
|
+
});
|
|
61
|
+
return n.displayName = `${t}.SlotClone`, n;
|
|
62
|
+
}
|
|
63
|
+
var f = Symbol("radix.slottable");
|
|
64
|
+
function p(e) {
|
|
65
|
+
let r = ({ children: e }) => /* @__PURE__ */ n(t, { children: e });
|
|
66
|
+
return r.displayName = `${e}.Slottable`, r.__radixId = f, r;
|
|
67
|
+
}
|
|
68
|
+
p("Slottable");
|
|
69
|
+
function m(t) {
|
|
70
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === f;
|
|
71
|
+
}
|
|
72
|
+
function h(e, t) {
|
|
73
|
+
let n = { ...t };
|
|
74
|
+
for (let r in t) {
|
|
75
|
+
let i = e[r], a = t[r];
|
|
76
|
+
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
77
|
+
let t = a(...e);
|
|
78
|
+
return i(...e), t;
|
|
79
|
+
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
80
|
+
...i,
|
|
81
|
+
...a
|
|
82
|
+
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
...e,
|
|
86
|
+
...n
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function g(e) {
|
|
90
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
91
|
+
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
export { u as t };
|
|
95
|
+
|
|
96
|
+
//# sourceMappingURL=slot-pC8kH9De.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-pC8kH9De.js","names":[],"sources":["../src/components/core/slot.tsx"],"sourcesContent":["import * as React from \"react\";\n\ntype PossibleRef<T> = React.Ref<T> | undefined;\n\nconst REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\n\nfunction setRef<T>(ref: PossibleRef<T>, value: T) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n\nfunction composeRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T> {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\n\ninterface LazyReactElement extends React.ReactElement {\n $$typeof: typeof REACT_LAZY_TYPE;\n _payload: PromiseLike<Exclude<React.ReactNode, PromiseLike<unknown>>>;\n}\n\nexport type Usable<T> = PromiseLike<T> | React.Context<T>;\n\nconst use: typeof React.use | undefined = (React as unknown as Record<string, unknown>)[\" use \".trim().toString()] as typeof React.use | undefined;\n\ninterface SlotProps extends React.HTMLAttributes<HTMLElement> {\n children?: React.ReactNode;\n}\n\nfunction isPromiseLike(value: unknown): value is PromiseLike<unknown> {\n return typeof value === \"object\" && value !== null && \"then\" in value;\n}\n\nfunction isLazyComponent(element: React.ReactNode): element is LazyReactElement {\n return (\n element != null &&\n typeof element === \"object\" &&\n \"$$typeof\" in element &&\n element.$$typeof === REACT_LAZY_TYPE &&\n \"_payload\" in element &&\n isPromiseLike(element._payload)\n );\n}\n\nexport function createSlot(ownerName: string) {\n const SlotClone = createSlotClone(ownerName);\n const Slot = React.forwardRef<HTMLElement, SlotProps>((props, forwardedRef) => {\n let { children, ...slotProps } = props;\n if (isLazyComponent(children) && typeof use === \"function\") {\n children = use(children._payload);\n }\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? (newElement.props as { children: React.ReactNode }).children : null;\n } else {\n return child;\n }\n });\n\n return (\n <SlotClone {...slotProps} ref={forwardedRef}>\n {React.isValidElement(newElement) ? React.cloneElement(newElement, undefined, newChildren) : null}\n </SlotClone>\n );\n }\n\n return (\n <SlotClone {...slotProps} ref={forwardedRef}>\n {children}\n </SlotClone>\n );\n });\n\n Slot.displayName = `${ownerName}.Slot`;\n return Slot;\n}\n\nexport const Slot = createSlot(\"Slot\");\n\ninterface SlotCloneProps {\n children: React.ReactNode;\n}\n\nfunction createSlotClone(ownerName: string) {\n const SlotClone = React.forwardRef<HTMLElement, SlotCloneProps>((props, forwardedRef) => {\n let { children, ...slotProps } = props;\n if (isLazyComponent(children) && typeof use === \"function\") {\n children = use(children._payload);\n }\n\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props = mergeProps(slotProps, children.props as AnyProps);\n // do not pass ref to React.Fragment for React 19 compatibility\n if (children.type !== React.Fragment) {\n props.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props);\n }\n\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\n\nconst SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n\ninterface SlottableProps {\n children: React.ReactNode;\n}\n\ninterface SlottableComponent extends React.FC<SlottableProps> {\n __radixId: symbol;\n}\n\nexport function createSlottable(ownerName: string) {\n const Slottable: SlottableComponent = ({ children }) => {\n return <>{children}</>;\n };\n Slottable.displayName = `${ownerName}.Slottable`;\n Slottable.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable;\n}\n\nconst Slottable = createSlottable(\"Slottable\");\n\ntype AnyProps = Record<string, any>;\n\nfunction isSlottable(child: React.ReactNode): child is React.ReactElement<SlottableProps, typeof Slottable> {\n return (\n React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER\n );\n}\n\nfunction mergeProps(slotProps: AnyProps, childProps: AnyProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args: unknown[]) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n\n return { ...slotProps, ...overrideProps };\n}\n\nfunction getElementRef(element: React.ReactElement) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element as unknown as { ref?: React.Ref<unknown> }).ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element.props as { ref?: React.Ref<unknown> }).ref;\n }\n return (element.props as { ref?: React.Ref<unknown> }).ref || (element as unknown as { ref?: React.Ref<unknown> }).ref;\n}\n"],"mappings":"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"}
|
package/dist/styles/common.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/styles/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/styles/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,OAAO;;;CAGV,CAAC;AAEX,eAAO,MAAM,OAAO,EAAE,YAAY,CAAC,SAAS,CAMlC,CAAC;AAEX,eAAO,MAAM,MAAM,EAAE,MAQX,CAAC"}
|
package/dist/styles/common.js
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.zIndex = exports.spacing = exports.rounded = void 0;
|
|
4
4
|
exports.rounded = {
|
|
5
|
-
button: "0.55rem",
|
|
6
5
|
pill: "2rem",
|
|
7
|
-
card: "0.75rem",
|
|
8
6
|
full: "9999px",
|
|
9
7
|
};
|
|
10
8
|
exports.spacing = {
|
|
@@ -13,13 +11,6 @@ exports.spacing = {
|
|
|
13
11
|
lg: "1.125rem",
|
|
14
12
|
sm: "0.75rem",
|
|
15
13
|
dialog: "20rem",
|
|
16
|
-
"field-height": "1.5rem",
|
|
17
|
-
"field-label": "0.875rem",
|
|
18
|
-
"input-height": "2.5rem",
|
|
19
|
-
"input-x": "0.5rem",
|
|
20
|
-
"input-y": "0.25rem",
|
|
21
|
-
"input-inline": "0.25rem",
|
|
22
|
-
"input-gap": "0.3rem",
|
|
23
14
|
};
|
|
24
15
|
exports.zIndex = {
|
|
25
16
|
wizard: "50",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/styles/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,eA4YxB,CAAC"}
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.components = void 0;
|
|
4
|
+
exports.components = {
|
|
5
|
+
card: {
|
|
6
|
+
radius: "1rem",
|
|
7
|
+
"padding-x": "1.5rem",
|
|
8
|
+
"padding-y": "0.75rem",
|
|
9
|
+
gap: "1rem",
|
|
10
|
+
"title-pb": "0.5rem",
|
|
11
|
+
"title-mb": "0.5rem",
|
|
12
|
+
"stats-icon-col-w": "5rem",
|
|
13
|
+
"stats-icon-col-p": "1rem",
|
|
14
|
+
"stats-content-gap": "0.5rem",
|
|
15
|
+
"stats-content-py": "0.5rem",
|
|
16
|
+
"title-text": "2.25rem",
|
|
17
|
+
},
|
|
18
|
+
button: {
|
|
19
|
+
radius: "0.55rem",
|
|
20
|
+
height: "2.5rem",
|
|
21
|
+
"padding-x": "1rem",
|
|
22
|
+
"padding-y": "0.5rem",
|
|
23
|
+
gap: "0.375rem",
|
|
24
|
+
"height-big": "3rem",
|
|
25
|
+
"padding-x-big": "1.5rem",
|
|
26
|
+
"padding-y-big": "1rem",
|
|
27
|
+
"height-small": "2rem",
|
|
28
|
+
"padding-x-small": "1rem",
|
|
29
|
+
"padding-y-small": "0.5rem",
|
|
30
|
+
"height-min": "1.75rem",
|
|
31
|
+
"padding-x-min": "0.75rem",
|
|
32
|
+
"padding-y-min": "0.25rem",
|
|
33
|
+
"height-tiny": "1.5rem",
|
|
34
|
+
"padding-x-tiny": "0.5rem",
|
|
35
|
+
"padding-y-tiny": "0.25rem",
|
|
36
|
+
"padding-icon": "0.25rem",
|
|
37
|
+
"radius-rough": "0.125rem",
|
|
38
|
+
"radius-squared": "0px",
|
|
39
|
+
},
|
|
40
|
+
alert: {
|
|
41
|
+
radius: "0.5rem",
|
|
42
|
+
p: "1rem",
|
|
43
|
+
gap: "0.5rem",
|
|
44
|
+
"close-top": "0.75rem",
|
|
45
|
+
"close-right": "0.75rem",
|
|
46
|
+
},
|
|
47
|
+
modal: {
|
|
48
|
+
radius: "0.5rem",
|
|
49
|
+
"padding-x": "2rem",
|
|
50
|
+
"padding-y": "1rem",
|
|
51
|
+
gap: "1rem",
|
|
52
|
+
"title-pb": "0.5rem",
|
|
53
|
+
"body-py": "0.25rem",
|
|
54
|
+
"footer-pt": "1rem",
|
|
55
|
+
"footer-gap": "0.5rem",
|
|
56
|
+
"sheet-pt": "1.5rem",
|
|
57
|
+
"sheet-pb": "1rem",
|
|
58
|
+
"close-p": "0.25rem",
|
|
59
|
+
"close-top": "0.25rem",
|
|
60
|
+
"close-right": "1rem",
|
|
61
|
+
"confirm-py": "0.5rem",
|
|
62
|
+
"sheet-handle-h": "0.75rem",
|
|
63
|
+
"sheet-handle-py": "0.5rem",
|
|
64
|
+
"sheet-pill-h": "0.5rem",
|
|
65
|
+
"sheet-pill-w": "25%",
|
|
66
|
+
"sheet-pill-radius": "0.5rem",
|
|
67
|
+
"drawer-resizer-h": "2.5rem",
|
|
68
|
+
"drawer-resizer-w": "0.5rem",
|
|
69
|
+
"resizer-radius": "0.5rem",
|
|
70
|
+
"overlay-pt": "2.5rem",
|
|
71
|
+
"overlay-p": "2.5rem",
|
|
72
|
+
"dialog-max-w-mobile": "90%",
|
|
73
|
+
"sheet-max-h-svh": "calc(100svh - 5%)",
|
|
74
|
+
"sheet-max-h-lvh": "calc(100lvh - 10%)",
|
|
75
|
+
"sheet-max-h-vh": "calc(100vh - 15%)",
|
|
76
|
+
"title-text": "1.875rem",
|
|
77
|
+
"overlay-h": "100dvh",
|
|
78
|
+
},
|
|
79
|
+
dropdown: {
|
|
80
|
+
radius: "0.5rem",
|
|
81
|
+
p: "1rem",
|
|
82
|
+
"header-mb": "0.5rem",
|
|
83
|
+
"max-h": "24rem",
|
|
84
|
+
},
|
|
85
|
+
tooltip: {
|
|
86
|
+
radius: "0.5rem",
|
|
87
|
+
p: "0.75rem",
|
|
88
|
+
},
|
|
89
|
+
menu: {
|
|
90
|
+
radius: "0.5rem",
|
|
91
|
+
"item-p": "0.625rem",
|
|
92
|
+
"max-h": "20rem",
|
|
93
|
+
},
|
|
94
|
+
stats: {
|
|
95
|
+
radius: "1rem",
|
|
96
|
+
p: "1.5rem",
|
|
97
|
+
gap: "1rem",
|
|
98
|
+
"icon-size": "2.5rem",
|
|
99
|
+
"icon-p": "2rem",
|
|
100
|
+
"inner-gap": "0.25rem",
|
|
101
|
+
"footer-px": "1.5rem",
|
|
102
|
+
"footer-py": "0.5rem",
|
|
103
|
+
"value-text": "2.25rem",
|
|
104
|
+
},
|
|
105
|
+
notification: {
|
|
106
|
+
radius: "0.75rem",
|
|
107
|
+
p: "1rem",
|
|
108
|
+
gap: "0.75rem",
|
|
109
|
+
"inner-gap": "0.25rem",
|
|
110
|
+
"close-p": "0.375rem",
|
|
111
|
+
"close-radius": "0.5rem",
|
|
112
|
+
"list-gap": "0.75rem",
|
|
113
|
+
"badge-px": "0.75rem",
|
|
114
|
+
"badge-py": "0.25rem",
|
|
115
|
+
"list-top": "1.5rem",
|
|
116
|
+
"list-max-w": "380px",
|
|
117
|
+
"badge-text": "0.625rem",
|
|
118
|
+
},
|
|
119
|
+
command: {
|
|
120
|
+
radius: "0.5rem",
|
|
121
|
+
"item-p": "0.5rem",
|
|
122
|
+
"item-gap": "0.5rem",
|
|
123
|
+
"row-h": "2.5rem",
|
|
124
|
+
"header-h": "3rem",
|
|
125
|
+
"footer-h": "2rem",
|
|
126
|
+
"footer-p": "0.5rem",
|
|
127
|
+
"list-max-h": "24rem",
|
|
128
|
+
"list-gap": "0.25rem",
|
|
129
|
+
"list-my": "0.5rem",
|
|
130
|
+
"group-px": "0.5rem",
|
|
131
|
+
"group-pt": "0.5rem",
|
|
132
|
+
"group-pb": "0.25rem",
|
|
133
|
+
"icon-size": "2.5rem",
|
|
134
|
+
"input-px": "0.5rem",
|
|
135
|
+
"input-py": "0.5rem",
|
|
136
|
+
"list-px": "0.5rem",
|
|
137
|
+
},
|
|
138
|
+
tag: {
|
|
139
|
+
radius: "2rem",
|
|
140
|
+
gap: "0.375rem",
|
|
141
|
+
height: "2rem",
|
|
142
|
+
"padding-x": "1rem",
|
|
143
|
+
"padding-y": "0.5rem",
|
|
144
|
+
"height-big": "3rem",
|
|
145
|
+
"padding-x-big": "1.5rem",
|
|
146
|
+
"padding-y-big": "1rem",
|
|
147
|
+
"height-small": "1.5rem",
|
|
148
|
+
"padding-x-small": "0.75rem",
|
|
149
|
+
"padding-y-small": "0.5rem",
|
|
150
|
+
"height-tiny": "1.25rem",
|
|
151
|
+
"padding-x-tiny": "0.5rem",
|
|
152
|
+
"padding-y-tiny": "0.25rem",
|
|
153
|
+
"padding-icon": "0.25rem",
|
|
154
|
+
"indicator-size": "0.5rem",
|
|
155
|
+
},
|
|
156
|
+
calendar: {
|
|
157
|
+
"cell-p": "0.25rem",
|
|
158
|
+
"day-size": "2.25rem",
|
|
159
|
+
"nav-p": "0.375rem",
|
|
160
|
+
"weekday-py": "0.5rem",
|
|
161
|
+
"table-mt": "0.5rem",
|
|
162
|
+
"datetime-my": "1rem",
|
|
163
|
+
"footer-mt": "0.5rem",
|
|
164
|
+
"header-radius": "0.25rem",
|
|
165
|
+
"nav-gap": "0.125rem",
|
|
166
|
+
"nav-py": "0.25rem",
|
|
167
|
+
"year-w": "4rem",
|
|
168
|
+
"icon-size": "1rem",
|
|
169
|
+
"weekday-text": "0.75rem",
|
|
170
|
+
"cell-text": "0.75rem",
|
|
171
|
+
},
|
|
172
|
+
table: {
|
|
173
|
+
radius: "0.5rem",
|
|
174
|
+
"row-gap": "0.25rem",
|
|
175
|
+
"row-pb": "1rem",
|
|
176
|
+
"cell-px": "0.5rem",
|
|
177
|
+
"loading-h": "3.5rem",
|
|
178
|
+
"empty-h": "12rem",
|
|
179
|
+
"groups-gap": "1rem",
|
|
180
|
+
"metadata-mb": "0.25rem",
|
|
181
|
+
"metadata-gap-x": "1rem",
|
|
182
|
+
"metadata-gap-y": "0.25rem",
|
|
183
|
+
"ops-py": "0.5rem",
|
|
184
|
+
"ops-gap": "1rem",
|
|
185
|
+
"filter-gap": "1rem",
|
|
186
|
+
"pill-radius": "0.75rem",
|
|
187
|
+
"pill-px": "1rem",
|
|
188
|
+
"pill-py": "0.125rem",
|
|
189
|
+
"pag-p": "0.75rem",
|
|
190
|
+
"pag-gap": "1rem",
|
|
191
|
+
"pag-items-gap": "0.5rem",
|
|
192
|
+
"pag-item-px": "0.75rem",
|
|
193
|
+
"pag-item-py": "0.25rem",
|
|
194
|
+
"loading-bar-h": "0.5rem",
|
|
195
|
+
"loading-bar-radius": "0.25rem",
|
|
196
|
+
"filter-dot-size": "0.75rem",
|
|
197
|
+
"filter-dot-mr": "0.5rem",
|
|
198
|
+
"filter-row-gap": "0.75rem",
|
|
199
|
+
"filter-inline-gap": "1rem",
|
|
200
|
+
"filter-inline-py": "0.5rem",
|
|
201
|
+
"filter-list-mt": "1rem",
|
|
202
|
+
"cell-border": "1px",
|
|
203
|
+
"divider-w": "1px",
|
|
204
|
+
"groups-mt": "1rem",
|
|
205
|
+
"groups-my": "1rem",
|
|
206
|
+
"metadata-min-w": "1ch",
|
|
207
|
+
"inline-gap-tight": "0.25rem",
|
|
208
|
+
"cell-padding": "0.75rem",
|
|
209
|
+
},
|
|
210
|
+
skeleton: {
|
|
211
|
+
radius: "0.25rem",
|
|
212
|
+
height: "2rem",
|
|
213
|
+
width: "8rem",
|
|
214
|
+
"cell-h": "1.5rem",
|
|
215
|
+
"list-gap": "1.5rem",
|
|
216
|
+
},
|
|
217
|
+
typography: {
|
|
218
|
+
xs: "0.75rem",
|
|
219
|
+
sm: "0.875rem",
|
|
220
|
+
base: "1rem",
|
|
221
|
+
lg: "1.125rem",
|
|
222
|
+
xl: "1.25rem",
|
|
223
|
+
"2xl": "1.5rem",
|
|
224
|
+
"3xl": "1.875rem",
|
|
225
|
+
"4xl": "2.25rem",
|
|
226
|
+
"5xl": "3rem",
|
|
227
|
+
},
|
|
228
|
+
input: {
|
|
229
|
+
radius: "0.375rem",
|
|
230
|
+
height: "2.5rem",
|
|
231
|
+
"padding-x": "0.5rem",
|
|
232
|
+
"padding-y": "0.25rem",
|
|
233
|
+
gap: "0.5rem",
|
|
234
|
+
text: "1rem",
|
|
235
|
+
"label-text": "0.875rem",
|
|
236
|
+
"hint-text": "0.75rem",
|
|
237
|
+
"label-mb": "0.25rem",
|
|
238
|
+
"hint-mt": "0.3rem",
|
|
239
|
+
inline: "0.25rem",
|
|
240
|
+
"slot-gap": "0.5rem",
|
|
241
|
+
"slot-pl": "0.5rem",
|
|
242
|
+
"slot-pr": "0.5rem",
|
|
243
|
+
},
|
|
244
|
+
checkbox: {
|
|
245
|
+
size: "1rem",
|
|
246
|
+
radius: "0.25rem",
|
|
247
|
+
gap: "0.5rem",
|
|
248
|
+
"hint-text": "0.75rem",
|
|
249
|
+
},
|
|
250
|
+
radiobox: {
|
|
251
|
+
size: "1rem",
|
|
252
|
+
gap: "0.5rem",
|
|
253
|
+
},
|
|
254
|
+
switch: {
|
|
255
|
+
"track-h": "1.5rem",
|
|
256
|
+
"track-w": "2.75rem",
|
|
257
|
+
"thumb-size": "1.25rem",
|
|
258
|
+
gap: "0.75rem",
|
|
259
|
+
"label-text": "0.875rem",
|
|
260
|
+
"hint-text": "0.75rem",
|
|
261
|
+
"hint-mt": "0.25rem",
|
|
262
|
+
},
|
|
263
|
+
slider: {
|
|
264
|
+
"control-h": "1.25rem",
|
|
265
|
+
"track-h": "0.5rem",
|
|
266
|
+
"thumb-size": "1.25rem",
|
|
267
|
+
},
|
|
268
|
+
"file-upload": {
|
|
269
|
+
p: "1.5rem",
|
|
270
|
+
radius: "0.5rem",
|
|
271
|
+
gap: "1rem",
|
|
272
|
+
"thumb-size": "4rem",
|
|
273
|
+
"text-name": "1.125rem",
|
|
274
|
+
"text-size": "0.875rem",
|
|
275
|
+
"delete-py": "1rem",
|
|
276
|
+
"inner-gap": "0.5rem",
|
|
277
|
+
"thumb-my": "1rem",
|
|
278
|
+
"thumb-gap": "0.25rem",
|
|
279
|
+
},
|
|
280
|
+
progress: {
|
|
281
|
+
"track-h": "1.5rem",
|
|
282
|
+
radius: "100%",
|
|
283
|
+
},
|
|
284
|
+
spinner: {
|
|
285
|
+
size: "3rem",
|
|
286
|
+
border: "0.25rem",
|
|
287
|
+
"container-p": "3rem",
|
|
288
|
+
},
|
|
289
|
+
empty: {
|
|
290
|
+
gap: "1rem",
|
|
291
|
+
px: "2rem",
|
|
292
|
+
py: "3rem",
|
|
293
|
+
},
|
|
294
|
+
list: {
|
|
295
|
+
radius: "1rem",
|
|
296
|
+
"card-p": "1.5rem",
|
|
297
|
+
"card-py": "1rem",
|
|
298
|
+
"card-pb": "2rem",
|
|
299
|
+
"card-gap": "1rem",
|
|
300
|
+
"close-p": "0.25rem",
|
|
301
|
+
"header-gap": "0.5rem",
|
|
302
|
+
"item-py": "0.5rem",
|
|
303
|
+
"item-gap": "1rem",
|
|
304
|
+
"avatar-px": "0.25rem",
|
|
305
|
+
"body-py": "0.25rem",
|
|
306
|
+
"title-text": "1.5rem",
|
|
307
|
+
},
|
|
308
|
+
timeline: {
|
|
309
|
+
"item-pb": "3rem",
|
|
310
|
+
"connector-left": "1.5rem",
|
|
311
|
+
"connector-top": "2rem",
|
|
312
|
+
"connector-w": "0.125rem",
|
|
313
|
+
"icon-size": "3rem",
|
|
314
|
+
"icon-p": "0.5rem",
|
|
315
|
+
"right-gap": "1.5rem",
|
|
316
|
+
"right-px": "1rem",
|
|
317
|
+
},
|
|
318
|
+
step: {
|
|
319
|
+
size: "2.5rem",
|
|
320
|
+
"icon-size": "1.5rem",
|
|
321
|
+
"label-px": "0.5rem",
|
|
322
|
+
gap: "1rem",
|
|
323
|
+
"connector-h": "2px",
|
|
324
|
+
},
|
|
325
|
+
tabs: {
|
|
326
|
+
"header-mb": "0.5rem",
|
|
327
|
+
"item-px": "2.5rem",
|
|
328
|
+
"item-py": "1rem",
|
|
329
|
+
"divider-h": "1px",
|
|
330
|
+
},
|
|
331
|
+
shortcut: {
|
|
332
|
+
gap: "0.25rem",
|
|
333
|
+
text: "0.875rem",
|
|
334
|
+
},
|
|
335
|
+
toolbar: {
|
|
336
|
+
bottom: "1rem",
|
|
337
|
+
radius: "0.5rem",
|
|
338
|
+
p: "1rem",
|
|
339
|
+
},
|
|
340
|
+
wizard: {
|
|
341
|
+
w: "20rem",
|
|
342
|
+
gap: "0.75rem",
|
|
343
|
+
radius: "0.5rem",
|
|
344
|
+
p: "1rem",
|
|
345
|
+
"footer-pt": "0.5rem",
|
|
346
|
+
"actions-gap": "0.5rem",
|
|
347
|
+
"counter-right": "0.5rem",
|
|
348
|
+
"counter-top": "0.5rem",
|
|
349
|
+
"label-text": "0.75rem",
|
|
350
|
+
},
|
|
351
|
+
info: {
|
|
352
|
+
gap: "0.25rem",
|
|
353
|
+
"label-text": "0.875rem",
|
|
354
|
+
"value-text": "1rem",
|
|
355
|
+
"secondary-text": "1.125rem",
|
|
356
|
+
},
|
|
357
|
+
"page-calendar": {
|
|
358
|
+
gap: "1rem",
|
|
359
|
+
"header-gap": "1rem",
|
|
360
|
+
"date-gap": "0.75rem",
|
|
361
|
+
"badge-size": "3rem",
|
|
362
|
+
"badge-radius": "0.5rem",
|
|
363
|
+
"title-text": "1.25rem",
|
|
364
|
+
"week-label-text": "0.75rem",
|
|
365
|
+
"nav-gap": "0.5rem",
|
|
366
|
+
"nav-btn-gap": "0.25rem",
|
|
367
|
+
"today-radius": "0.375rem",
|
|
368
|
+
"today-px": "0.75rem",
|
|
369
|
+
"today-py": "0.375rem",
|
|
370
|
+
"today-text": "0.875rem",
|
|
371
|
+
"view-switch-radius": "0.375rem",
|
|
372
|
+
"filter-gap": "0.375rem",
|
|
373
|
+
"filter-text": "0.75rem",
|
|
374
|
+
"dot-size": "0.25rem",
|
|
375
|
+
"dot-bottom": "0.125rem",
|
|
376
|
+
"day-header-gap": "0.75rem",
|
|
377
|
+
"day-header-px": "1rem",
|
|
378
|
+
"day-header-py": "0.5rem",
|
|
379
|
+
"day-badge-size": "2rem",
|
|
380
|
+
"gutter-w": "60px",
|
|
381
|
+
"side-px": "1rem",
|
|
382
|
+
"detail-gap": "0.5rem",
|
|
383
|
+
"detail-p": "0.75rem",
|
|
384
|
+
"weekday-py": "0.5rem",
|
|
385
|
+
"weekday-text": "0.75rem",
|
|
386
|
+
"cell-min-h": "8rem",
|
|
387
|
+
"cell-gap": "0.25rem",
|
|
388
|
+
"cell-p": "0.5rem",
|
|
389
|
+
"month-badge-size": "1.5rem",
|
|
390
|
+
"month-badge-text": "0.75rem",
|
|
391
|
+
"overflow-text": "1.125rem",
|
|
392
|
+
"week-badge-size": "1.5rem",
|
|
393
|
+
"week-badge-text": "0.875rem",
|
|
394
|
+
"hour-text": "0.625rem",
|
|
395
|
+
"pill-radius": "0.25rem",
|
|
396
|
+
"pill-text": "0.75rem",
|
|
397
|
+
"cell-gap-tight": "0.125rem",
|
|
398
|
+
"nav-mr": "0.25rem",
|
|
399
|
+
},
|
|
400
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../src/styles/dark.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../src/styles/dark.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,eAAO,MAAM,UAAU,EAAE,YAsNxB,CAAC"}
|
package/dist/styles/dark.js
CHANGED
|
@@ -2,15 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DARK_THEME = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
|
+
const components_1 = require("./components");
|
|
5
6
|
exports.DARK_THEME = {
|
|
6
7
|
name: "dark",
|
|
7
8
|
zIndex: common_1.zIndex,
|
|
8
9
|
rounded: common_1.rounded,
|
|
9
10
|
spacing: common_1.spacing,
|
|
11
|
+
components: components_1.components,
|
|
10
12
|
shadow: {
|
|
11
13
|
"shadow-notification": "1px 2px 2px 2px hsla(210, 15%, 20%, 0.15)",
|
|
12
14
|
"shadow-floating": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
13
|
-
"shadow-card": "0px 1px 1px 1px
|
|
15
|
+
"shadow-card": "0px 1px 1px 1px transparent",
|
|
14
16
|
"shadow-table": "0px 1px 1px 1px hsla(210, 25%, 20%, 0.1)",
|
|
15
17
|
},
|
|
16
18
|
colors: {
|
|
@@ -114,7 +116,7 @@ exports.DARK_THEME = {
|
|
|
114
116
|
bg: "hsla(38, 92%, 50%)",
|
|
115
117
|
},
|
|
116
118
|
info: {
|
|
117
|
-
text: "hsla(
|
|
119
|
+
text: "hsla(240, 10%, 4%)",
|
|
118
120
|
bg: "hsla(199, 89%, 48%)",
|
|
119
121
|
},
|
|
120
122
|
success: {
|
|
@@ -123,7 +125,7 @@ exports.DARK_THEME = {
|
|
|
123
125
|
},
|
|
124
126
|
danger: {
|
|
125
127
|
text: "hsla(0, 0%, 100%)",
|
|
126
|
-
bg: "hsla(0,
|
|
128
|
+
bg: "hsla(0, 72%, 42%)",
|
|
127
129
|
},
|
|
128
130
|
muted: {
|
|
129
131
|
text: "hsla(240, 5%, 96%)",
|