@zyncat/ui 0.13.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -13
- package/dist/alert.css +26 -33
- package/dist/alert.js +18 -17
- package/dist/alert.js.map +1 -1
- package/dist/avatar-group.js +2 -2
- package/dist/avatar-group.js.map +1 -1
- package/dist/avatar.css +51 -50
- package/dist/avatar.js +29 -7
- package/dist/avatar.js.map +1 -1
- package/dist/badge.css +30 -36
- package/dist/badge.js +1 -1
- package/dist/button.css +80 -96
- package/dist/button.js +1 -1
- package/dist/checkbox.css +27 -32
- package/dist/checkbox.js +2 -2
- package/dist/{chunk-RJFGWJ4W.js → chunk-3XRVPCIM.js} +6 -6
- package/dist/chunk-3XRVPCIM.js.map +1 -0
- package/dist/{chunk-M43IOM5C.js → chunk-5GBV45YD.js} +3 -3
- package/dist/{chunk-M43IOM5C.js.map → chunk-5GBV45YD.js.map} +1 -1
- package/dist/{chunk-45R4Z5XN.js → chunk-5VC3TUZ2.js} +4 -4
- package/dist/{chunk-45R4Z5XN.js.map → chunk-5VC3TUZ2.js.map} +1 -1
- package/dist/{chunk-A5WTZACK.js → chunk-5W5TKANX.js} +3 -3
- package/dist/{chunk-A5WTZACK.js.map → chunk-5W5TKANX.js.map} +1 -1
- package/dist/{chunk-AADAJL7D.js → chunk-5X3MJRIM.js} +8 -9
- package/dist/chunk-5X3MJRIM.js.map +1 -0
- package/dist/{chunk-TCUCYFT7.js → chunk-6SUHSSOK.js} +3 -3
- package/dist/{chunk-TCUCYFT7.js.map → chunk-6SUHSSOK.js.map} +1 -1
- package/dist/{chunk-DDRSMHN4.js → chunk-6X3G4GIM.js} +3 -3
- package/dist/{chunk-DDRSMHN4.js.map → chunk-6X3G4GIM.js.map} +1 -1
- package/dist/{chunk-TYHR4VNM.js → chunk-AREEMG47.js} +10 -8
- package/dist/chunk-AREEMG47.js.map +1 -0
- package/dist/{chunk-EF6RPXU7.js → chunk-BH4JFWXQ.js} +36 -31
- package/dist/chunk-BH4JFWXQ.js.map +1 -0
- package/dist/{chunk-TVYH4AN7.js → chunk-BTF6DAE3.js} +13 -13
- package/dist/chunk-BTF6DAE3.js.map +1 -0
- package/dist/{chunk-CF4QHO4N.js → chunk-CAXQJSIE.js} +10 -10
- package/dist/{chunk-CF4QHO4N.js.map → chunk-CAXQJSIE.js.map} +1 -1
- package/dist/{chunk-4C5RZXBT.js → chunk-CFRGQJ23.js} +8 -8
- package/dist/chunk-CFRGQJ23.js.map +1 -0
- package/dist/{chunk-IJS7TPGV.js → chunk-FEXUS4SV.js} +6 -5
- package/dist/chunk-FEXUS4SV.js.map +1 -0
- package/dist/{chunk-227ZW4V7.js → chunk-FLQVOSFC.js} +11 -11
- package/dist/chunk-FLQVOSFC.js.map +1 -0
- package/dist/{chunk-FONOS5RN.js → chunk-FVPNICF4.js} +11 -10
- package/dist/chunk-FVPNICF4.js.map +1 -0
- package/dist/{chunk-I45AU6KH.js → chunk-GGDAMIBH.js} +13 -7
- package/dist/chunk-GGDAMIBH.js.map +1 -0
- package/dist/{chunk-4BSHB7R3.js → chunk-GJTHWB6O.js} +9 -9
- package/dist/chunk-GJTHWB6O.js.map +1 -0
- package/dist/{chunk-EAI4POPB.js → chunk-GOLSYGRA.js} +45 -75
- package/dist/chunk-GOLSYGRA.js.map +1 -0
- package/dist/chunk-H3X2263Y.js +17 -0
- package/dist/chunk-H3X2263Y.js.map +1 -0
- package/dist/chunk-K45CWVHS.js +53 -0
- package/dist/chunk-K45CWVHS.js.map +1 -0
- package/dist/{chunk-JY6A2ZJZ.js → chunk-LNAV5E7S.js} +2 -2
- package/dist/{chunk-JY6A2ZJZ.js.map → chunk-LNAV5E7S.js.map} +1 -1
- package/dist/{chunk-TUTXXC3W.js → chunk-MDSRZ4QR.js} +3 -3
- package/dist/{chunk-TUTXXC3W.js.map → chunk-MDSRZ4QR.js.map} +1 -1
- package/dist/chunk-N2GJEO5Z.js +101 -0
- package/dist/chunk-N2GJEO5Z.js.map +1 -0
- package/dist/chunk-PU3QWBEL.js +39 -0
- package/dist/chunk-PU3QWBEL.js.map +1 -0
- package/dist/{chunk-43M6GQ4Q.js → chunk-PWQVSVXR.js} +51 -32
- package/dist/chunk-PWQVSVXR.js.map +1 -0
- package/dist/chunk-QGVFFT2B.js +14 -0
- package/dist/chunk-QGVFFT2B.js.map +1 -0
- package/dist/{chunk-5PZ43DCG.js → chunk-RBSHRRNO.js} +12 -13
- package/dist/chunk-RBSHRRNO.js.map +1 -0
- package/dist/{chunk-XNIYSAMJ.js → chunk-RW2A4M2Q.js} +14 -9
- package/dist/chunk-RW2A4M2Q.js.map +1 -0
- package/dist/{chunk-HY5MPISE.js → chunk-UYSXJ7MH.js} +9 -9
- package/dist/chunk-UYSXJ7MH.js.map +1 -0
- package/dist/chunk-VDOBLABP.js +38 -0
- package/dist/chunk-VDOBLABP.js.map +1 -0
- package/dist/chunk-VNVVG47J.js +12 -0
- package/dist/chunk-VNVVG47J.js.map +1 -0
- package/dist/{chunk-3MPF7FZV.js → chunk-WCWV5IX6.js} +3 -3
- package/dist/{chunk-3MPF7FZV.js.map → chunk-WCWV5IX6.js.map} +1 -1
- package/dist/{chunk-VAXCXZ53.js → chunk-WZUTBJC4.js} +5 -4
- package/dist/chunk-WZUTBJC4.js.map +1 -0
- package/dist/cli.js +135 -23
- package/dist/collapse.css +15 -30
- package/dist/collapse.js +1 -1
- package/dist/confetti.css +19 -12
- package/dist/confetti.js +7 -6
- package/dist/confetti.js.map +1 -1
- package/dist/count-badge.js +2 -2
- package/dist/date-field.js +20 -19
- package/dist/date-field.js.map +1 -1
- package/dist/date-picker.css +131 -154
- package/dist/date-range-field.js +55 -54
- package/dist/date-range-field.js.map +1 -1
- package/dist/datetime-field.js +24 -23
- package/dist/datetime-field.js.map +1 -1
- package/dist/dialog.css +31 -41
- package/dist/dialog.js +23 -22
- package/dist/dialog.js.map +1 -1
- package/dist/digit-strip.css +16 -16
- package/dist/dropdown.css +36 -27
- package/dist/dropdown.js +77 -40
- package/dist/dropdown.js.map +1 -1
- package/dist/emoji-picker.js +44 -45
- package/dist/emoji-picker.js.map +1 -1
- package/dist/facebook-feed.css +145 -148
- package/dist/facebook-feed.js +106 -102
- package/dist/facebook-feed.js.map +1 -1
- package/dist/flow-field.css +8 -4
- package/dist/flow-field.js +7 -6
- package/dist/flow-field.js.map +1 -1
- package/dist/glide.js +4 -3
- package/dist/icon.css +7 -10
- package/dist/input.css +76 -84
- package/dist/instagram-feed.css +65 -66
- package/dist/instagram-feed.js +61 -44
- package/dist/instagram-feed.js.map +1 -1
- package/dist/lens.css +42 -38
- package/dist/lens.js +17 -16
- package/dist/lens.js.map +1 -1
- package/dist/mcp.js +3 -2
- package/dist/menu-surface.css +54 -34
- package/dist/modal.css +2 -4
- package/dist/modal.js +12 -11
- package/dist/modal.js.map +1 -1
- package/dist/morphing-text.css +26 -16
- package/dist/morphing-text.js +14 -13
- package/dist/morphing-text.js.map +1 -1
- package/dist/motion-devtools.css +42 -68
- package/dist/motion-devtools.js +47 -39
- package/dist/motion-devtools.js.map +1 -1
- package/dist/motion-tokens.js +1 -1
- package/dist/multi-select.js +21 -16
- package/dist/multi-select.js.map +1 -1
- package/dist/number-field.js +14 -14
- package/dist/number-field.js.map +1 -1
- package/dist/odometer.css +22 -16
- package/dist/odometer.js +12 -11
- package/dist/odometer.js.map +1 -1
- package/dist/otp-field.js +3 -3
- package/dist/otp-field.js.map +1 -1
- package/dist/overlay.css +4 -9
- package/dist/pagination.css +10 -15
- package/dist/pagination.js +11 -10
- package/dist/pagination.js.map +1 -1
- package/dist/popover.css +13 -15
- package/dist/popover.js +10 -9
- package/dist/radio-group.css +60 -73
- package/dist/radio-group.js +30 -29
- package/dist/radio-group.js.map +1 -1
- package/dist/select.css +66 -75
- package/dist/select.js +19 -14
- package/dist/select.js.map +1 -1
- package/dist/sheet.css +12 -14
- package/dist/sheet.js +11 -10
- package/dist/status-badge.js +9 -9
- package/dist/status-badge.js.map +1 -1
- package/dist/styles.css +34 -34
- package/dist/support-rail.css +116 -100
- package/dist/support-rail.js +41 -40
- package/dist/support-rail.js.map +1 -1
- package/dist/table.css +76 -84
- package/dist/table.js +42 -41
- package/dist/table.js.map +1 -1
- package/dist/tabs.css +82 -90
- package/dist/tabs.js +23 -20
- package/dist/tabs.js.map +1 -1
- package/dist/tag.css +48 -53
- package/dist/tag.js +13 -12
- package/dist/tag.js.map +1 -1
- package/dist/text-field.js +5 -5
- package/dist/textarea.css +46 -49
- package/dist/textarea.js +16 -16
- package/dist/textarea.js.map +1 -1
- package/dist/theme.js +31 -15
- package/dist/theme.js.map +1 -1
- package/dist/tiktok.css +113 -117
- package/dist/tiktok.js +53 -52
- package/dist/tiktok.js.map +1 -1
- package/dist/time-field.js +26 -20
- package/dist/time-field.js.map +1 -1
- package/dist/toast-store.js +2 -1
- package/dist/toast.css +49 -65
- package/dist/toast.js +32 -26
- package/dist/toast.js.map +1 -1
- package/dist/toggle-tag.js +22 -13
- package/dist/toggle-tag.js.map +1 -1
- package/dist/toggle.css +26 -31
- package/dist/toggle.js +7 -7
- package/dist/toggle.js.map +1 -1
- package/dist/tooltip.css +16 -23
- package/dist/tooltip.js +117 -95
- package/dist/tooltip.js.map +1 -1
- package/dist/trigger.css +3 -3
- package/dist/types/components/composites/alert/Alert.d.ts +1 -2
- package/dist/types/components/composites/date-picker/TimeField.d.ts +1 -2
- package/dist/types/components/composites/date-picker/field-shell.d.ts +1 -1
- package/dist/types/components/composites/date-picker/time-core.d.ts +1 -2
- package/dist/types/components/composites/dropdown/Dropdown.d.ts +9 -1
- package/dist/types/components/composites/dropdown/types.d.ts +14 -0
- package/dist/types/components/composites/emoji-picker/EmojiPickerPanel.d.ts +1 -1
- package/dist/types/components/composites/emoji-picker/data.d.ts +2 -5
- package/dist/types/components/composites/emoji-picker/react/useEmojiPicker.d.ts +0 -11
- package/dist/types/components/composites/emoji-picker/types.d.ts +3 -8
- package/dist/types/components/composites/select/MultiSelect.d.ts +6 -1
- package/dist/types/components/composites/select/Select.d.ts +6 -1
- package/dist/types/components/composites/select/core/index.d.ts +1 -1
- package/dist/types/components/composites/select/core/menu.d.ts +3 -3
- package/dist/types/components/composites/select/core/panel.d.ts +3 -3
- package/dist/types/components/composites/tabs/Tabs.d.ts +7 -10
- package/dist/types/components/composites/toast/Toast.d.ts +1 -1
- package/dist/types/components/composites/tooltip/Tooltip.d.ts +9 -1
- package/dist/types/components/composites/tooltip/tooltip-store.d.ts +5 -6
- package/dist/types/components/dev/MotionDevtools.d.ts +3 -1
- package/dist/types/components/internal/hooks/use-host-election.d.ts +8 -0
- package/dist/types/components/internal/icon/Icon.d.ts +1 -3
- package/dist/types/components/internal/menu/highlight.d.ts +7 -0
- package/dist/types/components/internal/utils/activation.d.ts +0 -4
- package/dist/types/components/primitives/avatar/Avatar.d.ts +1 -1
- package/dist/types/components/primitives/button/Button.d.ts +1 -1
- package/dist/types/components/primitives/input/TextField.d.ts +1 -2
- package/dist/types/components/primitives/textarea/Textarea.d.ts +0 -1
- package/dist/types/shared-slot.d.ts +1 -0
- package/dist/types/tokens/component-styles.generated.d.ts +79 -151
- package/dist/types/tokens/motion-defaults.generated.d.ts +34 -0
- package/dist/types/tokens/motion-scale.d.ts +2 -2
- package/dist/types/tokens/motion-tokens.d.ts +7 -0
- package/dist/types/tokens/theme-sync.d.ts +3 -0
- package/dist/types/tokens/theme-tokens.generated.d.ts +669 -1105
- package/dist/typing-lines.css +17 -10
- package/dist/typing-lines.js +9 -8
- package/dist/typing-lines.js.map +1 -1
- package/dist/weight-field.css +31 -17
- package/dist/weight-field.js +4 -4
- package/dist/weight-field.js.map +1 -1
- package/dist/youtube.css +90 -96
- package/dist/youtube.js +87 -86
- package/dist/youtube.js.map +1 -1
- package/package.json +3 -1
- package/skills/zyncat-ui/SKILL.md +5 -3
- package/skills/zyncat-ui/references/components.md +4 -4
- package/skills/zyncat-ui/references/theming.md +105 -34
- package/src/components/composites/alert/Alert.tsx +9 -10
- package/src/components/composites/alert/alert.css +26 -33
- package/src/components/composites/date-picker/DateField.tsx +1 -1
- package/src/components/composites/date-picker/DateRangeField.tsx +1 -1
- package/src/components/composites/date-picker/DateTimeField.tsx +4 -4
- package/src/components/composites/date-picker/TimeField.tsx +8 -5
- package/src/components/composites/date-picker/calendar-panel.tsx +25 -20
- package/src/components/composites/date-picker/date-picker.css +131 -154
- package/src/components/composites/date-picker/field-shell.tsx +7 -7
- package/src/components/composites/date-picker/range-panel.tsx +34 -34
- package/src/components/composites/date-picker/time-core.tsx +4 -6
- package/src/components/composites/date-picker/use-day-focus.ts +1 -1
- package/src/components/composites/dialog/Dialog.tsx +11 -11
- package/src/components/composites/dialog/dialog.css +31 -41
- package/src/components/composites/dropdown/Dropdown.tsx +15 -2
- package/src/components/composites/dropdown/Dropdown.usage.md +7 -4
- package/src/components/composites/dropdown/dropdown.css +36 -27
- package/src/components/composites/dropdown/menu-panel.tsx +56 -27
- package/src/components/composites/dropdown/types.ts +28 -6
- package/src/components/composites/emoji-picker/EmojiPickerPanel.tsx +5 -4
- package/src/components/composites/emoji-picker/EmojiPickerPanel.usage.md +4 -4
- package/src/components/composites/emoji-picker/data.ts +2 -5
- package/src/components/composites/emoji-picker/dom.ts +6 -6
- package/src/components/composites/emoji-picker/react/category-bar.tsx +6 -6
- package/src/components/composites/emoji-picker/react/useEmojiPicker.ts +0 -11
- package/src/components/composites/emoji-picker/scaffold.ts +7 -7
- package/src/components/composites/emoji-picker/search.ts +0 -7
- package/src/components/composites/emoji-picker/styles.css +34 -34
- package/src/components/composites/emoji-picker/types.ts +3 -8
- package/src/components/composites/modal/Modal.tsx +2 -2
- package/src/components/composites/modal/modal.css +2 -4
- package/src/components/composites/pagination/Pagination.tsx +7 -7
- package/src/components/composites/pagination/pagination.css +10 -15
- package/src/components/composites/popover/Popover.tsx +2 -2
- package/src/components/composites/popover/popover.css +13 -15
- package/src/components/composites/select/MultiSelect.tsx +11 -2
- package/src/components/composites/select/MultiSelect.usage.md +2 -1
- package/src/components/composites/select/Select.tsx +10 -1
- package/src/components/composites/select/Select.usage.md +2 -1
- package/src/components/composites/select/core/index.ts +1 -1
- package/src/components/composites/select/core/menu.tsx +19 -4
- package/src/components/composites/select/core/panel.tsx +19 -15
- package/src/components/composites/select/core/trigger.tsx +5 -5
- package/src/components/composites/select/select.css +66 -75
- package/src/components/composites/sheet/Sheet.tsx +2 -2
- package/src/components/composites/sheet/sheet.css +12 -14
- package/src/components/composites/sheet/use-sheet-drag.ts +1 -1
- package/src/components/composites/table/Table.tsx +35 -35
- package/src/components/composites/table/table.css +76 -84
- package/src/components/composites/tabs/Tabs.tsx +20 -21
- package/src/components/composites/tabs/Tabs.usage.md +3 -2
- package/src/components/composites/tabs/tabs.css +82 -90
- package/src/components/composites/toast/Toast.tsx +23 -18
- package/src/components/composites/toast/toast-store.ts +8 -6
- package/src/components/composites/toast/toast.css +49 -65
- package/src/components/composites/tooltip/Tooltip.tsx +40 -19
- package/src/components/composites/tooltip/Tooltip.usage.md +9 -1
- package/src/components/composites/tooltip/tooltip-host.tsx +55 -23
- package/src/components/composites/tooltip/tooltip-store.ts +36 -53
- package/src/components/composites/tooltip/tooltip.css +16 -23
- package/src/components/compound/support-rail/SupportRail.tsx +33 -33
- package/src/components/compound/support-rail/support-rail.css +116 -100
- package/src/components/dev/MotionDevtools.tsx +28 -17
- package/src/components/dev/MotionDevtools.usage.md +2 -2
- package/src/components/dev/motion-devtools.css +42 -68
- package/src/components/dev/slowmo-engine.ts +16 -15
- package/src/components/expressive/confetti/Confetti.tsx +4 -4
- package/src/components/expressive/confetti/confetti.css +19 -12
- package/src/components/expressive/facebook-feed/chrome.tsx +2 -2
- package/src/components/expressive/facebook-feed/facebook-feed.css +145 -148
- package/src/components/expressive/facebook-feed/post.tsx +39 -39
- package/src/components/expressive/facebook-feed/reel.tsx +41 -37
- package/src/components/expressive/facebook-feed/story.tsx +27 -27
- package/src/components/expressive/flow-field/FlowField.tsx +4 -4
- package/src/components/expressive/flow-field/flow-field.css +8 -4
- package/src/components/expressive/instagram-feed/InstagramFeed.tsx +52 -44
- package/src/components/expressive/instagram-feed/instagram-feed.css +65 -66
- package/src/components/expressive/lens/Lens.tsx +14 -14
- package/src/components/expressive/lens/lens.css +42 -38
- package/src/components/expressive/morphing-text/MorphingText.tsx +12 -13
- package/src/components/expressive/morphing-text/morphing-text.css +26 -16
- package/src/components/expressive/odometer/Odometer.tsx +9 -9
- package/src/components/expressive/odometer/odometer.css +22 -16
- package/src/components/expressive/tiktok/TikTok.tsx +54 -54
- package/src/components/expressive/tiktok/tiktok.css +113 -117
- package/src/components/expressive/typing-lines/TypingLines.tsx +0 -0
- package/src/components/expressive/typing-lines/typing-lines.css +17 -10
- package/src/components/expressive/weight-field/WeightField.tsx +4 -4
- package/src/components/expressive/weight-field/weight-field.css +31 -17
- package/src/components/expressive/youtube/YouTube.tsx +4 -4
- package/src/components/expressive/youtube/glyphs.tsx +16 -16
- package/src/components/expressive/youtube/media.tsx +3 -3
- package/src/components/expressive/youtube/post.tsx +28 -28
- package/src/components/expressive/youtube/short.tsx +25 -25
- package/src/components/expressive/youtube/video.tsx +13 -13
- package/src/components/expressive/youtube/youtube.css +90 -96
- package/src/components/internal/glass/glass.css +19 -22
- package/src/components/internal/glass/glint.ts +3 -3
- package/src/components/internal/hooks/use-host-election.ts +46 -0
- package/src/components/internal/icon/Icon.tsx +1 -5
- package/src/components/internal/icon/IconSlot.tsx +1 -1
- package/src/components/internal/icon/icon.css +7 -10
- package/src/components/internal/menu/highlight.ts +12 -0
- package/src/components/internal/menu/menu-row.tsx +5 -5
- package/src/components/internal/menu/menu-surface.css +54 -34
- package/src/components/internal/overlay/layer.tsx +2 -1
- package/src/components/internal/overlay/modal.tsx +5 -4
- package/src/components/internal/overlay/overlay.css +4 -9
- package/src/components/internal/overlay/trigger.css +3 -3
- package/src/components/internal/utils/activation.ts +0 -4
- package/src/components/primitives/avatar/Avatar.tsx +24 -8
- package/src/components/primitives/avatar/AvatarGroup.tsx +4 -4
- package/src/components/primitives/avatar/avatar.css +51 -50
- package/src/components/primitives/badge/Badge.tsx +9 -9
- package/src/components/primitives/badge/StatusBadge.tsx +7 -7
- package/src/components/primitives/badge/badge.css +30 -36
- package/src/components/primitives/badge/digit-strip.css +16 -16
- package/src/components/primitives/badge/digit-strip.tsx +4 -4
- package/src/components/primitives/button/Button.tsx +8 -8
- package/src/components/primitives/button/button.css +80 -96
- package/src/components/primitives/checkbox/Checkbox.tsx +10 -4
- package/src/components/primitives/checkbox/check-glyph.tsx +5 -5
- package/src/components/primitives/checkbox/checkbox.css +27 -32
- package/src/components/primitives/collapse/Collapse.tsx +2 -2
- package/src/components/primitives/collapse/collapse.css +15 -30
- package/src/components/primitives/collapse/collapse.typecheck.tsx +1 -1
- package/src/components/primitives/input/NumberField.tsx +11 -11
- package/src/components/primitives/input/OtpField.tsx +3 -3
- package/src/components/primitives/input/TextField.tsx +9 -10
- package/src/components/primitives/input/field-chrome.tsx +6 -6
- package/src/components/primitives/input/input.css +76 -84
- package/src/components/primitives/radio-group/RadioGroup.tsx +23 -23
- package/src/components/primitives/radio-group/radio-group.css +60 -73
- package/src/components/primitives/tag/Tag.tsx +5 -5
- package/src/components/primitives/tag/ToggleTag.tsx +11 -6
- package/src/components/primitives/tag/tag.css +48 -53
- package/src/components/primitives/textarea/Textarea.tsx +13 -14
- package/src/components/primitives/textarea/textarea.css +46 -49
- package/src/components/primitives/toggle/Toggle.tsx +7 -7
- package/src/components/primitives/toggle/toggle.css +26 -31
- package/src/engine/animate.ts +2 -1
- package/src/engine/flip.ts +2 -1
- package/src/mcp/server.ts +3 -1
- package/src/motion/flip.ts +7 -8
- package/src/motion/glide.tsx +41 -26
- package/src/shared-slot.ts +10 -0
- package/src/styles.css +7 -15
- package/src/tokens/base.css +15 -0
- package/src/tokens/color.css +19 -59
- package/src/tokens/component-styles.generated.ts +79 -151
- package/src/tokens/dark.css +63 -0
- package/src/tokens/decisions.css +26 -0
- package/src/tokens/elevation.css +71 -21
- package/src/tokens/fonts.css +0 -2
- package/src/tokens/glass.css +15 -9
- package/src/tokens/motion-defaults.generated.ts +21 -0
- package/src/tokens/motion-scale.ts +2 -2
- package/src/tokens/motion-tokens.ts +65 -40
- package/src/tokens/motion-tokens.usage.md +5 -2
- package/src/tokens/motion.css +12 -22
- package/src/tokens/radius.css +10 -9
- package/src/tokens/semantic.css +57 -37
- package/src/tokens/spacing.css +5 -6
- package/src/tokens/theme-sync.tsx +15 -0
- package/src/tokens/theme-tokens.generated.ts +682 -1109
- package/src/tokens/theme.tsx +22 -16
- package/src/tokens/theme.usage.md +19 -13
- package/src/tokens/typography.css +16 -19
- package/tailwind.css +193 -0
- package/dist/chunk-227ZW4V7.js.map +0 -1
- package/dist/chunk-43M6GQ4Q.js.map +0 -1
- package/dist/chunk-4BSHB7R3.js.map +0 -1
- package/dist/chunk-4C5RZXBT.js.map +0 -1
- package/dist/chunk-5PZ43DCG.js.map +0 -1
- package/dist/chunk-7IZJERGA.js +0 -80
- package/dist/chunk-7IZJERGA.js.map +0 -1
- package/dist/chunk-AADAJL7D.js.map +0 -1
- package/dist/chunk-CNWTIMIP.js +0 -39
- package/dist/chunk-CNWTIMIP.js.map +0 -1
- package/dist/chunk-EAI4POPB.js.map +0 -1
- package/dist/chunk-EF6RPXU7.js.map +0 -1
- package/dist/chunk-FONOS5RN.js.map +0 -1
- package/dist/chunk-FQEHSKEI.js +0 -38
- package/dist/chunk-FQEHSKEI.js.map +0 -1
- package/dist/chunk-HY5MPISE.js.map +0 -1
- package/dist/chunk-I45AU6KH.js.map +0 -1
- package/dist/chunk-IJS7TPGV.js.map +0 -1
- package/dist/chunk-OWNMRMPN.js +0 -14
- package/dist/chunk-OWNMRMPN.js.map +0 -1
- package/dist/chunk-RJFGWJ4W.js.map +0 -1
- package/dist/chunk-TVYH4AN7.js.map +0 -1
- package/dist/chunk-TYHR4VNM.js.map +0 -1
- package/dist/chunk-VAXCXZ53.js.map +0 -1
- package/dist/chunk-XNIYSAMJ.js.map +0 -1
- package/dist/chunk-Y2YA7QRF.js +0 -17
- package/dist/chunk-Y2YA7QRF.js.map +0 -1
- package/src/tokens/avatar.css +0 -24
- package/src/tokens/icons.css +0 -11
- package/src/tokens/layers.css +0 -11
|
@@ -1,42 +1,36 @@
|
|
|
1
1
|
@layer zyncat.tokens, zyncat.components;
|
|
2
2
|
|
|
3
3
|
@layer zyncat.components {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.dtf__trigger {
|
|
4
|
+
.zc-dtf__trigger {
|
|
7
5
|
display: flex;
|
|
8
6
|
align-items: center;
|
|
9
7
|
text-align: left;
|
|
10
8
|
cursor: pointer;
|
|
11
9
|
gap: var(--space-2);
|
|
12
10
|
}
|
|
13
|
-
.dtf__value {
|
|
14
|
-
font: var(--type-
|
|
11
|
+
.zc-dtf__value {
|
|
12
|
+
font: var(--type-code);
|
|
15
13
|
font-variant-numeric: tabular-nums;
|
|
16
14
|
color: var(--text-strong);
|
|
17
15
|
}
|
|
18
|
-
.dtf__placeholder {
|
|
16
|
+
.zc-dtf__placeholder {
|
|
19
17
|
color: var(--text-disabled);
|
|
20
18
|
}
|
|
21
|
-
.dtf__trigger:disabled .dtf__value {
|
|
19
|
+
.zc-dtf__trigger:disabled .zc-dtf__value {
|
|
22
20
|
color: var(--text-disabled);
|
|
23
21
|
}
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
darkens via the shared .fld__input:hover; this adds the fill it omits. Held
|
|
27
|
-
off while focused or open, where the accent focus look owns the trigger. */
|
|
28
|
-
.dtf__trigger:hover:not(:disabled):not(:focus):not([aria-expanded='true']) {
|
|
23
|
+
.zc-dtf__trigger:hover:not(:disabled):not(:focus):not([aria-expanded='true']) {
|
|
29
24
|
background-color: color-mix(in oklab, var(--bg-surface) 55%, var(--bg-muted));
|
|
30
25
|
}
|
|
31
26
|
|
|
32
|
-
|
|
33
|
-
.dtf__trigger[aria-expanded='true']:not(:disabled) {
|
|
27
|
+
.zc-dtf__trigger[aria-expanded='true']:not(:disabled) {
|
|
34
28
|
border-color: var(--accent);
|
|
35
29
|
background: var(--bg-surface);
|
|
36
|
-
|
|
30
|
+
outline: var(--ring-accent);
|
|
37
31
|
}
|
|
38
32
|
|
|
39
|
-
.dtp {
|
|
33
|
+
.zc-dtp {
|
|
40
34
|
--dtp-cell: var(--control-height);
|
|
41
35
|
background: var(--bg-surface-raised);
|
|
42
36
|
border: var(--border-hairline) solid var(--border-default);
|
|
@@ -45,12 +39,11 @@
|
|
|
45
39
|
overflow: hidden;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
.dtp__cal {
|
|
42
|
+
.zc-dtp__cal {
|
|
49
43
|
padding: var(--space-3) var(--space-3) var(--space-2);
|
|
50
44
|
}
|
|
51
45
|
|
|
52
|
-
|
|
53
|
-
.dtp__head {
|
|
46
|
+
.zc-dtp__head {
|
|
54
47
|
display: flex;
|
|
55
48
|
align-items: center;
|
|
56
49
|
justify-content: space-between;
|
|
@@ -61,8 +54,8 @@
|
|
|
61
54
|
border-bottom: var(--border-hairline) solid var(--border-subtle);
|
|
62
55
|
margin-bottom: var(--space-3);
|
|
63
56
|
}
|
|
64
|
-
.dtp__month {
|
|
65
|
-
padding-inline-start: var(--space-2);
|
|
57
|
+
.zc-dtp__month {
|
|
58
|
+
padding-inline-start: var(--space-2);
|
|
66
59
|
display: inline-flex;
|
|
67
60
|
align-items: center;
|
|
68
61
|
gap: var(--space-2);
|
|
@@ -70,8 +63,8 @@
|
|
|
70
63
|
font-weight: var(--weight-semibold);
|
|
71
64
|
color: var(--text-strong);
|
|
72
65
|
}
|
|
73
|
-
.dtp__year {
|
|
74
|
-
font-family: var(--font-
|
|
66
|
+
.zc-dtp__year {
|
|
67
|
+
font-family: var(--font-code);
|
|
75
68
|
font-size: var(--size-micro);
|
|
76
69
|
line-height: 1;
|
|
77
70
|
font-weight: var(--weight-regular);
|
|
@@ -81,11 +74,11 @@
|
|
|
81
74
|
padding: var(--space-1);
|
|
82
75
|
border-radius: var(--radius-sm);
|
|
83
76
|
}
|
|
84
|
-
.dtp__navs {
|
|
77
|
+
.zc-dtp__navs {
|
|
85
78
|
display: flex;
|
|
86
79
|
gap: var(--space-1);
|
|
87
80
|
}
|
|
88
|
-
.dtp__nav {
|
|
81
|
+
.zc-dtp__nav {
|
|
89
82
|
width: var(--control-height-sm);
|
|
90
83
|
height: var(--control-height-sm);
|
|
91
84
|
display: grid;
|
|
@@ -97,48 +90,45 @@
|
|
|
97
90
|
cursor: pointer;
|
|
98
91
|
transition: var(--transition-colors);
|
|
99
92
|
}
|
|
100
|
-
.dtp__nav:hover:not(:disabled) {
|
|
93
|
+
.zc-dtp__nav:hover:not(:disabled) {
|
|
101
94
|
background: var(--neutral-wash);
|
|
102
95
|
color: var(--text-strong);
|
|
103
96
|
}
|
|
104
|
-
.dtp__nav:active:not(:disabled) {
|
|
97
|
+
.zc-dtp__nav:active:not(:disabled) {
|
|
105
98
|
background: var(--bg-muted);
|
|
106
99
|
}
|
|
107
|
-
.dtp__nav:focus-visible {
|
|
108
|
-
outline:
|
|
109
|
-
box-shadow: var(--focus-ring);
|
|
100
|
+
.zc-dtp__nav:focus-visible {
|
|
101
|
+
outline: var(--focus-ring);
|
|
110
102
|
}
|
|
111
|
-
.dtp__nav:disabled {
|
|
103
|
+
.zc-dtp__nav:disabled {
|
|
112
104
|
color: var(--text-disabled);
|
|
113
105
|
cursor: default;
|
|
114
106
|
}
|
|
115
107
|
|
|
116
|
-
.dtp__dow {
|
|
108
|
+
.zc-dtp__dow {
|
|
117
109
|
display: grid;
|
|
118
110
|
grid-template-columns: repeat(7, var(--dtp-cell));
|
|
119
111
|
gap: var(--space-1);
|
|
120
112
|
padding-bottom: var(--space-3);
|
|
121
113
|
}
|
|
122
|
-
.dtp__dow span {
|
|
114
|
+
.zc-dtp__dow span {
|
|
123
115
|
font: var(--type-micro);
|
|
124
116
|
color: var(--text-subtle);
|
|
125
117
|
text-align: center;
|
|
126
118
|
}
|
|
127
119
|
|
|
128
|
-
.dtp__days {
|
|
129
|
-
position: relative;
|
|
120
|
+
.zc-dtp__days {
|
|
121
|
+
position: relative;
|
|
130
122
|
display: grid;
|
|
131
123
|
grid-template-columns: repeat(7, var(--dtp-cell));
|
|
132
124
|
gap: var(--space-1);
|
|
133
|
-
isolation: isolate;
|
|
125
|
+
isolation: isolate;
|
|
134
126
|
}
|
|
135
|
-
|
|
136
|
-
.dtp__row {
|
|
127
|
+
.zc-dtp__row {
|
|
137
128
|
display: contents;
|
|
138
129
|
}
|
|
139
130
|
|
|
140
|
-
|
|
141
|
-
.dtp__day {
|
|
131
|
+
.zc-dtp__day {
|
|
142
132
|
position: relative;
|
|
143
133
|
width: var(--dtp-cell);
|
|
144
134
|
height: var(--dtp-cell);
|
|
@@ -148,30 +138,28 @@
|
|
|
148
138
|
padding: 0;
|
|
149
139
|
background: transparent;
|
|
150
140
|
border-radius: var(--radius-md);
|
|
151
|
-
font-family: var(--font-
|
|
141
|
+
font-family: var(--font-code);
|
|
152
142
|
font-size: var(--size-caption);
|
|
153
143
|
font-variant-numeric: tabular-nums;
|
|
154
144
|
color: var(--text-body);
|
|
155
145
|
cursor: pointer;
|
|
156
146
|
transition: var(--transition-colors);
|
|
157
147
|
}
|
|
158
|
-
.dtp__day:hover:not(:disabled) {
|
|
148
|
+
.zc-dtp__day:hover:not(:disabled) {
|
|
159
149
|
color: var(--text-strong);
|
|
160
|
-
} /* background comes from the shared glide pill, not per-cell */
|
|
161
|
-
.dtp__day:focus-visible {
|
|
162
|
-
outline: none;
|
|
163
|
-
box-shadow: var(--focus-ring);
|
|
164
150
|
}
|
|
165
|
-
.dtp__day
|
|
151
|
+
.zc-dtp__day:focus-visible {
|
|
152
|
+
outline: var(--focus-ring);
|
|
153
|
+
}
|
|
154
|
+
.zc-dtp__day.zc-is-out {
|
|
166
155
|
color: var(--text-subtle);
|
|
167
156
|
}
|
|
168
|
-
.dtp__day:disabled {
|
|
157
|
+
.zc-dtp__day:disabled {
|
|
169
158
|
color: var(--text-disabled);
|
|
170
159
|
cursor: default;
|
|
171
160
|
}
|
|
172
161
|
|
|
173
|
-
|
|
174
|
-
.dtp__hover {
|
|
162
|
+
.zc-dtp__hover {
|
|
175
163
|
opacity: 0;
|
|
176
164
|
position: absolute;
|
|
177
165
|
top: 0;
|
|
@@ -182,8 +170,7 @@
|
|
|
182
170
|
will-change: transform, opacity;
|
|
183
171
|
}
|
|
184
172
|
|
|
185
|
-
|
|
186
|
-
.dtp__pill {
|
|
173
|
+
.zc-dtp__pill {
|
|
187
174
|
position: absolute;
|
|
188
175
|
inset: 0;
|
|
189
176
|
z-index: 0;
|
|
@@ -191,21 +178,20 @@
|
|
|
191
178
|
background: var(--accent-subtle);
|
|
192
179
|
border: var(--border-hairline) solid var(--accent-border);
|
|
193
180
|
}
|
|
194
|
-
.dtp__num {
|
|
181
|
+
.zc-dtp__num {
|
|
195
182
|
position: relative;
|
|
196
183
|
z-index: 1;
|
|
197
184
|
}
|
|
198
|
-
.dtp__day.is-selected .dtp__num {
|
|
185
|
+
.zc-dtp__day.zc-is-selected .zc-dtp__num {
|
|
199
186
|
color: var(--text-accent);
|
|
200
187
|
font-weight: var(--weight-semibold);
|
|
201
188
|
}
|
|
202
189
|
|
|
203
|
-
|
|
204
|
-
.dtp__day.is-today .dtp__num {
|
|
190
|
+
.zc-dtp__day.zc-is-today .zc-dtp__num {
|
|
205
191
|
color: var(--text-accent);
|
|
206
192
|
font-weight: var(--weight-semibold);
|
|
207
193
|
}
|
|
208
|
-
.dtp__dot {
|
|
194
|
+
.zc-dtp__dot {
|
|
209
195
|
position: absolute;
|
|
210
196
|
bottom: var(--space-1);
|
|
211
197
|
left: 50%;
|
|
@@ -216,30 +202,28 @@
|
|
|
216
202
|
background: var(--accent);
|
|
217
203
|
z-index: 1;
|
|
218
204
|
}
|
|
219
|
-
.dtp__day:disabled .dtp__num {
|
|
205
|
+
.zc-dtp__day:disabled .zc-dtp__num {
|
|
220
206
|
color: var(--text-disabled);
|
|
221
207
|
}
|
|
222
|
-
.dtp__day:disabled .dtp__dot {
|
|
208
|
+
.zc-dtp__day:disabled .zc-dtp__dot {
|
|
223
209
|
background: var(--text-disabled);
|
|
224
210
|
}
|
|
225
211
|
|
|
226
|
-
|
|
227
|
-
.dtp__time {
|
|
212
|
+
.zc-dtp__time {
|
|
228
213
|
display: flex;
|
|
229
214
|
align-items: center;
|
|
230
215
|
gap: var(--space-2);
|
|
231
216
|
padding: var(--space-2) var(--space-3);
|
|
232
217
|
border-top: var(--border-hairline) solid var(--border-subtle);
|
|
233
218
|
}
|
|
234
|
-
.dtp__timeLabel {
|
|
219
|
+
.zc-dtp__timeLabel {
|
|
235
220
|
font: var(--type-caption);
|
|
236
221
|
font-weight: var(--weight-medium);
|
|
237
222
|
color: var(--text-muted);
|
|
238
223
|
margin-right: auto;
|
|
239
224
|
}
|
|
240
225
|
|
|
241
|
-
|
|
242
|
-
.dtp__timeHint {
|
|
226
|
+
.zc-dtp__timeHint {
|
|
243
227
|
display: inline-flex;
|
|
244
228
|
gap: var(--space-1);
|
|
245
229
|
opacity: 0;
|
|
@@ -249,15 +233,15 @@
|
|
|
249
233
|
opacity var(--duration-fast) var(--ease-exit),
|
|
250
234
|
transform var(--duration-fast) var(--ease-exit);
|
|
251
235
|
}
|
|
252
|
-
.dtp__time:focus-within .dtp__timeHint {
|
|
236
|
+
.zc-dtp__time:focus-within .zc-dtp__timeHint {
|
|
253
237
|
opacity: 1;
|
|
254
238
|
transform: none;
|
|
255
239
|
transition:
|
|
256
240
|
opacity var(--duration-base) var(--ease-entrance),
|
|
257
241
|
transform var(--duration-base) var(--ease-entrance);
|
|
258
242
|
}
|
|
259
|
-
.dtp__timeHint kbd {
|
|
260
|
-
font-family: var(--font-
|
|
243
|
+
.zc-dtp__timeHint kbd {
|
|
244
|
+
font-family: var(--font-code);
|
|
261
245
|
font-size: var(--size-micro);
|
|
262
246
|
line-height: 1;
|
|
263
247
|
color: var(--text-subtle);
|
|
@@ -267,7 +251,7 @@
|
|
|
267
251
|
padding: var(--space-1);
|
|
268
252
|
}
|
|
269
253
|
|
|
270
|
-
.dtp__foot {
|
|
254
|
+
.zc-dtp__foot {
|
|
271
255
|
display: flex;
|
|
272
256
|
align-items: center;
|
|
273
257
|
gap: var(--space-3);
|
|
@@ -275,8 +259,8 @@
|
|
|
275
259
|
background: var(--bg-subtle);
|
|
276
260
|
border-top: var(--border-hairline) solid var(--border-subtle);
|
|
277
261
|
}
|
|
278
|
-
.dtp__tz {
|
|
279
|
-
font-family: var(--font-
|
|
262
|
+
.zc-dtp__tz {
|
|
263
|
+
font-family: var(--font-code);
|
|
280
264
|
font-size: var(--size-caption);
|
|
281
265
|
font-variant-numeric: tabular-nums;
|
|
282
266
|
color: var(--text-subtle);
|
|
@@ -284,35 +268,35 @@
|
|
|
284
268
|
overflow: hidden;
|
|
285
269
|
text-overflow: ellipsis;
|
|
286
270
|
}
|
|
287
|
-
.dtp__footSpacer {
|
|
271
|
+
.zc-dtp__footSpacer {
|
|
288
272
|
flex: 1 1 auto;
|
|
289
273
|
}
|
|
290
274
|
|
|
291
|
-
.drp {
|
|
292
|
-
--dtp-cell: var(--control-height);
|
|
275
|
+
.zc-drp {
|
|
276
|
+
--dtp-cell: var(--control-height);
|
|
293
277
|
background: var(--bg-surface-raised);
|
|
294
278
|
border: var(--border-hairline) solid var(--border-default);
|
|
295
279
|
border-radius: var(--radius-lg);
|
|
296
280
|
box-shadow: var(--shadow-lg);
|
|
297
281
|
overflow: hidden;
|
|
298
282
|
}
|
|
299
|
-
.drp__body {
|
|
283
|
+
.zc-drp__body {
|
|
300
284
|
display: flex;
|
|
301
285
|
align-items: stretch;
|
|
302
286
|
}
|
|
303
287
|
|
|
304
|
-
.drp__presets {
|
|
288
|
+
.zc-drp__presets {
|
|
305
289
|
flex: none;
|
|
306
|
-
width: max-content;
|
|
290
|
+
width: max-content;
|
|
307
291
|
display: flex;
|
|
308
292
|
flex-direction: column;
|
|
309
293
|
gap: var(--space-px);
|
|
310
294
|
padding: var(--space-3) var(--space-2);
|
|
311
295
|
border-right: var(--border-hairline) solid var(--border-subtle);
|
|
312
296
|
background: var(--bg-subtle);
|
|
313
|
-
isolation: isolate;
|
|
297
|
+
isolation: isolate;
|
|
314
298
|
}
|
|
315
|
-
.drp__preset {
|
|
299
|
+
.zc-drp__preset {
|
|
316
300
|
position: relative;
|
|
317
301
|
appearance: none;
|
|
318
302
|
text-align: left;
|
|
@@ -326,20 +310,18 @@
|
|
|
326
310
|
transition: var(--transition-colors);
|
|
327
311
|
white-space: nowrap;
|
|
328
312
|
}
|
|
329
|
-
.drp__preset:hover {
|
|
313
|
+
.zc-drp__preset:hover {
|
|
330
314
|
color: var(--text-strong);
|
|
331
|
-
} /* bg comes from the glide pill */
|
|
332
|
-
.drp__preset:focus-visible {
|
|
333
|
-
outline: none;
|
|
334
|
-
box-shadow: var(--ring-accent);
|
|
335
315
|
}
|
|
336
|
-
.drp__preset
|
|
316
|
+
.zc-drp__preset:focus-visible {
|
|
317
|
+
outline: var(--ring-accent);
|
|
318
|
+
}
|
|
319
|
+
.zc-drp__preset.zc-is-active {
|
|
337
320
|
background: var(--accent-subtle);
|
|
338
321
|
color: var(--text-accent);
|
|
339
322
|
font-weight: var(--weight-medium);
|
|
340
323
|
}
|
|
341
|
-
|
|
342
|
-
.drp__presetGlide {
|
|
324
|
+
.zc-drp__presetGlide {
|
|
343
325
|
position: absolute;
|
|
344
326
|
top: 0;
|
|
345
327
|
left: 0;
|
|
@@ -349,24 +331,25 @@
|
|
|
349
331
|
will-change: transform, opacity;
|
|
350
332
|
}
|
|
351
333
|
|
|
352
|
-
.drp__months {
|
|
353
|
-
position: relative;
|
|
354
|
-
isolation: isolate;
|
|
334
|
+
.zc-drp__months {
|
|
335
|
+
position: relative;
|
|
336
|
+
isolation: isolate;
|
|
355
337
|
display: flex;
|
|
356
338
|
}
|
|
357
|
-
.drp__months .dtp__cal {
|
|
339
|
+
.zc-drp__months .zc-dtp__cal {
|
|
358
340
|
padding: var(--space-3);
|
|
359
341
|
}
|
|
360
|
-
.drp__months .dtp__cal + .dtp__cal {
|
|
342
|
+
.zc-drp__months .zc-dtp__cal + .zc-dtp__cal {
|
|
361
343
|
border-left: var(--border-hairline) solid var(--border-subtle);
|
|
362
344
|
}
|
|
363
345
|
|
|
364
|
-
/*
|
|
346
|
+
/* The slide is a CSS keyframe rather than Motion: the layoutId caps FLIP inside this grid on the same remount
|
|
347
|
+
and cannot share it with a Motion slide. */
|
|
365
348
|
@media (prefers-reduced-motion: no-preference) {
|
|
366
|
-
.drp .dtp__days[data-enter='1'] {
|
|
349
|
+
.zc-drp .zc-dtp__days[data-enter='1'] {
|
|
367
350
|
animation: drp-month-in-l var(--duration-base) var(--ease-entrance);
|
|
368
351
|
}
|
|
369
|
-
.drp .dtp__days[data-enter='-1'] {
|
|
352
|
+
.zc-drp .zc-dtp__days[data-enter='-1'] {
|
|
370
353
|
animation: drp-month-in-r var(--duration-base) var(--ease-entrance);
|
|
371
354
|
}
|
|
372
355
|
}
|
|
@@ -391,8 +374,7 @@
|
|
|
391
374
|
}
|
|
392
375
|
}
|
|
393
376
|
|
|
394
|
-
|
|
395
|
-
.drp__mhead {
|
|
377
|
+
.zc-drp__mhead {
|
|
396
378
|
display: flex;
|
|
397
379
|
align-items: center;
|
|
398
380
|
gap: var(--space-2);
|
|
@@ -402,71 +384,68 @@
|
|
|
402
384
|
margin-inline: calc(-1 * var(--space-3));
|
|
403
385
|
padding-inline: var(--space-3);
|
|
404
386
|
}
|
|
405
|
-
.drp__mhead .dtp__month {
|
|
387
|
+
.zc-drp__mhead .zc-dtp__month {
|
|
406
388
|
flex: 1 1 auto;
|
|
407
389
|
text-align: center;
|
|
408
390
|
padding-inline-start: 0;
|
|
409
391
|
}
|
|
410
|
-
.drp__mhead--right {
|
|
392
|
+
.zc-drp__mhead--right {
|
|
411
393
|
justify-content: space-between;
|
|
412
394
|
}
|
|
413
395
|
|
|
414
|
-
|
|
415
|
-
.drp__band {
|
|
396
|
+
.zc-drp__band {
|
|
416
397
|
position: absolute;
|
|
417
398
|
inset: 0;
|
|
418
399
|
z-index: 0;
|
|
419
|
-
background: var(
|
|
420
|
-
--accent-subtle
|
|
421
|
-
); /* opaque, so the 1px gap-bridge overlaps don't stack into darker seams between days */
|
|
400
|
+
background: var(--accent-subtle);
|
|
422
401
|
}
|
|
423
|
-
|
|
402
|
+
/* Overshoots the gap by 1px so neighbouring bands overlap instead of leaving a subpixel seam; the fill is
|
|
403
|
+
opaque so the overlap does not darken. */
|
|
404
|
+
.zc-drp__band--extL {
|
|
424
405
|
left: calc(-1 * var(--space-1) - 1px);
|
|
425
406
|
}
|
|
426
|
-
.drp__band--extR {
|
|
407
|
+
.zc-drp__band--extR {
|
|
427
408
|
right: calc(-1 * var(--space-1) - 1px);
|
|
428
409
|
}
|
|
429
|
-
.drp__band--roundL {
|
|
410
|
+
.zc-drp__band--roundL {
|
|
430
411
|
border-top-left-radius: var(--radius-md);
|
|
431
412
|
border-bottom-left-radius: var(--radius-md);
|
|
432
413
|
}
|
|
433
|
-
.drp__band--roundR {
|
|
414
|
+
.zc-drp__band--roundR {
|
|
434
415
|
border-top-right-radius: var(--radius-md);
|
|
435
416
|
border-bottom-right-radius: var(--radius-md);
|
|
436
417
|
}
|
|
437
418
|
|
|
438
|
-
|
|
439
|
-
.drp__cap {
|
|
419
|
+
.zc-drp__cap {
|
|
440
420
|
position: absolute;
|
|
441
421
|
inset: 0;
|
|
442
422
|
z-index: 1;
|
|
443
423
|
border-radius: var(--radius-md);
|
|
444
|
-
background: var(--accent-border);
|
|
424
|
+
background: var(--accent-border);
|
|
445
425
|
}
|
|
446
|
-
.drp__cap--ghost {
|
|
426
|
+
.zc-drp__cap--ghost {
|
|
447
427
|
background: transparent;
|
|
448
428
|
border: var(--border-hairline) solid var(--accent);
|
|
449
429
|
}
|
|
450
430
|
|
|
451
|
-
|
|
452
|
-
.drp .dtp__num {
|
|
431
|
+
.zc-drp .zc-dtp__num {
|
|
453
432
|
z-index: 2;
|
|
454
433
|
}
|
|
455
|
-
.drp .dtp__day.is-in-range .dtp__num {
|
|
434
|
+
.zc-drp .zc-dtp__day.zc-is-in-range .zc-dtp__num {
|
|
456
435
|
color: var(--text-accent);
|
|
457
436
|
}
|
|
458
|
-
.drp .dtp__day.is-cap .dtp__num,
|
|
459
|
-
.drp .dtp__day.is-cap-ghost .dtp__num {
|
|
437
|
+
.zc-drp .zc-dtp__day.zc-is-cap .zc-dtp__num,
|
|
438
|
+
.zc-drp .zc-dtp__day.zc-is-cap-ghost .zc-dtp__num {
|
|
460
439
|
color: var(--text-accent);
|
|
461
440
|
font-weight: var(--weight-semibold);
|
|
462
441
|
}
|
|
463
442
|
|
|
464
|
-
.drp .dtp__day.is-cap .dtp__dot,
|
|
465
|
-
.drp .dtp__day.is-cap-ghost .dtp__dot {
|
|
443
|
+
.zc-drp .zc-dtp__day.zc-is-cap .zc-dtp__dot,
|
|
444
|
+
.zc-drp .zc-dtp__day.zc-is-cap-ghost .zc-dtp__dot {
|
|
466
445
|
background: var(--accent);
|
|
467
446
|
}
|
|
468
447
|
|
|
469
|
-
.drp__foot {
|
|
448
|
+
.zc-drp__foot {
|
|
470
449
|
display: flex;
|
|
471
450
|
align-items: center;
|
|
472
451
|
gap: var(--space-3);
|
|
@@ -474,45 +453,42 @@
|
|
|
474
453
|
background: var(--bg-subtle);
|
|
475
454
|
border-top: var(--border-hairline) solid var(--border-subtle);
|
|
476
455
|
}
|
|
477
|
-
.drp__readout {
|
|
478
|
-
font-family: var(--font-
|
|
456
|
+
.zc-drp__readout {
|
|
457
|
+
font-family: var(--font-code);
|
|
479
458
|
font-size: var(--size-caption);
|
|
480
459
|
font-variant-numeric: tabular-nums;
|
|
481
460
|
color: var(--text-body);
|
|
482
461
|
white-space: nowrap;
|
|
483
462
|
}
|
|
484
|
-
.drp__readout .drp__count {
|
|
463
|
+
.zc-drp__readout .zc-drp__count {
|
|
485
464
|
color: var(--text-subtle);
|
|
486
465
|
}
|
|
487
|
-
.drp__readout.is-empty {
|
|
466
|
+
.zc-drp__readout.zc-is-empty {
|
|
488
467
|
color: var(--text-disabled);
|
|
489
468
|
}
|
|
490
|
-
.drp__tz {
|
|
491
|
-
font-family: var(--font-
|
|
469
|
+
.zc-drp__tz {
|
|
470
|
+
font-family: var(--font-code);
|
|
492
471
|
font-size: var(--size-caption);
|
|
493
472
|
font-variant-numeric: tabular-nums;
|
|
494
473
|
color: var(--text-subtle);
|
|
495
474
|
white-space: nowrap;
|
|
496
475
|
}
|
|
497
|
-
.drp__footSpacer {
|
|
476
|
+
.zc-drp__footSpacer {
|
|
498
477
|
flex: 1 1 auto;
|
|
499
478
|
}
|
|
500
479
|
|
|
501
|
-
|
|
502
|
-
.drp--sheet {
|
|
480
|
+
.zc-drp--sheet {
|
|
503
481
|
--dtp-cell: var(--control-height-lg);
|
|
504
|
-
} /* 40px touch targets */
|
|
505
|
-
.drp--sheet {
|
|
506
482
|
width: 100vw;
|
|
507
483
|
max-width: 100%;
|
|
508
484
|
border: 0;
|
|
509
485
|
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
|
|
510
486
|
box-shadow: none;
|
|
511
487
|
}
|
|
512
|
-
.drp--sheet .drp__body {
|
|
488
|
+
.zc-drp--sheet .zc-drp__body {
|
|
513
489
|
flex-direction: column;
|
|
514
490
|
}
|
|
515
|
-
.drp--sheet .drp__presets {
|
|
491
|
+
.zc-drp--sheet .zc-drp__presets {
|
|
516
492
|
width: auto;
|
|
517
493
|
flex-direction: row;
|
|
518
494
|
overflow-x: auto;
|
|
@@ -521,26 +497,26 @@
|
|
|
521
497
|
border-bottom: var(--border-hairline) solid var(--border-subtle);
|
|
522
498
|
scrollbar-width: none;
|
|
523
499
|
}
|
|
524
|
-
.drp--sheet .drp__presets::-webkit-scrollbar {
|
|
500
|
+
.zc-drp--sheet .zc-drp__presets::-webkit-scrollbar {
|
|
525
501
|
display: none;
|
|
526
502
|
}
|
|
527
|
-
.drp--sheet .drp__preset {
|
|
503
|
+
.zc-drp--sheet .zc-drp__preset {
|
|
528
504
|
flex: none;
|
|
529
505
|
}
|
|
530
|
-
.drp--sheet .drp__months {
|
|
506
|
+
.zc-drp--sheet .zc-drp__months {
|
|
531
507
|
justify-content: center;
|
|
532
508
|
padding-block: var(--space-2);
|
|
533
509
|
}
|
|
534
510
|
|
|
535
|
-
.tsg {
|
|
511
|
+
.zc-tsg {
|
|
536
512
|
display: inline-flex;
|
|
537
513
|
align-items: center;
|
|
538
|
-
font-family: var(--font-
|
|
514
|
+
font-family: var(--font-code);
|
|
539
515
|
font-size: var(--size-caption);
|
|
540
516
|
font-variant-numeric: tabular-nums;
|
|
541
517
|
color: var(--text-strong);
|
|
542
518
|
}
|
|
543
|
-
.tsg__seg {
|
|
519
|
+
.zc-tsg__seg {
|
|
544
520
|
padding: var(--space-1);
|
|
545
521
|
border-radius: var(--radius-sm);
|
|
546
522
|
outline: none;
|
|
@@ -548,51 +524,52 @@
|
|
|
548
524
|
user-select: none;
|
|
549
525
|
transition: var(--transition-colors);
|
|
550
526
|
}
|
|
551
|
-
/* :focus, not :focus-visible
|
|
552
|
-
.tsg__seg:focus {
|
|
527
|
+
/* :focus, not :focus-visible: a clicked segment has to read selected, the same as keyboard entry. */
|
|
528
|
+
.zc-tsg__seg:focus {
|
|
553
529
|
background: var(--accent-subtle);
|
|
554
530
|
color: var(--text-accent);
|
|
555
531
|
}
|
|
556
|
-
.tsg__seg.is-empty {
|
|
532
|
+
.zc-tsg__seg.zc-is-empty {
|
|
557
533
|
color: var(--text-disabled);
|
|
558
534
|
}
|
|
559
|
-
.tsg__seg.is-empty:focus {
|
|
535
|
+
.zc-tsg__seg.zc-is-empty:focus {
|
|
560
536
|
color: var(--text-accent);
|
|
561
537
|
}
|
|
562
|
-
.tsg__sep {
|
|
538
|
+
.zc-tsg__sep {
|
|
563
539
|
color: var(--text-subtle);
|
|
564
540
|
}
|
|
565
|
-
.tsg__seg--mer {
|
|
541
|
+
.zc-tsg__seg--mer {
|
|
566
542
|
margin-left: var(--space-1);
|
|
567
543
|
}
|
|
568
544
|
|
|
569
|
-
.tsg.is-disabled,
|
|
570
|
-
.tsg.is-disabled .tsg__seg {
|
|
545
|
+
.zc-tsg.zc-is-disabled,
|
|
546
|
+
.zc-tsg.zc-is-disabled .zc-tsg__seg {
|
|
571
547
|
color: var(--text-disabled);
|
|
572
548
|
cursor: not-allowed;
|
|
573
549
|
}
|
|
574
550
|
|
|
575
|
-
/*
|
|
576
|
-
|
|
551
|
+
/* The box is a div in .zc-fld__input chrome, so the input focus rules never reach it; these restate them, scoped
|
|
552
|
+
under .zc-tfd to outrank .zc-fld__input. */
|
|
553
|
+
.zc-tfd__box {
|
|
577
554
|
display: inline-flex;
|
|
578
555
|
align-items: center;
|
|
579
556
|
cursor: text;
|
|
580
557
|
}
|
|
581
|
-
.tfd .tfd__box:focus-within {
|
|
558
|
+
.zc-tfd .zc-tfd__box:focus-within {
|
|
582
559
|
border-color: var(--accent);
|
|
583
560
|
background: var(--bg-surface);
|
|
584
|
-
|
|
561
|
+
outline: var(--ring-accent);
|
|
585
562
|
}
|
|
586
|
-
.tfd.is-error .tfd__box {
|
|
563
|
+
.zc-tfd.zc-is-error .zc-tfd__box {
|
|
587
564
|
border-color: var(--danger);
|
|
588
565
|
}
|
|
589
|
-
.tfd.is-error .tfd__box:hover:not(.is-disabled):not(:focus-within) {
|
|
566
|
+
.zc-tfd.zc-is-error .zc-tfd__box:hover:not(.zc-is-disabled):not(:focus-within) {
|
|
590
567
|
border-color: var(--danger-text);
|
|
591
568
|
}
|
|
592
|
-
.tfd.is-error .tfd__box:focus-within {
|
|
593
|
-
|
|
569
|
+
.zc-tfd.zc-is-error .zc-tfd__box:focus-within {
|
|
570
|
+
outline: var(--ring-danger);
|
|
594
571
|
}
|
|
595
|
-
.tfd .tfd__box.is-disabled {
|
|
572
|
+
.zc-tfd .zc-tfd__box.zc-is-disabled {
|
|
596
573
|
background: var(--bg-muted);
|
|
597
574
|
cursor: not-allowed;
|
|
598
575
|
}
|