@zyncat/ui 0.13.1 → 0.17.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 +46 -157
- package/dist/alert.css +27 -34
- package/dist/alert.js +26 -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 +53 -51
- package/dist/avatar.js +29 -7
- package/dist/avatar.js.map +1 -1
- package/dist/badge.css +31 -37
- package/dist/badge.js +1 -1
- package/dist/bloom-HV23M4AW.js +81 -0
- package/dist/bloom-HV23M4AW.js.map +1 -0
- package/dist/button.css +99 -118
- package/dist/button.js +3 -1
- package/dist/checkbox.css +28 -33
- package/dist/checkbox.js +2 -2
- package/dist/chunk-2YGHPQ66.js +16 -0
- package/dist/chunk-2YGHPQ66.js.map +1 -0
- package/dist/chunk-3MLUH2QL.js +53 -0
- package/dist/chunk-3MLUH2QL.js.map +1 -0
- package/dist/{chunk-RJFGWJ4W.js → chunk-3XRVPCIM.js} +6 -6
- package/dist/chunk-3XRVPCIM.js.map +1 -0
- package/dist/{chunk-FONOS5RN.js → chunk-4PQDVK23.js} +11 -10
- package/dist/chunk-4PQDVK23.js.map +1 -0
- 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-227ZW4V7.js → chunk-6IXLW7QA.js} +11 -11
- package/dist/chunk-6IXLW7QA.js.map +1 -0
- package/dist/chunk-7NHY2CRA.js +132 -0
- package/dist/chunk-7NHY2CRA.js.map +1 -0
- package/dist/{chunk-EF6RPXU7.js → chunk-7VTWJL72.js} +43 -35
- package/dist/chunk-7VTWJL72.js.map +1 -0
- package/dist/chunk-7ZSIUUC3.js +50 -0
- package/dist/chunk-7ZSIUUC3.js.map +1 -0
- package/dist/{chunk-TYHR4VNM.js → chunk-AREEMG47.js} +10 -8
- package/dist/chunk-AREEMG47.js.map +1 -0
- package/dist/{chunk-DDRSMHN4.js → chunk-DH7DT6EO.js} +3 -3
- package/dist/{chunk-DDRSMHN4.js.map → chunk-DH7DT6EO.js.map} +1 -1
- package/dist/chunk-EOWWVFBF.js +14 -0
- package/dist/chunk-EOWWVFBF.js.map +1 -0
- package/dist/{chunk-5PZ43DCG.js → chunk-FLDIRXFU.js} +12 -13
- package/dist/chunk-FLDIRXFU.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-M43IOM5C.js → chunk-GWCBTD63.js} +3 -3
- package/dist/{chunk-M43IOM5C.js.map → chunk-GWCBTD63.js.map} +1 -1
- package/dist/chunk-GZ6UMHCK.js +103 -0
- package/dist/chunk-GZ6UMHCK.js.map +1 -0
- package/dist/chunk-H3X2263Y.js +17 -0
- package/dist/chunk-H3X2263Y.js.map +1 -0
- package/dist/{chunk-IJS7TPGV.js → chunk-HWDIVGME.js} +14 -7
- package/dist/chunk-HWDIVGME.js.map +1 -0
- package/dist/chunk-KSAJ6DED.js +16 -0
- package/dist/chunk-KSAJ6DED.js.map +1 -0
- package/dist/chunk-LH2UIEKN.js +42 -0
- package/dist/chunk-LH2UIEKN.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-CF4QHO4N.js → chunk-M2A6PZ7J.js} +10 -10
- package/dist/{chunk-CF4QHO4N.js.map → chunk-M2A6PZ7J.js.map} +1 -1
- package/dist/chunk-NYQQH4R5.js +40 -0
- package/dist/chunk-NYQQH4R5.js.map +1 -0
- package/dist/{chunk-TVYH4AN7.js → chunk-ODRO3KS6.js} +13 -13
- package/dist/chunk-ODRO3KS6.js.map +1 -0
- package/dist/chunk-PU3QWBEL.js +39 -0
- package/dist/chunk-PU3QWBEL.js.map +1 -0
- package/dist/{chunk-4BSHB7R3.js → chunk-QDAN43B6.js} +9 -9
- package/dist/chunk-QDAN43B6.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-TUTXXC3W.js → chunk-RY35IU3G.js} +3 -3
- package/dist/{chunk-TUTXXC3W.js.map → chunk-RY35IU3G.js.map} +1 -1
- package/dist/{chunk-EAI4POPB.js → chunk-TBLPZQSI.js} +56 -50
- package/dist/chunk-TBLPZQSI.js.map +1 -0
- package/dist/{chunk-AADAJL7D.js → chunk-UKPX3RIP.js} +8 -9
- package/dist/chunk-UKPX3RIP.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-4C5RZXBT.js → chunk-VZXML7EH.js} +8 -8
- package/dist/chunk-VZXML7EH.js.map +1 -0
- package/dist/{chunk-43M6GQ4Q.js → chunk-WC45VSST.js} +51 -32
- package/dist/chunk-WC45VSST.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-WQKWPI6V.js +196 -0
- package/dist/chunk-WQKWPI6V.js.map +1 -0
- package/dist/{chunk-VAXCXZ53.js → chunk-WZUTBJC4.js} +5 -4
- package/dist/chunk-WZUTBJC4.js.map +1 -0
- package/dist/chunk-ZHMOH62S.js +101 -0
- package/dist/chunk-ZHMOH62S.js.map +1 -0
- package/dist/cli.js +356 -28
- package/dist/collapse.css +21 -33
- package/dist/collapse.js +1 -1
- package/dist/confetti.css +20 -13
- 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 +22 -19
- package/dist/date-field.js.map +1 -1
- package/dist/date-picker.css +287 -185
- package/dist/date-range-field.js +75 -59
- package/dist/date-range-field.js.map +1 -1
- package/dist/datetime-field.js +26 -23
- package/dist/datetime-field.js.map +1 -1
- package/dist/dialog.css +35 -44
- package/dist/dialog.js +23 -22
- package/dist/dialog.js.map +1 -1
- package/dist/digit-strip.css +17 -17
- package/dist/dropdown.css +37 -28
- 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 +146 -149
- package/dist/facebook-feed.js +106 -102
- package/dist/facebook-feed.js.map +1 -1
- package/dist/flow-field.css +9 -5
- package/dist/flow-field.js +8 -7
- package/dist/flow-field.js.map +1 -1
- package/dist/glide.js +4 -3
- package/dist/icon.css +8 -11
- package/dist/input.css +81 -86
- package/dist/instagram-feed.css +66 -67
- package/dist/instagram-feed.js +61 -44
- package/dist/instagram-feed.js.map +1 -1
- package/dist/lens.css +42 -39
- package/dist/lens.js +17 -16
- package/dist/lens.js.map +1 -1
- package/dist/mcp.js +4 -3
- package/dist/menu-surface.css +55 -35
- package/dist/modal.css +3 -5
- package/dist/modal.js +12 -11
- package/dist/modal.js.map +1 -1
- package/dist/morphing-text.css +27 -17
- package/dist/morphing-text.js +14 -13
- package/dist/morphing-text.js.map +1 -1
- package/dist/motion-devtools.css +118 -69
- package/dist/motion-devtools.js +230 -65
- 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 +15 -15
- package/dist/number-field.js.map +1 -1
- package/dist/odometer.css +23 -17
- 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 +5 -10
- package/dist/pagination.css +11 -16
- package/dist/pagination.js +13 -10
- package/dist/pagination.js.map +1 -1
- package/dist/paint-CJQCM6ZO.js +260 -0
- package/dist/paint-CJQCM6ZO.js.map +1 -0
- package/dist/popover.css +14 -16
- package/dist/popover.js +10 -9
- package/dist/radio-group.css +65 -76
- package/dist/radio-group.js +30 -29
- package/dist/radio-group.js.map +1 -1
- package/dist/select.css +67 -76
- package/dist/select.js +19 -14
- package/dist/select.js.map +1 -1
- package/dist/sheet.css +13 -15
- package/dist/sheet.js +11 -10
- package/dist/spinner.css +115 -0
- package/dist/spinner.js +4 -0
- package/dist/spinner.js.map +1 -0
- package/dist/status-badge.js +9 -9
- package/dist/status-badge.js.map +1 -1
- package/dist/styles.css +35 -35
- package/dist/support-rail.css +110 -256
- package/dist/support-rail.js +116 -123
- package/dist/support-rail.js.map +1 -1
- package/dist/table.css +77 -85
- package/dist/table.js +44 -41
- package/dist/table.js.map +1 -1
- package/dist/tabs.css +81 -93
- package/dist/tabs.js +23 -20
- package/dist/tabs.js.map +1 -1
- package/dist/tag.css +49 -54
- package/dist/tag.js +13 -12
- package/dist/tag.js.map +1 -1
- package/dist/text-field.js +5 -5
- package/dist/textarea.css +47 -50
- package/dist/textarea.js +16 -16
- package/dist/textarea.js.map +1 -1
- package/dist/theme-grid.js +11 -0
- package/dist/theme-grid.js.map +1 -0
- package/dist/theme-switcher.css +107 -0
- package/dist/theme-switcher.js +70 -0
- package/dist/theme-switcher.js.map +1 -0
- package/dist/theme-transition-LLC644ZR.js +346 -0
- package/dist/theme-transition-LLC644ZR.js.map +1 -0
- package/dist/theme-transition.css +48 -0
- package/dist/theme.js +74 -27
- package/dist/theme.js.map +1 -1
- package/dist/tide-DJZMDAFT.js +57 -0
- package/dist/tide-DJZMDAFT.js.map +1 -0
- package/dist/tiktok.css +114 -119
- 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 +51 -79
- package/dist/toast.js +34 -26
- package/dist/toast.js.map +1 -1
- package/dist/toggle-tag.js +23 -14
- package/dist/toggle-tag.js.map +1 -1
- package/dist/toggle.css +27 -32
- package/dist/toggle.js +7 -7
- package/dist/toggle.js.map +1 -1
- package/dist/tooltip.css +17 -24
- package/dist/tooltip.js +117 -95
- package/dist/tooltip.js.map +1 -1
- package/dist/trigger.css +4 -4
- 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/month-jump.d.ts +11 -0
- 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/theme-switcher/ThemeGrid.d.ts +20 -0
- package/dist/types/components/composites/theme-switcher/ThemeSwitcher.d.ts +24 -0
- 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/compound/support-rail/SupportRail.d.ts +10 -8
- package/dist/types/components/dev/MotionDevtools.d.ts +12 -5
- package/dist/types/components/expressive/theme-transition/bloom.d.ts +2 -0
- package/dist/types/components/expressive/theme-transition/paint.d.ts +2 -0
- package/dist/types/components/expressive/theme-transition/scene.d.ts +24 -0
- package/dist/types/components/expressive/theme-transition/theme-transition.d.ts +19 -0
- package/dist/types/components/expressive/theme-transition/tide.d.ts +2 -0
- package/dist/types/components/internal/hooks/use-host-election.d.ts +8 -0
- package/dist/types/components/internal/icon/Icon.d.ts +2 -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 +10 -13
- package/dist/types/components/primitives/button/button-style.d.ts +15 -0
- package/dist/types/components/primitives/input/TextField.d.ts +1 -2
- package/dist/types/components/primitives/spinner/Spinner.d.ts +27 -0
- package/dist/types/components/primitives/textarea/Textarea.d.ts +0 -1
- package/dist/types/engine/animate.d.ts +1 -0
- package/dist/types/shared-slot.d.ts +1 -0
- package/dist/types/tokens/component-styles.generated.d.ts +80 -155
- 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-store.d.ts +47 -0
- package/dist/types/tokens/theme-sync.d.ts +9 -0
- package/dist/types/tokens/theme-tokens.generated.d.ts +693 -1117
- package/dist/types/tokens/theme.d.ts +28 -5
- package/dist/typing-lines.css +18 -11
- package/dist/typing-lines.js +9 -8
- package/dist/typing-lines.js.map +1 -1
- package/dist/weight-field.css +32 -18
- package/dist/weight-field.js +4 -4
- package/dist/weight-field.js.map +1 -1
- package/dist/youtube.css +91 -97
- package/dist/youtube.js +87 -86
- package/dist/youtube.js.map +1 -1
- package/package.json +27 -31
- package/skills/zyncat-ui/SKILL.md +5 -3
- package/skills/zyncat-ui/references/components.md +7 -4
- package/skills/zyncat-ui/references/theming.md +105 -34
- package/src/components/composites/alert/Alert.tsx +15 -12
- package/src/components/composites/alert/alert.css +27 -34
- 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 +33 -22
- package/src/components/composites/date-picker/date-picker.css +287 -185
- package/src/components/composites/date-picker/field-shell.tsx +7 -7
- package/src/components/composites/date-picker/month-jump.tsx +192 -0
- package/src/components/composites/date-picker/range-panel.tsx +51 -36
- 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 +35 -44
- 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 +37 -28
- 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 +35 -35
- 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 +3 -5
- package/src/components/composites/pagination/Pagination.tsx +7 -7
- package/src/components/composites/pagination/pagination.css +11 -16
- package/src/components/composites/popover/Popover.tsx +2 -2
- package/src/components/composites/popover/popover.css +14 -16
- 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 +67 -76
- package/src/components/composites/sheet/Sheet.tsx +2 -2
- package/src/components/composites/sheet/sheet.css +13 -15
- 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 +77 -85
- 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 +81 -93
- package/src/components/composites/theme-switcher/ThemeGrid.tsx +133 -0
- package/src/components/composites/theme-switcher/ThemeGrid.usage.md +20 -0
- package/src/components/composites/theme-switcher/ThemeSwitcher.tsx +75 -0
- package/src/components/composites/theme-switcher/ThemeSwitcher.usage.md +21 -0
- package/src/components/composites/theme-switcher/theme-switcher.css +107 -0
- package/src/components/composites/toast/Toast.tsx +24 -18
- package/src/components/composites/toast/toast-store.ts +8 -6
- package/src/components/composites/toast/toast.css +51 -79
- 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 +17 -24
- package/src/components/compound/support-rail/SupportRail.tsx +132 -144
- package/src/components/compound/support-rail/SupportRail.usage.md +7 -6
- package/src/components/compound/support-rail/support-rail.css +110 -256
- package/src/components/dev/MotionDevtools.tsx +272 -51
- package/src/components/dev/MotionDevtools.usage.md +12 -4
- package/src/components/dev/motion-devtools.css +118 -69
- 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 +20 -13
- package/src/components/expressive/facebook-feed/chrome.tsx +2 -2
- package/src/components/expressive/facebook-feed/facebook-feed.css +146 -149
- 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 +5 -5
- package/src/components/expressive/flow-field/flow-field.css +9 -5
- package/src/components/expressive/instagram-feed/InstagramFeed.tsx +52 -44
- package/src/components/expressive/instagram-feed/instagram-feed.css +66 -67
- package/src/components/expressive/lens/Lens.tsx +14 -14
- package/src/components/expressive/lens/lens.css +42 -39
- package/src/components/expressive/morphing-text/MorphingText.tsx +12 -13
- package/src/components/expressive/morphing-text/morphing-text.css +27 -17
- package/src/components/expressive/odometer/Odometer.tsx +9 -9
- package/src/components/expressive/odometer/odometer.css +23 -17
- package/src/components/expressive/theme-transition/bloom.ts +88 -0
- package/src/components/expressive/theme-transition/paint.ts +296 -0
- package/src/components/expressive/theme-transition/scene.ts +38 -0
- package/src/components/expressive/theme-transition/theme-transition.css +48 -0
- package/src/components/expressive/theme-transition/theme-transition.ts +423 -0
- package/src/components/expressive/theme-transition/tide.ts +65 -0
- package/src/components/expressive/tiktok/TikTok.tsx +54 -54
- package/src/components/expressive/tiktok/tiktok.css +114 -119
- package/src/components/expressive/typing-lines/TypingLines.tsx +0 -0
- package/src/components/expressive/typing-lines/typing-lines.css +18 -11
- package/src/components/expressive/weight-field/WeightField.tsx +4 -4
- package/src/components/expressive/weight-field/weight-field.css +32 -18
- 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 +91 -97
- package/src/components/internal/glass/glass.css +20 -23
- 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 +3 -5
- package/src/components/internal/icon/IconSlot.tsx +1 -1
- package/src/components/internal/icon/icon.css +8 -11
- 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 +55 -35
- 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 +5 -10
- package/src/components/internal/overlay/trigger.css +4 -4
- 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 +53 -51
- 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 +31 -37
- package/src/components/primitives/badge/digit-strip.css +17 -17
- package/src/components/primitives/badge/digit-strip.tsx +4 -4
- package/src/components/primitives/button/Button.tsx +14 -28
- package/src/components/primitives/button/button-style.ts +28 -0
- package/src/components/primitives/button/button.css +99 -118
- 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 +28 -33
- package/src/components/primitives/collapse/Collapse.tsx +2 -2
- package/src/components/primitives/collapse/collapse.css +21 -33
- 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 +81 -86
- package/src/components/primitives/radio-group/RadioGroup.tsx +23 -23
- package/src/components/primitives/radio-group/radio-group.css +65 -76
- package/src/components/primitives/spinner/Spinner.tsx +70 -0
- package/src/components/primitives/spinner/Spinner.usage.md +19 -0
- package/src/components/primitives/spinner/spinner.css +115 -0
- 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 +49 -54
- package/src/components/primitives/textarea/Textarea.tsx +13 -14
- package/src/components/primitives/textarea/textarea.css +47 -50
- package/src/components/primitives/toggle/Toggle.tsx +7 -7
- package/src/components/primitives/toggle/toggle.css +27 -32
- package/src/engine/animate.ts +12 -3
- package/src/engine/flip.ts +2 -1
- package/src/mcp/server.ts +5 -2
- 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 +8 -16
- package/src/tokens/base.css +15 -0
- package/src/tokens/color.css +22 -63
- package/src/tokens/component-styles.generated.ts +81 -155
- package/src/tokens/dark.css +58 -0
- package/src/tokens/decisions.css +23 -0
- package/src/tokens/elevation.css +65 -23
- package/src/tokens/fonts.css +0 -2
- package/src/tokens/glass.css +17 -10
- 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 +18 -28
- package/src/tokens/radius.css +12 -10
- package/src/tokens/reset.css +36 -0
- package/src/tokens/semantic.css +51 -39
- package/src/tokens/spacing.css +6 -7
- package/src/tokens/theme-store.ts +187 -0
- package/src/tokens/theme-sync.tsx +62 -0
- package/src/tokens/theme-tokens.generated.ts +708 -1121
- package/src/tokens/theme.tsx +116 -38
- package/src/tokens/theme.usage.md +26 -19
- package/src/tokens/typography.css +18 -20
- package/tailwind.css +187 -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 +0 -52
- 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-TCUCYFT7.js +0 -25
- package/dist/chunk-TCUCYFT7.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
package/dist/youtube.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
@layer zyncat.tokens, zyncat.components;
|
|
1
|
+
@layer zyncat.reset, zyncat.tokens, zyncat.components;
|
|
2
2
|
|
|
3
3
|
@layer zyncat.components {
|
|
4
|
-
.youtube {
|
|
4
|
+
.zc-youtube {
|
|
5
5
|
box-sizing: border-box;
|
|
6
|
-
font-family: var(--font-
|
|
6
|
+
font-family: var(--font-body);
|
|
7
7
|
color: #0f0f0f;
|
|
8
8
|
text-align: start;
|
|
9
9
|
-webkit-font-smoothing: antialiased;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.youtube *,
|
|
13
|
-
.youtube *::before,
|
|
14
|
-
.youtube *::after {
|
|
12
|
+
.zc-youtube *,
|
|
13
|
+
.zc-youtube *::before,
|
|
14
|
+
.zc-youtube *::after {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.youtube__sr {
|
|
18
|
+
.zc-youtube__sr {
|
|
19
19
|
position: absolute;
|
|
20
20
|
width: 1px;
|
|
21
21
|
height: 1px;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
border: 0;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.youtube-button {
|
|
30
|
+
.zc-youtube-button {
|
|
31
31
|
appearance: none;
|
|
32
32
|
margin: 0;
|
|
33
33
|
padding: 0;
|
|
@@ -38,44 +38,43 @@
|
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.youtube-button:focus-visible {
|
|
42
|
-
outline:
|
|
43
|
-
box-shadow: var(--focus-ring);
|
|
41
|
+
.zc-youtube-button:focus-visible {
|
|
42
|
+
outline: var(--focus-ring);
|
|
44
43
|
}
|
|
45
44
|
|
|
46
|
-
.youtube__glyph {
|
|
45
|
+
.zc-youtube__glyph {
|
|
47
46
|
display: block;
|
|
48
47
|
width: 100%;
|
|
49
48
|
height: 100%;
|
|
50
49
|
}
|
|
51
50
|
|
|
52
|
-
.youtube__glyph-knockout {
|
|
51
|
+
.zc-youtube__glyph-knockout {
|
|
53
52
|
fill: #ffffff;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
.youtube__media,
|
|
57
|
-
.youtube__media > * {
|
|
55
|
+
.zc-youtube__media,
|
|
56
|
+
.zc-youtube__media > * {
|
|
58
57
|
display: block;
|
|
59
58
|
width: 100%;
|
|
60
59
|
height: 100%;
|
|
61
60
|
object-fit: cover;
|
|
62
61
|
}
|
|
63
62
|
|
|
64
|
-
.youtube__placeholder {
|
|
63
|
+
.zc-youtube__placeholder {
|
|
65
64
|
background: linear-gradient(135deg, #f2f2f2, #d2d2d2);
|
|
66
65
|
}
|
|
67
66
|
|
|
68
|
-
.youtube__avatar-media.youtube__placeholder {
|
|
67
|
+
.zc-youtube__avatar-media.zc-youtube__placeholder {
|
|
69
68
|
background: #e5e5e5;
|
|
70
69
|
}
|
|
71
70
|
|
|
72
|
-
.youtube--video {
|
|
71
|
+
.zc-youtube--video {
|
|
73
72
|
display: block;
|
|
74
73
|
width: 533px;
|
|
75
74
|
max-width: 100%;
|
|
76
75
|
}
|
|
77
76
|
|
|
78
|
-
.youtube-video__frame {
|
|
77
|
+
.zc-youtube-video__frame {
|
|
79
78
|
position: relative;
|
|
80
79
|
width: 100%;
|
|
81
80
|
aspect-ratio: 16 / 9;
|
|
@@ -84,7 +83,7 @@
|
|
|
84
83
|
background: #000000;
|
|
85
84
|
}
|
|
86
85
|
|
|
87
|
-
.youtube-video__duration {
|
|
86
|
+
.zc-youtube-video__duration {
|
|
88
87
|
position: absolute;
|
|
89
88
|
right: 8px;
|
|
90
89
|
bottom: 8px;
|
|
@@ -101,14 +100,14 @@
|
|
|
101
100
|
letter-spacing: 0.2px;
|
|
102
101
|
}
|
|
103
102
|
|
|
104
|
-
.youtube-video__meta {
|
|
103
|
+
.zc-youtube-video__meta {
|
|
105
104
|
display: flex;
|
|
106
105
|
align-items: flex-start;
|
|
107
106
|
gap: 12px;
|
|
108
107
|
padding-top: 12px;
|
|
109
108
|
}
|
|
110
109
|
|
|
111
|
-
.youtube-video__avatar {
|
|
110
|
+
.zc-youtube-video__avatar {
|
|
112
111
|
flex: 0 0 auto;
|
|
113
112
|
width: 36px;
|
|
114
113
|
height: 36px;
|
|
@@ -116,12 +115,12 @@
|
|
|
116
115
|
overflow: hidden;
|
|
117
116
|
}
|
|
118
117
|
|
|
119
|
-
.youtube-video__text {
|
|
118
|
+
.zc-youtube-video__text {
|
|
120
119
|
flex: 1 1 auto;
|
|
121
120
|
min-width: 0;
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
.youtube-video__title {
|
|
123
|
+
.zc-youtube-video__title {
|
|
125
124
|
display: -webkit-box;
|
|
126
125
|
margin: 0;
|
|
127
126
|
overflow: hidden;
|
|
@@ -134,7 +133,7 @@
|
|
|
134
133
|
-webkit-box-orient: vertical;
|
|
135
134
|
}
|
|
136
135
|
|
|
137
|
-
.youtube-video__byline {
|
|
136
|
+
.zc-youtube-video__byline {
|
|
138
137
|
display: flex;
|
|
139
138
|
align-items: center;
|
|
140
139
|
gap: 4px;
|
|
@@ -146,20 +145,20 @@
|
|
|
146
145
|
color: #606060;
|
|
147
146
|
}
|
|
148
147
|
|
|
149
|
-
.youtube-video__channel {
|
|
148
|
+
.zc-youtube-video__channel {
|
|
150
149
|
overflow: hidden;
|
|
151
150
|
text-overflow: ellipsis;
|
|
152
151
|
white-space: nowrap;
|
|
153
152
|
}
|
|
154
153
|
|
|
155
|
-
.youtube-video__verified {
|
|
154
|
+
.zc-youtube-video__verified {
|
|
156
155
|
flex: 0 0 auto;
|
|
157
156
|
width: 14px;
|
|
158
157
|
height: 14px;
|
|
159
158
|
color: #606060;
|
|
160
159
|
}
|
|
161
160
|
|
|
162
|
-
.youtube-video__stats {
|
|
161
|
+
.zc-youtube-video__stats {
|
|
163
162
|
margin: 2px 0 0;
|
|
164
163
|
font-size: 14px;
|
|
165
164
|
line-height: 20px;
|
|
@@ -167,11 +166,11 @@
|
|
|
167
166
|
color: #606060;
|
|
168
167
|
}
|
|
169
168
|
|
|
170
|
-
.youtube-video__dot {
|
|
169
|
+
.zc-youtube-video__dot {
|
|
171
170
|
margin: 0 4px;
|
|
172
171
|
}
|
|
173
172
|
|
|
174
|
-
.youtube-video__more {
|
|
173
|
+
.zc-youtube-video__more {
|
|
175
174
|
flex: 0 0 auto;
|
|
176
175
|
width: 24px;
|
|
177
176
|
height: 24px;
|
|
@@ -179,25 +178,25 @@
|
|
|
179
178
|
color: #0f0f0f;
|
|
180
179
|
}
|
|
181
180
|
|
|
182
|
-
.youtube--short {
|
|
181
|
+
.zc-youtube--short {
|
|
183
182
|
display: flex;
|
|
184
183
|
align-items: flex-end;
|
|
185
184
|
gap: 12px;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
|
-
.youtube-short__meta {
|
|
187
|
+
.zc-youtube-short__meta {
|
|
189
188
|
flex: 1 1 auto;
|
|
190
189
|
min-width: 0;
|
|
191
190
|
padding-bottom: 16px;
|
|
192
191
|
}
|
|
193
192
|
|
|
194
|
-
.youtube-short__account {
|
|
193
|
+
.zc-youtube-short__account {
|
|
195
194
|
display: flex;
|
|
196
195
|
align-items: center;
|
|
197
196
|
gap: 8px;
|
|
198
197
|
}
|
|
199
198
|
|
|
200
|
-
.youtube-short__account-avatar {
|
|
199
|
+
.zc-youtube-short__account-avatar {
|
|
201
200
|
flex: 0 0 auto;
|
|
202
201
|
width: 36px;
|
|
203
202
|
height: 36px;
|
|
@@ -205,7 +204,7 @@
|
|
|
205
204
|
overflow: hidden;
|
|
206
205
|
}
|
|
207
206
|
|
|
208
|
-
.youtube-short__handle {
|
|
207
|
+
.zc-youtube-short__handle {
|
|
209
208
|
overflow: hidden;
|
|
210
209
|
font-size: 14px;
|
|
211
210
|
line-height: 20px;
|
|
@@ -215,7 +214,7 @@
|
|
|
215
214
|
white-space: nowrap;
|
|
216
215
|
}
|
|
217
216
|
|
|
218
|
-
.youtube-short__title {
|
|
217
|
+
.zc-youtube-short__title {
|
|
219
218
|
overflow: hidden;
|
|
220
219
|
margin: 8px 0 0;
|
|
221
220
|
font-size: 20px;
|
|
@@ -226,7 +225,7 @@
|
|
|
226
225
|
white-space: nowrap;
|
|
227
226
|
}
|
|
228
227
|
|
|
229
|
-
.youtube-short__stage {
|
|
228
|
+
.zc-youtube-short__stage {
|
|
230
229
|
position: relative;
|
|
231
230
|
flex: 0 0 auto;
|
|
232
231
|
width: 477px;
|
|
@@ -237,17 +236,17 @@
|
|
|
237
236
|
background: #000000;
|
|
238
237
|
}
|
|
239
238
|
|
|
240
|
-
.youtube-short__frame {
|
|
239
|
+
.zc-youtube-short__frame {
|
|
241
240
|
position: absolute;
|
|
242
241
|
inset: 0;
|
|
243
242
|
}
|
|
244
243
|
|
|
245
|
-
.youtube-short__frame .youtube__media,
|
|
246
|
-
.youtube-short__frame .youtube__media > * {
|
|
244
|
+
.zc-youtube-short__frame .zc-youtube__media,
|
|
245
|
+
.zc-youtube-short__frame .zc-youtube__media > * {
|
|
247
246
|
object-fit: contain;
|
|
248
247
|
}
|
|
249
248
|
|
|
250
|
-
.youtube-short__controls {
|
|
249
|
+
.zc-youtube-short__controls {
|
|
251
250
|
position: absolute;
|
|
252
251
|
left: 16px;
|
|
253
252
|
top: 16px;
|
|
@@ -256,7 +255,7 @@
|
|
|
256
255
|
gap: 8px;
|
|
257
256
|
}
|
|
258
257
|
|
|
259
|
-
.youtube-short__control {
|
|
258
|
+
.zc-youtube-short__control {
|
|
260
259
|
display: flex;
|
|
261
260
|
flex: 0 0 auto;
|
|
262
261
|
align-items: center;
|
|
@@ -271,21 +270,20 @@
|
|
|
271
270
|
cursor: pointer;
|
|
272
271
|
}
|
|
273
272
|
|
|
274
|
-
.youtube-short__control--static {
|
|
273
|
+
.zc-youtube-short__control--static {
|
|
275
274
|
cursor: default;
|
|
276
275
|
}
|
|
277
276
|
|
|
278
|
-
.youtube-short__control .youtube__glyph {
|
|
277
|
+
.zc-youtube-short__control .zc-youtube__glyph {
|
|
279
278
|
width: 26px;
|
|
280
279
|
height: 26px;
|
|
281
280
|
}
|
|
282
281
|
|
|
283
|
-
.youtube-short__control:focus-visible {
|
|
284
|
-
outline:
|
|
285
|
-
box-shadow: var(--focus-ring);
|
|
282
|
+
.zc-youtube-short__control:focus-visible {
|
|
283
|
+
outline: var(--focus-ring);
|
|
286
284
|
}
|
|
287
285
|
|
|
288
|
-
.youtube-short__pill {
|
|
286
|
+
.zc-youtube-short__pill {
|
|
289
287
|
position: absolute;
|
|
290
288
|
right: 12px;
|
|
291
289
|
top: 16px;
|
|
@@ -298,7 +296,7 @@
|
|
|
298
296
|
color: #ffffff;
|
|
299
297
|
}
|
|
300
298
|
|
|
301
|
-
.youtube-short__pill-cell {
|
|
299
|
+
.zc-youtube-short__pill-cell {
|
|
302
300
|
display: flex;
|
|
303
301
|
align-items: center;
|
|
304
302
|
justify-content: center;
|
|
@@ -306,12 +304,12 @@
|
|
|
306
304
|
height: 48px;
|
|
307
305
|
}
|
|
308
306
|
|
|
309
|
-
.youtube-short__pill-cell .youtube__glyph {
|
|
307
|
+
.zc-youtube-short__pill-cell .zc-youtube__glyph {
|
|
310
308
|
width: 24px;
|
|
311
309
|
height: 24px;
|
|
312
310
|
}
|
|
313
311
|
|
|
314
|
-
.youtube-short__captions {
|
|
312
|
+
.zc-youtube-short__captions {
|
|
315
313
|
display: flex;
|
|
316
314
|
align-items: center;
|
|
317
315
|
justify-content: center;
|
|
@@ -325,7 +323,7 @@
|
|
|
325
323
|
letter-spacing: 0.5px;
|
|
326
324
|
}
|
|
327
325
|
|
|
328
|
-
.youtube-short__progress {
|
|
326
|
+
.zc-youtube-short__progress {
|
|
329
327
|
position: absolute;
|
|
330
328
|
left: 0;
|
|
331
329
|
right: 0;
|
|
@@ -334,7 +332,7 @@
|
|
|
334
332
|
background: rgb(255 255 255 / 0.18);
|
|
335
333
|
}
|
|
336
334
|
|
|
337
|
-
.youtube-short__progress-fill {
|
|
335
|
+
.zc-youtube-short__progress-fill {
|
|
338
336
|
--youtube-progress: 0;
|
|
339
337
|
|
|
340
338
|
width: calc(var(--youtube-progress) * 1%);
|
|
@@ -343,7 +341,7 @@
|
|
|
343
341
|
transition: width var(--duration-slow) var(--ease-standard);
|
|
344
342
|
}
|
|
345
343
|
|
|
346
|
-
.youtube-short__rail {
|
|
344
|
+
.zc-youtube-short__rail {
|
|
347
345
|
display: flex;
|
|
348
346
|
flex: 0 0 auto;
|
|
349
347
|
flex-direction: column;
|
|
@@ -355,14 +353,14 @@
|
|
|
355
353
|
list-style: none;
|
|
356
354
|
}
|
|
357
355
|
|
|
358
|
-
.youtube-short__action {
|
|
356
|
+
.zc-youtube-short__action {
|
|
359
357
|
display: flex;
|
|
360
358
|
flex-direction: column;
|
|
361
359
|
align-items: center;
|
|
362
360
|
gap: 8px;
|
|
363
361
|
}
|
|
364
362
|
|
|
365
|
-
.youtube-short__action-face {
|
|
363
|
+
.zc-youtube-short__action-face {
|
|
366
364
|
display: flex;
|
|
367
365
|
align-items: center;
|
|
368
366
|
justify-content: center;
|
|
@@ -373,12 +371,12 @@
|
|
|
373
371
|
color: #0f0f0f;
|
|
374
372
|
}
|
|
375
373
|
|
|
376
|
-
.youtube-short__action-face .youtube__glyph {
|
|
374
|
+
.zc-youtube-short__action-face .zc-youtube__glyph {
|
|
377
375
|
width: 22px;
|
|
378
376
|
height: 22px;
|
|
379
377
|
}
|
|
380
378
|
|
|
381
|
-
.youtube-short__action-label {
|
|
379
|
+
.zc-youtube-short__action-label {
|
|
382
380
|
font-size: 12px;
|
|
383
381
|
line-height: 14px;
|
|
384
382
|
font-weight: 500;
|
|
@@ -386,14 +384,14 @@
|
|
|
386
384
|
text-align: center;
|
|
387
385
|
}
|
|
388
386
|
|
|
389
|
-
.youtube-short__rail-avatar {
|
|
387
|
+
.zc-youtube-short__rail-avatar {
|
|
390
388
|
width: 40px;
|
|
391
389
|
height: 40px;
|
|
392
390
|
border-radius: 8px;
|
|
393
391
|
overflow: hidden;
|
|
394
392
|
}
|
|
395
393
|
|
|
396
|
-
.youtube--post {
|
|
394
|
+
.zc-youtube--post {
|
|
397
395
|
position: relative;
|
|
398
396
|
display: flex;
|
|
399
397
|
gap: 16px;
|
|
@@ -405,7 +403,7 @@
|
|
|
405
403
|
background: #ffffff;
|
|
406
404
|
}
|
|
407
405
|
|
|
408
|
-
.youtube-post__avatar {
|
|
406
|
+
.zc-youtube-post__avatar {
|
|
409
407
|
flex: 0 0 auto;
|
|
410
408
|
width: 40px;
|
|
411
409
|
height: 40px;
|
|
@@ -413,12 +411,12 @@
|
|
|
413
411
|
overflow: hidden;
|
|
414
412
|
}
|
|
415
413
|
|
|
416
|
-
.youtube-post__body {
|
|
414
|
+
.zc-youtube-post__body {
|
|
417
415
|
flex: 1 1 auto;
|
|
418
416
|
min-width: 0;
|
|
419
417
|
}
|
|
420
418
|
|
|
421
|
-
.youtube-post__head {
|
|
419
|
+
.zc-youtube-post__head {
|
|
422
420
|
display: flex;
|
|
423
421
|
align-items: baseline;
|
|
424
422
|
gap: 8px;
|
|
@@ -427,19 +425,19 @@
|
|
|
427
425
|
line-height: 18px;
|
|
428
426
|
}
|
|
429
427
|
|
|
430
|
-
.youtube-post__name {
|
|
428
|
+
.zc-youtube-post__name {
|
|
431
429
|
font-size: 12px;
|
|
432
430
|
font-weight: 500;
|
|
433
431
|
color: #0f0f0f;
|
|
434
432
|
}
|
|
435
433
|
|
|
436
|
-
.youtube-post__time {
|
|
434
|
+
.zc-youtube-post__time {
|
|
437
435
|
font-size: 12px;
|
|
438
436
|
font-weight: 400;
|
|
439
437
|
color: #606060;
|
|
440
438
|
}
|
|
441
439
|
|
|
442
|
-
.youtube-post__text {
|
|
440
|
+
.zc-youtube-post__text {
|
|
443
441
|
margin: 3px 0 0;
|
|
444
442
|
max-width: 500px;
|
|
445
443
|
font-size: 16px;
|
|
@@ -449,7 +447,7 @@
|
|
|
449
447
|
text-wrap: pretty;
|
|
450
448
|
}
|
|
451
449
|
|
|
452
|
-
.youtube-post__carousel {
|
|
450
|
+
.zc-youtube-post__carousel {
|
|
453
451
|
--youtube-carousel-page: 0;
|
|
454
452
|
--youtube-carousel-drag: 0px;
|
|
455
453
|
|
|
@@ -459,7 +457,7 @@
|
|
|
459
457
|
margin-top: 12px;
|
|
460
458
|
}
|
|
461
459
|
|
|
462
|
-
.youtube-post__viewport {
|
|
460
|
+
.zc-youtube-post__viewport {
|
|
463
461
|
position: relative;
|
|
464
462
|
aspect-ratio: 1 / 1;
|
|
465
463
|
border-radius: 8px;
|
|
@@ -467,28 +465,27 @@
|
|
|
467
465
|
touch-action: pan-y;
|
|
468
466
|
}
|
|
469
467
|
|
|
470
|
-
.youtube-post__viewport:focus-visible {
|
|
471
|
-
outline:
|
|
472
|
-
box-shadow: var(--focus-ring);
|
|
468
|
+
.zc-youtube-post__viewport:focus-visible {
|
|
469
|
+
outline: var(--focus-ring);
|
|
473
470
|
}
|
|
474
471
|
|
|
475
|
-
.youtube-post__strip {
|
|
472
|
+
.zc-youtube-post__strip {
|
|
476
473
|
display: flex;
|
|
477
474
|
height: 100%;
|
|
478
475
|
translate: calc(var(--youtube-carousel-page) * -100% + var(--youtube-carousel-drag)) 0;
|
|
479
476
|
transition: translate var(--duration-slower) var(--ease-glide);
|
|
480
477
|
}
|
|
481
478
|
|
|
482
|
-
.youtube-post__carousel[data-dragging] .youtube-post__strip {
|
|
479
|
+
.zc-youtube-post__carousel[data-dragging] .zc-youtube-post__strip {
|
|
483
480
|
transition: none;
|
|
484
481
|
}
|
|
485
482
|
|
|
486
|
-
.youtube-post__slide {
|
|
483
|
+
.zc-youtube-post__slide {
|
|
487
484
|
flex: 0 0 100%;
|
|
488
485
|
height: 100%;
|
|
489
486
|
}
|
|
490
487
|
|
|
491
|
-
.youtube-post__stack {
|
|
488
|
+
.zc-youtube-post__stack {
|
|
492
489
|
position: absolute;
|
|
493
490
|
right: 6px;
|
|
494
491
|
bottom: 6px;
|
|
@@ -502,12 +499,12 @@
|
|
|
502
499
|
color: #ffffff;
|
|
503
500
|
}
|
|
504
501
|
|
|
505
|
-
.youtube-post__stack .youtube__glyph {
|
|
502
|
+
.zc-youtube-post__stack .zc-youtube__glyph {
|
|
506
503
|
width: 20px;
|
|
507
504
|
height: 20px;
|
|
508
505
|
}
|
|
509
506
|
|
|
510
|
-
.youtube-post__arrow {
|
|
507
|
+
.zc-youtube-post__arrow {
|
|
511
508
|
position: absolute;
|
|
512
509
|
top: 50%;
|
|
513
510
|
display: flex;
|
|
@@ -525,82 +522,79 @@
|
|
|
525
522
|
cursor: pointer;
|
|
526
523
|
}
|
|
527
524
|
|
|
528
|
-
.youtube-post__arrow .youtube__glyph {
|
|
525
|
+
.zc-youtube-post__arrow .zc-youtube__glyph {
|
|
529
526
|
width: 20px;
|
|
530
527
|
height: 20px;
|
|
531
528
|
}
|
|
532
529
|
|
|
533
|
-
.youtube-post__arrow--prev {
|
|
530
|
+
.zc-youtube-post__arrow--prev {
|
|
534
531
|
left: -20px;
|
|
535
532
|
}
|
|
536
533
|
|
|
537
|
-
.youtube-post__arrow--next {
|
|
534
|
+
.zc-youtube-post__arrow--next {
|
|
538
535
|
right: -20px;
|
|
539
536
|
}
|
|
540
537
|
|
|
541
|
-
.youtube-post__arrow:focus-visible {
|
|
542
|
-
outline:
|
|
543
|
-
box-shadow:
|
|
544
|
-
var(--focus-ring),
|
|
545
|
-
0 1px 6px rgb(0 0 0 / 0.28);
|
|
538
|
+
.zc-youtube-post__arrow:focus-visible {
|
|
539
|
+
outline: var(--focus-ring);
|
|
546
540
|
}
|
|
547
541
|
|
|
548
|
-
.youtube-post__actions {
|
|
542
|
+
.zc-youtube-post__actions {
|
|
549
543
|
display: flex;
|
|
550
544
|
align-items: center;
|
|
551
545
|
margin: 13px 0 0;
|
|
552
546
|
color: #0f0f0f;
|
|
553
547
|
}
|
|
554
548
|
|
|
555
|
-
.youtube-post__action {
|
|
549
|
+
.zc-youtube-post__action {
|
|
556
550
|
display: flex;
|
|
557
551
|
align-items: center;
|
|
558
552
|
}
|
|
559
553
|
|
|
560
|
-
.youtube-post__action-glyph {
|
|
554
|
+
.zc-youtube-post__action-glyph {
|
|
561
555
|
display: flex;
|
|
562
556
|
flex: 0 0 auto;
|
|
563
557
|
}
|
|
564
558
|
|
|
565
|
-
.youtube-post__action-glyph--thumb {
|
|
559
|
+
.zc-youtube-post__action-glyph--thumb {
|
|
566
560
|
width: 21px;
|
|
567
561
|
height: 21px;
|
|
568
562
|
}
|
|
569
563
|
|
|
570
|
-
.youtube-post__action-glyph--share {
|
|
564
|
+
.zc-youtube-post__action-glyph--share {
|
|
571
565
|
width: 22px;
|
|
572
566
|
height: 20px;
|
|
573
567
|
}
|
|
574
568
|
|
|
575
|
-
.youtube-post__action-glyph--bubble {
|
|
569
|
+
.zc-youtube-post__action-glyph--bubble {
|
|
576
570
|
width: 16px;
|
|
577
571
|
height: 16px;
|
|
578
572
|
}
|
|
579
573
|
|
|
580
|
-
.youtube-post__action-count {
|
|
574
|
+
.zc-youtube-post__action-count {
|
|
581
575
|
margin-left: 7px;
|
|
582
576
|
font-size: 13px;
|
|
583
577
|
line-height: 16px;
|
|
584
578
|
font-weight: 500;
|
|
585
579
|
}
|
|
586
580
|
|
|
587
|
-
.youtube-post__action--dislike {
|
|
581
|
+
.zc-youtube-post__action--dislike {
|
|
588
582
|
margin-left: 14px;
|
|
589
583
|
}
|
|
590
584
|
|
|
591
|
-
.youtube-post__action--share {
|
|
585
|
+
.zc-youtube-post__action--share {
|
|
592
586
|
margin-left: 31px;
|
|
593
587
|
}
|
|
594
588
|
|
|
595
|
-
.youtube-post__action--comment {
|
|
589
|
+
.zc-youtube-post__action--comment {
|
|
596
590
|
margin-left: 38px;
|
|
597
591
|
}
|
|
598
592
|
|
|
599
|
-
.youtube-post__action--comment .youtube-post__action-count {
|
|
593
|
+
.zc-youtube-post__action--comment .zc-youtube-post__action-count {
|
|
600
594
|
margin-left: 5px;
|
|
601
595
|
}
|
|
602
596
|
|
|
603
|
-
.youtube-post__more {
|
|
597
|
+
.zc-youtube-post__more {
|
|
604
598
|
position: absolute;
|
|
605
599
|
top: 25px;
|
|
606
600
|
right: 24px;
|