@psnext/design-system 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Header.cjs +2 -2
- package/dist/Header.cjs.map +1 -1
- package/dist/Header.js +2 -2
- package/dist/Header.js.map +1 -1
- package/dist/Icon.cjs +8 -8
- package/dist/Icon.cjs.map +1 -1
- package/dist/Icon.js +8 -8
- package/dist/Icon.js.map +1 -1
- package/dist/Logo.cjs +163 -137
- package/dist/Logo.cjs.map +1 -1
- package/dist/Logo.js +163 -137
- package/dist/Logo.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index10.d.cts +6 -6
- package/dist/index10.d.cts.map +1 -1
- package/dist/index10.d.ts +7 -7
- package/dist/index10.d.ts.map +1 -1
- package/dist/index11.d.cts +3 -3
- package/dist/index11.d.ts +3 -3
- package/dist/index11.d.ts.map +1 -1
- package/dist/index12.d.cts +12 -12
- package/dist/index12.d.ts +12 -12
- package/dist/index12.d.ts.map +1 -1
- package/dist/index13.d.cts +6 -6
- package/dist/index13.d.ts +6 -6
- package/dist/index13.d.ts.map +1 -1
- package/dist/index14.d.cts +5 -5
- package/dist/index14.d.ts +5 -5
- package/dist/index15.d.cts +3 -3
- package/dist/index15.d.ts +3 -3
- package/dist/index15.d.ts.map +1 -1
- package/dist/index16.d.cts +2 -2
- package/dist/index16.d.ts +2 -2
- package/dist/index16.d.ts.map +1 -1
- package/dist/index17.d.ts +4 -4
- package/dist/index17.d.ts.map +1 -1
- package/dist/index18.d.cts +11 -11
- package/dist/index18.d.cts.map +1 -1
- package/dist/index18.d.ts +11 -11
- package/dist/index18.d.ts.map +1 -1
- package/dist/index19.d.cts +10 -10
- package/dist/index19.d.ts +10 -10
- package/dist/index19.d.ts.map +1 -1
- package/dist/index2.d.cts +8 -8
- package/dist/index2.d.cts.map +1 -1
- package/dist/index2.d.ts +8 -8
- package/dist/index2.d.ts.map +1 -1
- package/dist/index20.d.cts +16 -16
- package/dist/index20.d.cts.map +1 -1
- package/dist/index20.d.ts +16 -16
- package/dist/index21.d.cts +4 -4
- package/dist/index21.d.ts +4 -4
- package/dist/index21.d.ts.map +1 -1
- package/dist/index22.d.cts +11 -11
- package/dist/index22.d.ts +11 -11
- package/dist/index22.d.ts.map +1 -1
- package/dist/index23.d.cts +16 -16
- package/dist/index23.d.ts +16 -16
- package/dist/index24.d.cts +7 -7
- package/dist/index24.d.cts.map +1 -1
- package/dist/index24.d.ts +10 -10
- package/dist/index25.d.cts +2 -2
- package/dist/index25.d.ts +2 -2
- package/dist/index25.d.ts.map +1 -1
- package/dist/index26.d.cts +13 -13
- package/dist/index26.d.cts.map +1 -1
- package/dist/index26.d.ts +14 -14
- package/dist/index26.d.ts.map +1 -1
- package/dist/index27.d.cts +7 -7
- package/dist/index27.d.ts +7 -7
- package/dist/index28.d.cts +5 -5
- package/dist/index28.d.cts.map +1 -1
- package/dist/index28.d.ts +5 -5
- package/dist/index29.d.cts +4 -4
- package/dist/index29.d.cts.map +1 -1
- package/dist/index29.d.ts +4 -4
- package/dist/index29.d.ts.map +1 -1
- package/dist/index3.d.cts +13 -13
- package/dist/index3.d.cts.map +1 -1
- package/dist/index3.d.ts +13 -13
- package/dist/index3.d.ts.map +1 -1
- package/dist/index30.d.cts +5 -5
- package/dist/index30.d.cts.map +1 -1
- package/dist/index30.d.ts +6 -6
- package/dist/index30.d.ts.map +1 -1
- package/dist/index31.d.cts +2 -2
- package/dist/index31.d.ts +3 -3
- package/dist/index32.d.cts +6 -6
- package/dist/index32.d.cts.map +1 -1
- package/dist/index32.d.ts +6 -6
- package/dist/index32.d.ts.map +1 -1
- package/dist/index33.d.cts +10 -10
- package/dist/index33.d.cts.map +1 -1
- package/dist/index33.d.ts +11 -11
- package/dist/index33.d.ts.map +1 -1
- package/dist/index34.d.cts +5 -5
- package/dist/index34.d.ts +5 -5
- package/dist/index35.d.cts +17 -17
- package/dist/index35.d.cts.map +1 -1
- package/dist/index35.d.ts +15 -15
- package/dist/index35.d.ts.map +1 -1
- package/dist/index36.d.cts +3 -3
- package/dist/index36.d.cts.map +1 -1
- package/dist/index36.d.ts +3 -3
- package/dist/index36.d.ts.map +1 -1
- package/dist/index37.d.cts +4 -4
- package/dist/index37.d.ts +5 -5
- package/dist/index38.d.cts +2 -2
- package/dist/index38.d.ts +2 -2
- package/dist/index39.d.cts +17 -17
- package/dist/index39.d.ts +17 -17
- package/dist/index4.d.cts +2 -2
- package/dist/index4.d.ts +2 -2
- package/dist/index4.d.ts.map +1 -1
- package/dist/index40.d.cts +5 -5
- package/dist/index40.d.cts.map +1 -1
- package/dist/index40.d.ts +5 -5
- package/dist/index40.d.ts.map +1 -1
- package/dist/index41.d.cts +11 -11
- package/dist/index41.d.cts.map +1 -1
- package/dist/index41.d.ts +11 -11
- package/dist/index42.d.cts +8 -8
- package/dist/index42.d.cts.map +1 -1
- package/dist/index42.d.ts +8 -8
- package/dist/index42.d.ts.map +1 -1
- package/dist/index43.d.cts +9 -9
- package/dist/index43.d.cts.map +1 -1
- package/dist/index43.d.ts +9 -9
- package/dist/index44.d.cts +8 -8
- package/dist/index44.d.ts +8 -8
- package/dist/index44.d.ts.map +1 -1
- package/dist/index45.d.cts +2 -2
- package/dist/index45.d.cts.map +1 -1
- package/dist/index45.d.ts +2 -2
- package/dist/index45.d.ts.map +1 -1
- package/dist/index46.d.cts +4 -4
- package/dist/index46.d.ts +4 -4
- package/dist/index46.d.ts.map +1 -1
- package/dist/index47.d.cts +4 -4
- package/dist/index47.d.cts.map +1 -1
- package/dist/index47.d.ts +4 -4
- package/dist/index47.d.ts.map +1 -1
- package/dist/index48.d.cts +3 -3
- package/dist/index48.d.cts.map +1 -1
- package/dist/index48.d.ts +3 -3
- package/dist/index48.d.ts.map +1 -1
- package/dist/index49.d.cts +11 -11
- package/dist/index49.d.cts.map +1 -1
- package/dist/index49.d.ts +11 -11
- package/dist/index49.d.ts.map +1 -1
- package/dist/index5.d.cts +7 -7
- package/dist/index5.d.cts.map +1 -1
- package/dist/index5.d.ts +7 -7
- package/dist/index5.d.ts.map +1 -1
- package/dist/index50.d.cts +9 -9
- package/dist/index50.d.ts +9 -9
- package/dist/index50.d.ts.map +1 -1
- package/dist/index51.d.cts +5 -5
- package/dist/index51.d.ts +5 -5
- package/dist/index51.d.ts.map +1 -1
- package/dist/index52.d.cts +27 -27
- package/dist/index52.d.cts.map +1 -1
- package/dist/index52.d.ts +25 -25
- package/dist/index52.d.ts.map +1 -1
- package/dist/index53.d.cts +5 -5
- package/dist/index53.d.ts +5 -5
- package/dist/index54.d.cts +2 -2
- package/dist/index54.d.ts +2 -2
- package/dist/index54.d.ts.map +1 -1
- package/dist/index55.d.cts +2 -2
- package/dist/index55.d.cts.map +1 -1
- package/dist/index55.d.ts +2 -2
- package/dist/index55.d.ts.map +1 -1
- package/dist/index56.d.cts +2 -2
- package/dist/index56.d.ts +2 -2
- package/dist/index56.d.ts.map +1 -1
- package/dist/index57.d.cts +4 -4
- package/dist/index57.d.ts +4 -4
- package/dist/index57.d.ts.map +1 -1
- package/dist/index58.d.cts +9 -9
- package/dist/index58.d.ts +9 -9
- package/dist/index58.d.ts.map +1 -1
- package/dist/index59.d.cts +9 -9
- package/dist/index59.d.ts +13 -13
- package/dist/index59.d.ts.map +1 -1
- package/dist/index6.d.cts +5 -5
- package/dist/index6.d.cts.map +1 -1
- package/dist/index6.d.ts +5 -5
- package/dist/index6.d.ts.map +1 -1
- package/dist/index60.d.cts +6 -6
- package/dist/index60.d.cts.map +1 -1
- package/dist/index60.d.ts +7 -7
- package/dist/index60.d.ts.map +1 -1
- package/dist/index61.d.cts +4 -4
- package/dist/index61.d.cts.map +1 -1
- package/dist/index61.d.ts +4 -4
- package/dist/index61.d.ts.map +1 -1
- package/dist/index62.d.cts +2 -2
- package/dist/index62.d.cts.map +1 -1
- package/dist/index62.d.ts +2 -2
- package/dist/index62.d.ts.map +1 -1
- package/dist/index63.d.cts +5 -5
- package/dist/index63.d.ts +3 -3
- package/dist/index64.d.cts +3 -3
- package/dist/index64.d.ts +3 -3
- package/dist/index64.d.ts.map +1 -1
- package/dist/index65.d.cts +4 -4
- package/dist/index65.d.cts.map +1 -1
- package/dist/index65.d.ts +4 -4
- package/dist/index65.d.ts.map +1 -1
- package/dist/index66.d.cts +2 -2
- package/dist/index66.d.ts +2 -2
- package/dist/index66.d.ts.map +1 -1
- package/dist/index67.d.cts +7 -7
- package/dist/index67.d.cts.map +1 -1
- package/dist/index67.d.ts +8 -8
- package/dist/index67.d.ts.map +1 -1
- package/dist/index68.d.cts +7 -7
- package/dist/index68.d.ts +7 -7
- package/dist/index68.d.ts.map +1 -1
- package/dist/index7.d.cts +8 -8
- package/dist/index7.d.cts.map +1 -1
- package/dist/index7.d.ts +8 -8
- package/dist/index7.d.ts.map +1 -1
- package/dist/index70.d.cts +8 -8
- package/dist/index70.d.ts +8 -8
- package/dist/index8.d.cts +4 -4
- package/dist/index8.d.ts +4 -4
- package/dist/index8.d.ts.map +1 -1
- package/dist/index9.d.cts +2 -2
- package/dist/index9.d.cts.map +1 -1
- package/dist/index9.d.ts +2 -2
- package/dist/index9.d.ts.map +1 -1
- package/dist/layouts/Container/index.cjs +1 -1
- package/dist/layouts/Container/index.cjs.map +1 -1
- package/dist/layouts/Container/index.js +1 -1
- package/dist/layouts/Container/index.js.map +1 -1
- package/dist/layouts/PageBackground/index.cjs +1 -1
- package/dist/layouts/PageBackground/index.cjs.map +1 -1
- package/dist/layouts/PageBackground/index.js +1 -1
- package/dist/layouts/PageBackground/index.js.map +1 -1
- package/dist/patterns/DataTable/index.d.cts +3 -3
- package/dist/patterns/DataTable/index.d.ts +3 -3
- package/dist/patterns/Footer/index.cjs +1 -1
- package/dist/patterns/Footer/index.cjs.map +1 -1
- package/dist/patterns/Footer/index.d.cts +8 -8
- package/dist/patterns/Footer/index.d.cts.map +1 -1
- package/dist/patterns/Footer/index.d.ts +8 -8
- package/dist/patterns/Footer/index.d.ts.map +1 -1
- package/dist/patterns/Footer/index.js +1 -1
- package/dist/patterns/Footer/index.js.map +1 -1
- package/dist/patterns/MediaObject/index.d.cts +11 -11
- package/dist/patterns/MediaObject/index.d.ts +13 -13
- package/dist/patterns/MediaObject/index.d.ts.map +1 -1
- package/dist/patterns/SectionCard/index.d.cts +2 -2
- package/dist/patterns/SectionCard/index.d.ts +2 -2
- package/dist/patterns/SectionCard/index.d.ts.map +1 -1
- package/dist/patterns/SectionHeading/index.d.cts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts +2 -2
- package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
- package/dist/primitives/Accordion/index.cjs +1 -1
- package/dist/primitives/Accordion/index.cjs.map +1 -1
- package/dist/primitives/Accordion/index.js +1 -1
- package/dist/primitives/Accordion/index.js.map +1 -1
- package/dist/primitives/Alert/index.cjs +2 -2
- package/dist/primitives/Alert/index.cjs.map +1 -1
- package/dist/primitives/Alert/index.js +2 -2
- package/dist/primitives/Alert/index.js.map +1 -1
- package/dist/primitives/AlertDialog/index.cjs +2 -2
- package/dist/primitives/AlertDialog/index.cjs.map +1 -1
- package/dist/primitives/AlertDialog/index.js +2 -2
- package/dist/primitives/AlertDialog/index.js.map +1 -1
- package/dist/primitives/Avatar/index.cjs +2 -2
- package/dist/primitives/Avatar/index.cjs.map +1 -1
- package/dist/primitives/Avatar/index.js +2 -2
- package/dist/primitives/Avatar/index.js.map +1 -1
- package/dist/primitives/Badge/index.cjs +4 -4
- package/dist/primitives/Badge/index.cjs.map +1 -1
- package/dist/primitives/Badge/index.js +4 -4
- package/dist/primitives/Badge/index.js.map +1 -1
- package/dist/primitives/Button/index.cjs +5 -5
- package/dist/primitives/Button/index.cjs.map +1 -1
- package/dist/primitives/Button/index.js +5 -5
- package/dist/primitives/Button/index.js.map +1 -1
- package/dist/primitives/ButtonGroup/index.cjs +2 -2
- package/dist/primitives/ButtonGroup/index.cjs.map +1 -1
- package/dist/primitives/ButtonGroup/index.js +2 -2
- package/dist/primitives/ButtonGroup/index.js.map +1 -1
- package/dist/primitives/Calendar/index.cjs +1 -1
- package/dist/primitives/Calendar/index.cjs.map +1 -1
- package/dist/primitives/Calendar/index.js +1 -1
- package/dist/primitives/Calendar/index.js.map +1 -1
- package/dist/primitives/Card/index.cjs +4 -4
- package/dist/primitives/Card/index.cjs.map +1 -1
- package/dist/primitives/Card/index.js +4 -4
- package/dist/primitives/Card/index.js.map +1 -1
- package/dist/primitives/Chart/index.cjs +1 -1
- package/dist/primitives/Chart/index.cjs.map +1 -1
- package/dist/primitives/Chart/index.js +1 -1
- package/dist/primitives/Chart/index.js.map +1 -1
- package/dist/primitives/Checkbox/index.cjs +1 -1
- package/dist/primitives/Checkbox/index.cjs.map +1 -1
- package/dist/primitives/Checkbox/index.js +1 -1
- package/dist/primitives/Checkbox/index.js.map +1 -1
- package/dist/primitives/Command/index.cjs +1 -1
- package/dist/primitives/Command/index.cjs.map +1 -1
- package/dist/primitives/Command/index.js +1 -1
- package/dist/primitives/Command/index.js.map +1 -1
- package/dist/primitives/ContextMenu/index.cjs +1 -1
- package/dist/primitives/ContextMenu/index.cjs.map +1 -1
- package/dist/primitives/ContextMenu/index.js +1 -1
- package/dist/primitives/ContextMenu/index.js.map +1 -1
- package/dist/primitives/Credits/index.cjs +1 -1
- package/dist/primitives/Credits/index.cjs.map +1 -1
- package/dist/primitives/Credits/index.js +1 -1
- package/dist/primitives/Credits/index.js.map +1 -1
- package/dist/primitives/Dialog/index.cjs +2 -2
- package/dist/primitives/Dialog/index.cjs.map +1 -1
- package/dist/primitives/Dialog/index.js +2 -2
- package/dist/primitives/Dialog/index.js.map +1 -1
- package/dist/primitives/Drawer/index.cjs +1 -1
- package/dist/primitives/Drawer/index.cjs.map +1 -1
- package/dist/primitives/Drawer/index.js +1 -1
- package/dist/primitives/Drawer/index.js.map +1 -1
- package/dist/primitives/DropdownMenu/index.cjs +1 -1
- package/dist/primitives/DropdownMenu/index.cjs.map +1 -1
- package/dist/primitives/DropdownMenu/index.js +1 -1
- package/dist/primitives/DropdownMenu/index.js.map +1 -1
- package/dist/primitives/Field/index.cjs +1 -1
- package/dist/primitives/Field/index.cjs.map +1 -1
- package/dist/primitives/Field/index.js +1 -1
- package/dist/primitives/Field/index.js.map +1 -1
- package/dist/primitives/HoverCard/index.cjs +1 -1
- package/dist/primitives/HoverCard/index.cjs.map +1 -1
- package/dist/primitives/HoverCard/index.js +1 -1
- package/dist/primitives/HoverCard/index.js.map +1 -1
- package/dist/primitives/Input/index.cjs +4 -4
- package/dist/primitives/Input/index.cjs.map +1 -1
- package/dist/primitives/Input/index.js +4 -4
- package/dist/primitives/Input/index.js.map +1 -1
- package/dist/primitives/InputGroup/index.cjs +6 -6
- package/dist/primitives/InputGroup/index.cjs.map +1 -1
- package/dist/primitives/InputGroup/index.js +6 -6
- package/dist/primitives/InputGroup/index.js.map +1 -1
- package/dist/primitives/InputOtp/index.cjs +1 -1
- package/dist/primitives/InputOtp/index.cjs.map +1 -1
- package/dist/primitives/InputOtp/index.js +1 -1
- package/dist/primitives/InputOtp/index.js.map +1 -1
- package/dist/primitives/Item/index.cjs +2 -2
- package/dist/primitives/Item/index.cjs.map +1 -1
- package/dist/primitives/Item/index.js +2 -2
- package/dist/primitives/Item/index.js.map +1 -1
- package/dist/primitives/Kbd/index.cjs +1 -1
- package/dist/primitives/Kbd/index.cjs.map +1 -1
- package/dist/primitives/Kbd/index.js +1 -1
- package/dist/primitives/Kbd/index.js.map +1 -1
- package/dist/primitives/Menubar/index.cjs +1 -1
- package/dist/primitives/Menubar/index.cjs.map +1 -1
- package/dist/primitives/Menubar/index.js +1 -1
- package/dist/primitives/Menubar/index.js.map +1 -1
- package/dist/primitives/NativeSelect/index.cjs +1 -1
- package/dist/primitives/NativeSelect/index.cjs.map +1 -1
- package/dist/primitives/NativeSelect/index.js +1 -1
- package/dist/primitives/NativeSelect/index.js.map +1 -1
- package/dist/primitives/NavRail/index.cjs +2 -2
- package/dist/primitives/NavRail/index.cjs.map +1 -1
- package/dist/primitives/NavRail/index.js +2 -2
- package/dist/primitives/NavRail/index.js.map +1 -1
- package/dist/primitives/NavigationMenu/index.cjs +1 -1
- package/dist/primitives/NavigationMenu/index.cjs.map +1 -1
- package/dist/primitives/NavigationMenu/index.js +1 -1
- package/dist/primitives/NavigationMenu/index.js.map +1 -1
- package/dist/primitives/Popover/index.cjs +1 -1
- package/dist/primitives/Popover/index.cjs.map +1 -1
- package/dist/primitives/Popover/index.js +1 -1
- package/dist/primitives/Popover/index.js.map +1 -1
- package/dist/primitives/Progress/index.cjs +1 -1
- package/dist/primitives/Progress/index.cjs.map +1 -1
- package/dist/primitives/Progress/index.js +1 -1
- package/dist/primitives/Progress/index.js.map +1 -1
- package/dist/primitives/RadioGroup/index.cjs +1 -1
- package/dist/primitives/RadioGroup/index.cjs.map +1 -1
- package/dist/primitives/RadioGroup/index.js +1 -1
- package/dist/primitives/RadioGroup/index.js.map +1 -1
- package/dist/primitives/ScrollArea/index.cjs +1 -1
- package/dist/primitives/ScrollArea/index.cjs.map +1 -1
- package/dist/primitives/ScrollArea/index.js +1 -1
- package/dist/primitives/ScrollArea/index.js.map +1 -1
- package/dist/primitives/Select/index.cjs +1 -1
- package/dist/primitives/Select/index.cjs.map +1 -1
- package/dist/primitives/Select/index.js +1 -1
- package/dist/primitives/Select/index.js.map +1 -1
- package/dist/primitives/Skeleton/index.cjs +2 -2
- package/dist/primitives/Skeleton/index.cjs.map +1 -1
- package/dist/primitives/Skeleton/index.js +2 -2
- package/dist/primitives/Skeleton/index.js.map +1 -1
- package/dist/primitives/Slider/index.cjs +1 -1
- package/dist/primitives/Slider/index.cjs.map +1 -1
- package/dist/primitives/Slider/index.js +1 -1
- package/dist/primitives/Slider/index.js.map +1 -1
- package/dist/primitives/Sonner/index.cjs +1 -1
- package/dist/primitives/Sonner/index.cjs.map +1 -1
- package/dist/primitives/Sonner/index.js +1 -1
- package/dist/primitives/Sonner/index.js.map +1 -1
- package/dist/primitives/Switch/index.cjs +3 -3
- package/dist/primitives/Switch/index.cjs.map +1 -1
- package/dist/primitives/Switch/index.js +3 -3
- package/dist/primitives/Switch/index.js.map +1 -1
- package/dist/primitives/Table/index.cjs +3 -3
- package/dist/primitives/Table/index.cjs.map +1 -1
- package/dist/primitives/Table/index.js +3 -3
- package/dist/primitives/Table/index.js.map +1 -1
- package/dist/primitives/Tabs/index.cjs +4 -4
- package/dist/primitives/Tabs/index.cjs.map +1 -1
- package/dist/primitives/Tabs/index.js +4 -4
- package/dist/primitives/Tabs/index.js.map +1 -1
- package/dist/primitives/Textarea/index.cjs +2 -2
- package/dist/primitives/Textarea/index.cjs.map +1 -1
- package/dist/primitives/Textarea/index.js +2 -2
- package/dist/primitives/Textarea/index.js.map +1 -1
- package/dist/primitives/Toggle/index.cjs +2 -2
- package/dist/primitives/Toggle/index.cjs.map +1 -1
- package/dist/primitives/Toggle/index.js +2 -2
- package/dist/primitives/Toggle/index.js.map +1 -1
- package/dist/primitives/Tooltip/index.cjs +2 -2
- package/dist/primitives/Tooltip/index.cjs.map +1 -1
- package/dist/primitives/Tooltip/index.js +2 -2
- package/dist/primitives/Tooltip/index.js.map +1 -1
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +1 -1
- package/dist/styles/index.css +3 -0
- package/dist/styles/semantic.css +23 -12
- package/dist/styles/theme.css +43 -4
- package/dist/styles/tokens/border-radius.css +2 -1
- package/dist/styles/tokens/mode-dark.css +1 -1
- package/dist/styles/typography.css +136 -0
- package/package.json +7 -2
package/dist/primitives/index.js
CHANGED
|
@@ -39,6 +39,7 @@ import { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup,
|
|
|
39
39
|
import { Kbd, KbdGroup } from "./Kbd/index.js";
|
|
40
40
|
import { Link, linkVariants } from "./Link/index.js";
|
|
41
41
|
import { t as Logo } from "../Logo.js";
|
|
42
|
+
import { ThemeContext, ThemeProvider, useTheme } from "./ThemeProvider/index.js";
|
|
42
43
|
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from "./Menubar/index.js";
|
|
43
44
|
import { NativeSelect, nativeSelectVariants } from "./NativeSelect/index.js";
|
|
44
45
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from "./NavigationMenu/index.js";
|
|
@@ -59,7 +60,6 @@ import { RichSwitchGroup, Switch, SwitchGroup } from "./Switch/index.js";
|
|
|
59
60
|
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./Table/index.js";
|
|
60
61
|
import { Tabs, TabsContent, TabsCounter, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from "./Tabs/index.js";
|
|
61
62
|
import { Text, textVariants } from "./Text/index.js";
|
|
62
|
-
import { ThemeContext, ThemeProvider, useTheme } from "./ThemeProvider/index.js";
|
|
63
63
|
import { Toggle, toggleVariants } from "./Toggle/index.js";
|
|
64
64
|
import { ToggleGroup, ToggleGroupItem } from "./ToggleGroup/index.js";
|
|
65
65
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxTree, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Credits, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, HoverCard, HoverCardContent, HoverCardTrigger, ICON_NAMES, Icon, InfoBanner, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Link, Logo, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NavRail, NavRailItem, NavRailMenu, NavRailMenuContent, NavRailMenuItem, NavRailMenuTrigger, NavRailSeparator, NavRailUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichCheckbox, RichRadioItem, RichSwitchGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonAvatar, SkeletonLine, SkeletonObject, Slider, Spinner, Switch, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsCounter, TabsList, TabsTrigger, Text, Textarea, ThemeContext, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cardVariants, creditsVariants, emptyVariants, headingVariants, infoBannerVariants, inputVariants, linkVariants, nativeSelectVariants, navigationMenuTriggerStyle, tabsListVariants, tabsTriggerVariants, textVariants, textareaVariants, toggleVariants, useFormField, useSidebar, useTheme };
|
package/dist/styles/index.css
CHANGED
|
@@ -47,6 +47,9 @@
|
|
|
47
47
|
/* ── Base layer (suite-wide defaults) ─────────────────────── */
|
|
48
48
|
@import "./base.css";
|
|
49
49
|
|
|
50
|
+
/* ── Global flow-content typography (raw/markdown tags) ────── */
|
|
51
|
+
@import "./typography.css";
|
|
52
|
+
|
|
50
53
|
/* Scan the design-system component source so the utility classes
|
|
51
54
|
they use are emitted into the compiled stylesheet. */
|
|
52
55
|
@source "../";
|
package/dist/styles/semantic.css
CHANGED
|
@@ -33,7 +33,28 @@
|
|
|
33
33
|
|
|
34
34
|
/* ── States ───────────────────────────────────────────── */
|
|
35
35
|
--destructive: var(--bg-destructive);
|
|
36
|
-
|
|
36
|
+
/* NOTE: `--destructive-foreground` resolves to the destructive *content* red
|
|
37
|
+
(Figma content/destructive) — i.e. `text-destructive-foreground` is the red
|
|
38
|
+
text/icon color. The on-destructive foreground (white, for text ON a filled
|
|
39
|
+
destructive surface) is `--destructive-content-foreground`. */
|
|
40
|
+
--destructive-foreground: var(--content-destructive);
|
|
41
|
+
--destructive-content-foreground: var(--content-destructive-foreground);
|
|
42
|
+
--destructive-subtle: var(--bg-destructive-subtle);
|
|
43
|
+
--destructive-subtle-foreground: var(--content-destructive-subtle);
|
|
44
|
+
--destructive-alpha: var(--bg-destructive-alpha);
|
|
45
|
+
--destructive-border: var(--border-destructive-border);
|
|
46
|
+
--error: var(--bg-error);
|
|
47
|
+
--error-subtle: var(--bg-error-subtle);
|
|
48
|
+
--error-foreground: var(--content-error);
|
|
49
|
+
--error-bold-foreground: var(--content-error-bold);
|
|
50
|
+
|
|
51
|
+
/* Inverse surface — a dark fill + light text in light mode (flips in dark).
|
|
52
|
+
For tooltips, inverted cards/badges, and solid icon chips. Bound to the Figma
|
|
53
|
+
popover/popover token, which IS the design's inverse surface (#1f2832 light /
|
|
54
|
+
#ffffff dark) — note --popover (the menu/popover *semantic*) is deliberately
|
|
55
|
+
aliased to --card instead (tech-debt #6), so we reference the raw token here. */
|
|
56
|
+
--inverse: var(--popover-popover);
|
|
57
|
+
--inverse-foreground: var(--popover-popover-foreground);
|
|
37
58
|
|
|
38
59
|
/* ── UI structure ─────────────────────────────────────── */
|
|
39
60
|
--border: var(--border-border-2);
|
|
@@ -44,6 +65,7 @@
|
|
|
44
65
|
--switch-background: var(--gray-200);
|
|
45
66
|
--overlay: var(--bg-backdrop);
|
|
46
67
|
--ring: var(--focus-ring);
|
|
68
|
+
--ring-error: var(--focus-ring-error);
|
|
47
69
|
|
|
48
70
|
/* ── Sidebar ──────────────────────────────────────────── */
|
|
49
71
|
--sidebar: var(--sidebar-sidebar);
|
|
@@ -87,7 +109,6 @@
|
|
|
87
109
|
/* ── Component tokens ─────────────────────────────────── */
|
|
88
110
|
--progress-analyzing: var(--sky-200);
|
|
89
111
|
--progress-ingesting: var(--orange-200);
|
|
90
|
-
--logo-accent: var(--white);
|
|
91
112
|
|
|
92
113
|
/* Gradient heading fill (Heading `gradient` variant). */
|
|
93
114
|
--gradient-heading-from: var(--sky-600);
|
|
@@ -105,19 +126,9 @@
|
|
|
105
126
|
.dark {
|
|
106
127
|
--progress-analyzing: var(--sky-800);
|
|
107
128
|
--progress-ingesting: var(--orange-800);
|
|
108
|
-
--logo-accent: var(--gray-200);
|
|
109
129
|
|
|
110
130
|
--page-gradient-edge: var(--gray-950);
|
|
111
131
|
--page-gradient-mid: var(--red-950);
|
|
112
|
-
|
|
113
|
-
/* The Figma dark `bg/destructive` (#6C0016) is near-black. `--destructive` is
|
|
114
|
-
used as BOTH the destructive button fill AND the text/icon/border colour, so
|
|
115
|
-
in dark mode every destructive component (button, alert, icon, field errors)
|
|
116
|
-
reads as too dark. Point the all-purpose token at the palette's vivid error
|
|
117
|
-
red instead. CSS-only override — the Figma token is left untouched.
|
|
118
|
-
TODO(design): revisit the Figma `bg/destructive` dark value so this override
|
|
119
|
-
can be removed — see docs/tech-debt.md. */
|
|
120
|
-
--destructive: var(--content-error);
|
|
121
132
|
}
|
|
122
133
|
|
|
123
134
|
/* Brand-aware page gradient: the middle stop is each brand's secondary tint. */
|
package/dist/styles/theme.css
CHANGED
|
@@ -34,12 +34,27 @@
|
|
|
34
34
|
--color-accent: var(--accent);
|
|
35
35
|
--color-accent-foreground: var(--accent-foreground);
|
|
36
36
|
--color-destructive: var(--destructive);
|
|
37
|
+
/* `*-destructive-foreground` = the destructive content red; the on-destructive
|
|
38
|
+
foreground (white) is `*-destructive-content-foreground`. See semantic.css. */
|
|
37
39
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
38
|
-
--color-
|
|
40
|
+
--color-destructive-content-foreground: var(--destructive-content-foreground);
|
|
41
|
+
--color-destructive-subtle: var(--destructive-subtle);
|
|
42
|
+
--color-destructive-subtle-foreground: var(--destructive-subtle-foreground);
|
|
43
|
+
--color-destructive-alpha: var(--destructive-alpha);
|
|
44
|
+
--color-destructive-border: var(--destructive-border);
|
|
45
|
+
--color-error: var(--error);
|
|
46
|
+
--color-error-subtle: var(--error-subtle);
|
|
47
|
+
--color-error-foreground: var(--error-foreground);
|
|
48
|
+
--color-error-bold-foreground: var(--error-bold-foreground);
|
|
49
|
+
/* Inverse surface pair (→ bg-inverse / text-inverse-foreground / fill-inverse). */
|
|
50
|
+
--color-inverse: var(--inverse);
|
|
51
|
+
--color-inverse-foreground: var(--inverse-foreground);
|
|
52
|
+
--color-border: var(--border); /* this is good */
|
|
39
53
|
--color-input: var(--input);
|
|
40
54
|
--color-switch-background: var(--switch-background);
|
|
41
55
|
--color-input-background: var(--input-background);
|
|
42
56
|
--color-ring: var(--ring);
|
|
57
|
+
--color-ring-error: var(--ring-error);
|
|
43
58
|
|
|
44
59
|
/* ── Sidebar ──────────────────────────────────────────── */
|
|
45
60
|
--color-sidebar: var(--sidebar);
|
|
@@ -70,11 +85,27 @@
|
|
|
70
85
|
--color-brand-accent: var(--brand-accent);
|
|
71
86
|
--color-brand-accent-foreground: var(--brand-accent-foreground);
|
|
72
87
|
|
|
88
|
+
/* ── Page Gradient ───────────────────── */
|
|
89
|
+
--color-page-gradient-edge: var(--page-gradient-edge);
|
|
90
|
+
--color-page-gradient-mid: var(--page-gradient-mid);
|
|
91
|
+
|
|
92
|
+
/* ── Glass Colors ───────────────────── */
|
|
93
|
+
--color-glass-heavy: var(--glass-heavy);
|
|
94
|
+
--color-glass-strong: var(--glass-strong);
|
|
95
|
+
--color-glass-subtle: var(--glass-subtle);
|
|
96
|
+
--color-glass-light: var(--glass-light);
|
|
97
|
+
--color-glass-medium: var(--glass-medium);
|
|
98
|
+
|
|
99
|
+
/* ── Blur ───────────────────── */
|
|
100
|
+
--blur-glass: var(--glass-blur);
|
|
101
|
+
|
|
73
102
|
/* ── Radius (→ rounded-* utilities) ───────────────────── */
|
|
74
103
|
--radius-xs: var(--rounded-xs);
|
|
75
104
|
--radius-sm: var(--rounded-sm);
|
|
76
105
|
--radius-md: var(--rounded-md);
|
|
77
106
|
--radius-lg: var(--rounded-lg);
|
|
107
|
+
--radius-5: var(--rounded-5);
|
|
108
|
+
--radius-10: var(--rounded-10);
|
|
78
109
|
--radius-xl: var(--rounded-xl);
|
|
79
110
|
--radius-2xl: var(--rounded-2xl);
|
|
80
111
|
--radius-3xl: var(--rounded-3xl);
|
|
@@ -89,7 +120,15 @@
|
|
|
89
120
|
--shadow-2xl: var(--shadow-2xl);
|
|
90
121
|
|
|
91
122
|
/* ── Font families (→ font-sans / font-heading / font-mono) ── */
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
123
|
+
/* Brand font first, then a system fallback stack so text stays styled if the
|
|
124
|
+
web font fails to load / during FOUT. `--font-sans` also drives the base
|
|
125
|
+
body font (Tailwind's --default-font-family). */
|
|
126
|
+
--font-sans:
|
|
127
|
+
var(--font-definitions-font-family-body), ui-sans-serif, system-ui, -apple-system,
|
|
128
|
+
"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
129
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
130
|
+
--font-heading: var(--font-definitions-font-family-headings), ui-sans-serif, system-ui,
|
|
131
|
+
-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
132
|
+
--font-mono: var(--font-definitions-font-family-monospace), ui-monospace, SFMono-Regular,
|
|
133
|
+
"SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
95
134
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--bg-accent: #111827; /** Level 1, official */
|
|
11
11
|
--bg-muted: #111827;
|
|
12
12
|
--bg-destructive: #6c0016;
|
|
13
|
-
--bg-destructive-alpha: rgb(
|
|
13
|
+
--bg-destructive-alpha: rgb(220 38 38 / 0.2);
|
|
14
14
|
--bg-destructive-subtle: #3d000d;
|
|
15
15
|
--bg-input: rgb(255 255 255 / 0.05);
|
|
16
16
|
--bg-page-bg-brand: #3d000d;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Global flow-content typography — default styling for raw HTML
|
|
3
|
+
tags (markdown / CMS output) rendered WITHOUT design-system
|
|
4
|
+
component classes.
|
|
5
|
+
|
|
6
|
+
Scoped to `:not([class]):not([data-slot])`: Tailwind's preflight strips margins,
|
|
7
|
+
list markers, link styling, etc., and DS components re-style their
|
|
8
|
+
own elements via utility classes — so anything that already has a
|
|
9
|
+
`class` is component-managed and left alone. Bare tags (what a
|
|
10
|
+
markdown renderer emits) get a readable default here.
|
|
11
|
+
|
|
12
|
+
`@layer base` so component/app utilities always win. All values
|
|
13
|
+
come from the design-system tokens.
|
|
14
|
+
============================================================ */
|
|
15
|
+
|
|
16
|
+
@layer base {
|
|
17
|
+
/* ── Vertical rhythm (block flow) ─────────────────────────── */
|
|
18
|
+
:where(p, ul, ol, blockquote, pre, table, hr, figure):not([class]):not([data-slot]) {
|
|
19
|
+
margin-block: 0 1rem;
|
|
20
|
+
}
|
|
21
|
+
:where(h1, h2, h3, h4, h5, h6):not([class]):not([data-slot]) {
|
|
22
|
+
margin-block: 1.5rem 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
/* No leading gap on the first block of a flow container. */
|
|
25
|
+
:where(p, ul, ol, blockquote, pre, table, hr, figure, h1, h2, h3, h4, h5, h6):not(
|
|
26
|
+
[class]
|
|
27
|
+
):first-child {
|
|
28
|
+
margin-block-start: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* ── Paragraph / inline text ──────────────────────────────── */
|
|
32
|
+
p:not([class]):not([data-slot]) {
|
|
33
|
+
font-size: var(--paragraph-regular-font-size);
|
|
34
|
+
line-height: var(--paragraph-regular-line-height);
|
|
35
|
+
}
|
|
36
|
+
a:not([class]):not([data-slot]) {
|
|
37
|
+
color: inherit;
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
text-underline-offset: 2px;
|
|
40
|
+
}
|
|
41
|
+
a:not([class]):not([data-slot]):hover {
|
|
42
|
+
text-decoration-thickness: 2px;
|
|
43
|
+
}
|
|
44
|
+
strong:not([class]):not([data-slot]),
|
|
45
|
+
b:not([class]):not([data-slot]) {
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
}
|
|
48
|
+
em:not([class]):not([data-slot]),
|
|
49
|
+
i:not([class]):not([data-slot]) {
|
|
50
|
+
font-style: italic;
|
|
51
|
+
}
|
|
52
|
+
small:not([class]):not([data-slot]) {
|
|
53
|
+
font-size: var(--paragraph-small-font-size);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* ── Lists ────────────────────────────────────────────────── */
|
|
57
|
+
ul:not([class]):not([data-slot]),
|
|
58
|
+
ol:not([class]):not([data-slot]) {
|
|
59
|
+
padding-inline-start: 1.5rem;
|
|
60
|
+
}
|
|
61
|
+
ul:not([class]):not([data-slot]) {
|
|
62
|
+
list-style: disc;
|
|
63
|
+
}
|
|
64
|
+
ol:not([class]):not([data-slot]) {
|
|
65
|
+
list-style: decimal;
|
|
66
|
+
}
|
|
67
|
+
li:not([class]):not([data-slot]) {
|
|
68
|
+
margin-block: 0.25rem;
|
|
69
|
+
}
|
|
70
|
+
/* Nested lists tighten up and lose the extra block margin. */
|
|
71
|
+
:where(ul, ol):not([class]):not([data-slot]) :where(ul, ol):not([class]):not([data-slot]) {
|
|
72
|
+
margin-block: 0.25rem 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ── Code ─────────────────────────────────────────────────── */
|
|
76
|
+
code:not([class]):not([data-slot]),
|
|
77
|
+
kbd:not([class]):not([data-slot]),
|
|
78
|
+
samp:not([class]):not([data-slot]) {
|
|
79
|
+
font-family: var(--font-definitions-font-family-monospace);
|
|
80
|
+
font-size: 0.875em;
|
|
81
|
+
}
|
|
82
|
+
/* Inline code chip (a bare <code> not inside a <pre>). */
|
|
83
|
+
:not(pre) > code:not([class]):not([data-slot]) {
|
|
84
|
+
border-radius: var(--rounded-sm);
|
|
85
|
+
background-color: var(--muted);
|
|
86
|
+
padding: 0.125rem 0.375rem;
|
|
87
|
+
}
|
|
88
|
+
pre:not([class]):not([data-slot]) {
|
|
89
|
+
overflow-x: auto;
|
|
90
|
+
border-radius: var(--rounded-lg);
|
|
91
|
+
background-color: var(--muted);
|
|
92
|
+
padding: 1rem;
|
|
93
|
+
font-size: var(--paragraph-small-font-size);
|
|
94
|
+
line-height: var(--paragraph-small-line-height);
|
|
95
|
+
}
|
|
96
|
+
pre:not([class]):not([data-slot]) code {
|
|
97
|
+
font-family: var(--font-definitions-font-family-monospace);
|
|
98
|
+
background-color: transparent;
|
|
99
|
+
padding: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* ── Blockquote ───────────────────────────────────────────── */
|
|
103
|
+
blockquote:not([class]):not([data-slot]) {
|
|
104
|
+
border-inline-start: 3px solid var(--border);
|
|
105
|
+
padding-inline-start: 1rem;
|
|
106
|
+
color: var(--muted-foreground);
|
|
107
|
+
font-style: italic;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ── Rule / media ─────────────────────────────────────────── */
|
|
111
|
+
hr:not([class]):not([data-slot]) {
|
|
112
|
+
border: 0;
|
|
113
|
+
border-top: 1px solid var(--border);
|
|
114
|
+
}
|
|
115
|
+
img:not([class]):not([data-slot]),
|
|
116
|
+
video:not([class]):not([data-slot]) {
|
|
117
|
+
max-width: 100%;
|
|
118
|
+
height: auto;
|
|
119
|
+
border-radius: var(--rounded-lg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* ── Tables ───────────────────────────────────────────────── */
|
|
123
|
+
table:not([class]):not([data-slot]) {
|
|
124
|
+
width: 100%;
|
|
125
|
+
border-collapse: collapse;
|
|
126
|
+
font-size: var(--paragraph-small-font-size);
|
|
127
|
+
}
|
|
128
|
+
:where(th, td):not([class]):not([data-slot]) {
|
|
129
|
+
border-bottom: 1px solid var(--border);
|
|
130
|
+
padding: 0.5rem 0.75rem;
|
|
131
|
+
text-align: start;
|
|
132
|
+
}
|
|
133
|
+
th:not([class]):not([data-slot]) {
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
}
|
|
136
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psnext/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Sapient AI Products design system — primitives, patterns, and layouts.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"@vitejs/plugin-react": "^4.7.0",
|
|
101
101
|
"@vitest/coverage-v8": "^3.2.0",
|
|
102
102
|
"axe-core": "^4.12.0",
|
|
103
|
+
"css-tree": "^3.2.1",
|
|
103
104
|
"jsdom": "^26.1.0",
|
|
104
105
|
"style-dictionary": "^4.3.0",
|
|
105
106
|
"tailwindcss": "^4.1.12",
|
|
@@ -112,9 +113,13 @@
|
|
|
112
113
|
"scripts": {
|
|
113
114
|
"build": "tsdown && pnpm styles:copy",
|
|
114
115
|
"tokens:css": "node style-dictionary.config.mjs",
|
|
116
|
+
"tokens:inventory": "node scripts/css-vars-inventory.mjs",
|
|
117
|
+
"tokens:components": "node scripts/css-vars-inventory.mjs && node scripts/component-vars-inventory.mjs",
|
|
118
|
+
"tokens:theme-usage": "node scripts/css-vars-inventory.mjs && node scripts/theme-usage-inventory.mjs",
|
|
115
119
|
"styles:copy": "node scripts/copy-styles.mjs",
|
|
116
120
|
"typecheck": "tsc --noEmit",
|
|
117
|
-
"lint": "biome check ./src",
|
|
121
|
+
"lint": "biome check ./src && pnpm lint:dark-variant",
|
|
122
|
+
"lint:dark-variant": "node scripts/check-no-dark-variant.mjs",
|
|
118
123
|
"test": "vitest run --passWithNoTests",
|
|
119
124
|
"test:coverage": "vitest run --coverage",
|
|
120
125
|
"test:watch": "vitest",
|