@orion-ds/react 4.6.6 → 4.7.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/blocks/index.d 2.ts +9 -0
- package/dist/blocks/index.d.ts 2.map +1 -0
- package/dist/blocks 2.css +76 -0
- package/dist/components/index.d 4.ts +151 -0
- package/dist/components/index.d.ts 4.map +1 -0
- package/dist/contexts/ThemeContext.d 4.ts +70 -0
- package/dist/contexts/ThemeContext.d.ts 4.map +1 -0
- package/dist/contexts/index.d 4.ts +8 -0
- package/dist/contexts/index.d.ts 4.map +1 -0
- package/dist/dnd.d 2.ts +16 -0
- package/dist/dnd.d.ts 2.map +1 -0
- package/dist/docs/DocComponents.d 3.ts +61 -0
- package/dist/docs/DocComponents.d.ts 3.map +1 -0
- package/dist/editor.d 2.ts +13 -0
- package/dist/editor.d.ts 2.map +1 -0
- package/dist/examples/LandingPage.example.d 4.ts +47 -0
- package/dist/examples/LandingPage.example.d.ts 4.map +1 -0
- package/dist/examples/index.d 4.ts +22 -0
- package/dist/examples/index.d.ts 4.map +1 -0
- package/dist/hooks/index.d 4.ts +20 -0
- package/dist/hooks/index.d.ts 4.map +1 -0
- package/dist/hooks/useClickOutside.d 4.ts +19 -0
- package/dist/hooks/useClickOutside.d.ts 4.map +1 -0
- package/dist/hooks/useCopyToClipboard.d 4.ts +72 -0
- package/dist/hooks/useCopyToClipboard.d.ts 4.map +1 -0
- package/dist/hooks/useDebounce.d 4.ts +58 -0
- package/dist/hooks/useDebounce.d.ts 4.map +1 -0
- package/dist/hooks/useDisclosure.d 4.ts +86 -0
- package/dist/hooks/useDisclosure.d.ts 4.map +1 -0
- package/dist/hooks/useKeyboard.d 4.ts +101 -0
- package/dist/hooks/useKeyboard.d.ts 4.map +1 -0
- package/dist/hooks/useLocalStorage.d 4.ts +48 -0
- package/dist/hooks/useLocalStorage.d.ts 4.map +1 -0
- package/dist/hooks/useMediaQuery.d 4.ts +43 -0
- package/dist/hooks/useMediaQuery.d.ts 4.map +1 -0
- package/dist/hooks/useTheme.d 4.ts +73 -0
- package/dist/hooks/useTheme.d.ts 4.map +1 -0
- package/dist/index 3.mjs +275 -0
- package/dist/index 4.cjs +1 -0
- package/dist/index.d 2.ts +171 -0
- package/dist/index.d.ts 2.map +1 -0
- package/dist/index10 2.mjs +58 -0
- package/dist/index10 3.cjs +1 -0
- package/dist/index100 3.cjs +1 -0
- package/dist/index100 3.mjs +23 -0
- package/dist/index101 2.mjs +29 -0
- package/dist/index101 3.cjs +1 -0
- package/dist/index102 2.mjs +45 -0
- package/dist/index102 3.cjs +1 -0
- package/dist/index103 3.cjs +1 -0
- package/dist/index103 3.mjs +67 -0
- package/dist/index104 2.cjs +1 -0
- package/dist/index104 2.mjs +65 -0
- package/dist/index105 2.cjs +1 -0
- package/dist/index105 3.mjs +27 -0
- package/dist/index106 2.cjs +1 -0
- package/dist/index106 2.mjs +39 -0
- package/dist/index107 2.cjs +1 -0
- package/dist/index107 3.mjs +21 -0
- package/dist/index108 2.mjs +33 -0
- package/dist/index108 4.cjs +1 -0
- package/dist/index109 2.cjs +1 -0
- package/dist/index109 4.mjs +39 -0
- package/dist/index11 2.mjs +20 -0
- package/dist/index11 4.cjs +1 -0
- package/dist/index110 2.cjs +1 -0
- package/dist/index110 2.mjs +31 -0
- package/dist/index111 2.mjs +49 -0
- package/dist/index111 3.cjs +1 -0
- package/dist/index112 2.cjs +1 -0
- package/dist/index112 2.mjs +36 -0
- package/dist/index113 2.cjs +1 -0
- package/dist/index113 2.mjs +43 -0
- package/dist/index114 2.cjs +1 -0
- package/dist/index114 2.mjs +27 -0
- package/dist/index115 3.mjs +237 -0
- package/dist/index115 4.cjs +1 -0
- package/dist/index116 3.cjs +1 -0
- package/dist/index116 3.mjs +36 -0
- package/dist/index117 2.mjs +46 -0
- package/dist/index117 4.cjs +1 -0
- package/dist/index118 2.cjs +1 -0
- package/dist/index118 2.mjs +173 -0
- package/dist/index119 2.cjs +1 -0
- package/dist/index119 2.mjs +188 -0
- package/dist/index120 2.mjs +31 -0
- package/dist/index120 3.cjs +1 -0
- package/dist/index121 2.cjs +1 -0
- package/dist/index121 2.mjs +93 -0
- package/dist/index122 2.mjs +55 -0
- package/dist/index122 4.cjs +1 -0
- package/dist/index123 2.cjs +1 -0
- package/dist/index123 3.mjs +69 -0
- package/dist/index124 2.mjs +127 -0
- package/dist/index124 4.cjs +1 -0
- package/dist/index125 3.mjs +111 -0
- package/dist/index125 4.cjs +1 -0
- package/dist/index126 4.cjs +1 -0
- package/dist/index126 4.mjs +114 -0
- package/dist/index127 2.mjs +125 -0
- package/dist/index127 4.cjs +1 -0
- package/dist/index128 2.cjs +1 -0
- package/dist/index128 2.mjs +217 -0
- package/dist/index129 2.cjs +1 -0
- package/dist/index129 2.mjs +109 -0
- package/dist/index13 2.mjs +84 -0
- package/dist/index13 4.cjs +1 -0
- package/dist/index130 2.cjs +1 -0
- package/dist/index130 2.mjs +68 -0
- package/dist/index131 2.cjs +1 -0
- package/dist/index131 3.mjs +45 -0
- package/dist/index132 3.cjs +1 -0
- package/dist/index132 4.mjs +31 -0
- package/dist/index133 3.mjs +33 -0
- package/dist/index133 4.cjs +1 -0
- package/dist/index134 2.mjs +49 -0
- package/dist/index134 3.cjs +1 -0
- package/dist/index135 3.cjs +1 -0
- package/dist/index135 4.mjs +15 -0
- package/dist/index136 2.mjs +47 -0
- package/dist/index136 3.cjs +1 -0
- package/dist/index137 2.mjs +58 -0
- package/dist/index137 3.cjs +1 -0
- package/dist/index138 2.mjs +23 -0
- package/dist/index138 4.cjs +1 -0
- package/dist/index139 2.mjs +21 -0
- package/dist/index139 3.cjs +1 -0
- package/dist/index14 2.mjs +71 -0
- package/dist/index14 4.cjs +1 -0
- package/dist/index140 2.cjs +1 -0
- package/dist/index140 4.mjs +27 -0
- package/dist/index141 2.cjs +1 -0
- package/dist/index141 2.mjs +27 -0
- package/dist/index142 3.mjs +56 -0
- package/dist/index142 4.cjs +1 -0
- package/dist/index143 2.mjs +47 -0
- package/dist/index143 3.cjs +1 -0
- package/dist/index144 2.mjs +31 -0
- package/dist/index144 4.cjs +1 -0
- package/dist/index145 2.cjs +1 -0
- package/dist/index145 3.mjs +70 -0
- package/dist/index146 2.cjs +1 -0
- package/dist/index146 3.mjs +36 -0
- package/dist/index147 2.mjs +23 -0
- package/dist/index147 4.cjs +1 -0
- package/dist/index148 2.mjs +25 -0
- package/dist/index148 4.cjs +1 -0
- package/dist/index149 2.cjs +1 -0
- package/dist/index149 3.mjs +55 -0
- package/dist/index15 2.cjs +1 -0
- package/dist/index15 3.mjs +135 -0
- package/dist/index150 2.cjs +1 -0
- package/dist/index150 3.mjs +57 -0
- package/dist/index151 3.cjs +1 -0
- package/dist/index151 3.mjs +49 -0
- package/dist/index152 2.cjs +1 -0
- package/dist/index152 2.mjs +79 -0
- package/dist/index153 2.mjs +17 -0
- package/dist/index153 3.cjs +1 -0
- package/dist/index154 2.mjs +45 -0
- package/dist/index154 3.cjs +1 -0
- package/dist/index155 2.cjs +1 -0
- package/dist/index155 3.mjs +43 -0
- package/dist/index156 2.cjs +1 -0
- package/dist/index156 3.mjs +38 -0
- package/dist/index157 2.cjs +1 -0
- package/dist/index157 3.mjs +31 -0
- package/dist/index158 2.cjs +1 -0
- package/dist/index158 2.mjs +43 -0
- package/dist/index159 2.mjs +23 -0
- package/dist/index159 3.cjs +1 -0
- package/dist/index16 3.cjs +1 -0
- package/dist/index16 3.mjs +106 -0
- package/dist/index160 2.cjs +1 -0
- package/dist/index160 3.mjs +15 -0
- package/dist/index161 2.cjs +1 -0
- package/dist/index161 3.mjs +60 -0
- package/dist/index162 2.cjs +1 -0
- package/dist/index162 3.mjs +35 -0
- package/dist/index163 2.cjs +1 -0
- package/dist/index163 2.mjs +19 -0
- package/dist/index164 2.cjs +1 -0
- package/dist/index164 2.mjs +31 -0
- package/dist/index165 2.mjs +21 -0
- package/dist/index165 3.cjs +1 -0
- package/dist/index166 2.cjs +1 -0
- package/dist/index166 2.mjs +48 -0
- package/dist/index167 3.cjs +1 -0
- package/dist/index167 3.mjs +55 -0
- package/dist/index168 3.mjs +65 -0
- package/dist/index168 4.cjs +1 -0
- package/dist/index169 2.cjs +1 -0
- package/dist/index169 2.mjs +39 -0
- package/dist/index17 2.cjs +1 -0
- package/dist/index17 2.mjs +178 -0
- package/dist/index170 2.mjs +33 -0
- package/dist/index170 3.cjs +1 -0
- package/dist/index171 3.cjs +1 -0
- package/dist/index171 3.mjs +31 -0
- package/dist/index172 2.cjs +1 -0
- package/dist/index172 4.mjs +35 -0
- package/dist/index173 2.cjs +1 -0
- package/dist/index173 2.mjs +31 -0
- package/dist/index174 2.cjs +1 -0
- package/dist/index174 2.mjs +33 -0
- package/dist/index175 2.cjs +1 -0
- package/dist/index175 2.mjs +67 -0
- package/dist/index176 2.cjs +1 -0
- package/dist/index176 2.mjs +30 -0
- package/dist/index177 2.mjs +41 -0
- package/dist/index177 4.cjs +1 -0
- package/dist/index178 2.mjs +33 -0
- package/dist/index178 3.cjs +1 -0
- package/dist/index179 2.cjs +1 -0
- package/dist/index179 2.mjs +33 -0
- package/dist/index18 2.mjs +38 -0
- package/dist/index18 3.cjs +1 -0
- package/dist/index180 2.cjs +1 -0
- package/dist/index180 3.mjs +53 -0
- package/dist/index181 2.cjs +1 -0
- package/dist/index181 2.mjs +59 -0
- package/dist/index182 2.mjs +21 -0
- package/dist/index182 3.cjs +1 -0
- package/dist/index183 2.cjs +1 -0
- package/dist/index183 3.mjs +21 -0
- package/dist/index184 2.cjs +1 -0
- package/dist/index184 2.mjs +12 -0
- package/dist/index185 2.cjs +1 -0
- package/dist/index185 2.mjs +57 -0
- package/dist/index19 2.cjs +1 -0
- package/dist/index19 2.mjs +103 -0
- package/dist/index20 2.cjs +1 -0
- package/dist/index20 2.mjs +56 -0
- package/dist/index21 2.cjs +1 -0
- package/dist/index21 3.mjs +84 -0
- package/dist/index22 2.cjs +1 -0
- package/dist/index22 2.mjs +86 -0
- package/dist/index23 2.cjs +6 -0
- package/dist/index23 4.mjs +255 -0
- package/dist/index24 2.mjs +114 -0
- package/dist/index24 3.cjs +1 -0
- package/dist/index25 2.cjs +1 -0
- package/dist/index25 4.mjs +196 -0
- package/dist/index26 3.mjs +271 -0
- package/dist/index26 4.cjs +1 -0
- package/dist/index27 2.cjs +1 -0
- package/dist/index27 2.mjs +248 -0
- package/dist/index28 2.cjs +1 -0
- package/dist/index28 2.mjs +193 -0
- package/dist/index29 2.cjs +1 -0
- package/dist/index29 2.mjs +26 -0
- package/dist/index3 2.cjs +1 -0
- package/dist/index3 2.mjs +600 -0
- package/dist/index30 2.cjs +1 -0
- package/dist/index30 2.mjs +339 -0
- package/dist/index31 2.cjs +1 -0
- package/dist/index31 4.mjs +104 -0
- package/dist/index32 2.mjs +103 -0
- package/dist/index32 3.cjs +1 -0
- package/dist/index33 2.cjs +1 -0
- package/dist/index33 4.mjs +48 -0
- package/dist/index34 2.cjs +1 -0
- package/dist/index34 3.mjs +132 -0
- package/dist/index35 2.cjs +1 -0
- package/dist/index35 2.mjs +176 -0
- package/dist/index36 2.cjs +1 -0
- package/dist/index36 2.mjs +30 -0
- package/dist/index37 2.cjs +1 -0
- package/dist/index37 2.mjs +43 -0
- package/dist/index38 2.cjs +1 -0
- package/dist/index38 2.mjs +107 -0
- package/dist/index39 2.cjs +1 -0
- package/dist/index39 4.mjs +202 -0
- package/dist/index4 2.mjs +59 -0
- package/dist/index4 3.cjs +3 -0
- package/dist/index40 2.mjs +164 -0
- package/dist/index40 3.cjs +1 -0
- package/dist/index41 3.cjs +1 -0
- package/dist/index41 3.mjs +47 -0
- package/dist/index42 2.cjs +1 -0
- package/dist/index42 2.mjs +84 -0
- package/dist/index43 2.cjs +1 -0
- package/dist/index43 3.mjs +54 -0
- package/dist/index44 2.mjs +205 -0
- package/dist/index44 3.cjs +3 -0
- package/dist/index45 3.cjs +1 -0
- package/dist/index45 3.mjs +104 -0
- package/dist/index46 2.cjs +1 -0
- package/dist/index46 4.mjs +143 -0
- package/dist/index47 2.cjs +1 -0
- package/dist/index47 2.mjs +190 -0
- package/dist/index48 2.mjs +106 -0
- package/dist/index48 3.cjs +1 -0
- package/dist/index49 2.cjs +1 -0
- package/dist/index49 2.mjs +82 -0
- package/dist/index5 2.cjs +1 -0
- package/dist/index5 2.mjs +94 -0
- package/dist/index50 2.mjs +95 -0
- package/dist/index50 3.cjs +1 -0
- package/dist/index51 2.cjs +1 -0
- package/dist/index51 2.mjs +125 -0
- package/dist/index52 2.cjs +1 -0
- package/dist/index52 3.mjs +72 -0
- package/dist/index53 2.cjs +1 -0
- package/dist/index53 3.mjs +273 -0
- package/dist/index54 2.cjs +1 -0
- package/dist/index54 3.mjs +129 -0
- package/dist/index55 2.cjs +1 -0
- package/dist/index55 2.mjs +172 -0
- package/dist/index56 2.cjs +1 -0
- package/dist/index56 3.mjs +105 -0
- package/dist/index57 2.cjs +1 -0
- package/dist/index57 3.mjs +136 -0
- package/dist/index58 2.cjs +1 -0
- package/dist/index58 2.mjs +191 -0
- package/dist/index59 2.cjs +1 -0
- package/dist/index59 3.mjs +54 -0
- package/dist/index6 2.cjs +1 -0
- package/dist/index6 2.mjs +128 -0
- package/dist/index60 2.mjs +148 -0
- package/dist/index60 3.cjs +1 -0
- package/dist/index61 2.cjs +1 -0
- package/dist/index61 2.mjs +76 -0
- package/dist/index62 2.cjs +1 -0
- package/dist/index62 2.mjs +87 -0
- package/dist/index63 2.cjs +1 -0
- package/dist/index63 2.mjs +36 -0
- package/dist/index64 2.cjs +1 -0
- package/dist/index64 3.mjs +78 -0
- package/dist/index65 3.mjs +153 -0
- package/dist/index65 4.cjs +1 -0
- package/dist/index66 2.cjs +1 -0
- package/dist/index66 2.mjs +54 -0
- package/dist/index67 2.cjs +1 -0
- package/dist/index67 2.mjs +109 -0
- package/dist/index68 2.cjs +1 -0
- package/dist/index68 3.mjs +28 -0
- package/dist/index69 2.cjs +1 -0
- package/dist/index69 2.mjs +133 -0
- package/dist/index7 2.mjs +120 -0
- package/dist/index7 3.cjs +1 -0
- package/dist/index70 2.cjs +1 -0
- package/dist/index70 2.mjs +80 -0
- package/dist/index71 2.cjs +1 -0
- package/dist/index71 2.mjs +101 -0
- package/dist/index72 2.mjs +97 -0
- package/dist/index72 3.cjs +1 -0
- package/dist/index73 2.cjs +1 -0
- package/dist/index73 2.mjs +118 -0
- package/dist/index74 2.cjs +1 -0
- package/dist/index74 2.mjs +389 -0
- package/dist/index75 2.cjs +38 -0
- package/dist/index75 2.mjs +98 -0
- package/dist/index76 2.mjs +225 -0
- package/dist/index76 3.cjs +1 -0
- package/dist/index77 2.cjs +1 -0
- package/dist/index77 3.mjs +48 -0
- package/dist/index78 2.cjs +1 -0
- package/dist/index78 2.mjs +101 -0
- package/dist/index79 2.cjs +1 -0
- package/dist/index79 3.mjs +39 -0
- package/dist/index8 2.cjs +1 -0
- package/dist/index8 3.mjs +51 -0
- package/dist/index80 2.cjs +1 -0
- package/dist/index80 2.mjs +161 -0
- package/dist/index81 3.cjs +1 -0
- package/dist/index81 3.mjs +119 -0
- package/dist/index82 2.cjs +1 -0
- package/dist/index82 3.mjs +33 -0
- package/dist/index83 2.cjs +1 -0
- package/dist/index83 3.mjs +249 -0
- package/dist/index84 2.mjs +50 -0
- package/dist/index84 4.cjs +1 -0
- package/dist/index85 2.cjs +1 -0
- package/dist/index85 2.mjs +44 -0
- package/dist/index86 2.mjs +33 -0
- package/dist/index86 3.cjs +1 -0
- package/dist/index87 2.cjs +1 -0
- package/dist/index87 3.mjs +41 -0
- package/dist/index88 2.mjs +39 -0
- package/dist/index88 3.cjs +1 -0
- package/dist/index89 3.cjs +1 -0
- package/dist/index89 3.mjs +26 -0
- package/dist/index9 2.cjs +1 -0
- package/dist/index9 2.mjs +91 -0
- package/dist/index90 2.cjs +1 -0
- package/dist/index90 2.mjs +35 -0
- package/dist/index91 2.cjs +1 -0
- package/dist/index91 2.mjs +99 -0
- package/dist/index92 2.mjs +103 -0
- package/dist/index92 3.cjs +1 -0
- package/dist/index93 2.cjs +1 -0
- package/dist/index93 2.mjs +21 -0
- package/dist/index94 2.cjs +1 -0
- package/dist/index94 2.mjs +55 -0
- package/dist/index95 2.cjs +1 -0
- package/dist/index95 2.mjs +74 -0
- package/dist/index96 2.cjs +97 -0
- package/dist/index96 2.mjs +206 -0
- package/dist/index97 2.mjs +157 -0
- package/dist/index97 3.cjs +1 -0
- package/dist/index98 2.cjs +1 -0
- package/dist/index98 3.mjs +221 -0
- package/dist/index99 2.cjs +1 -0
- package/dist/index99 2.mjs +21 -0
- package/dist/main.d 2.ts +2 -0
- package/dist/main.d.ts 3.map +1 -0
- package/dist/rich.d 2.ts +16 -0
- package/dist/rich.d.ts 2.map +1 -0
- package/dist/sections/index.d 2.ts +29 -0
- package/dist/sections/index.d.ts 2.map +1 -0
- package/dist/styles/marker 3.css +1 -0
- package/dist/styles 2.css +9055 -0
- package/dist/templates/index.d 2.ts +1 -0
- package/dist/test/a11y.d 3.ts +8 -0
- package/dist/test/a11y.d.ts 3.map +1 -0
- package/dist/test/performance.bench.d 3.ts +11 -0
- package/dist/test/performance.bench.d.ts 3.map +1 -0
- package/dist/test/setup.d 3.ts +2 -0
- package/dist/test/setup.d.ts 3.map +1 -0
- package/dist/theme 2.css +8871 -0
- package/dist/tokens/brands.d 3.ts +5 -0
- package/dist/tokens/brands.d.ts 3.map +1 -0
- package/dist/tokens/index.d 3.ts +11 -0
- package/dist/tokens/index.d.ts 3.map +1 -0
- package/dist/tokens/primitives.d 3.ts +5 -0
- package/dist/tokens/primitives.d.ts 3.map +1 -0
- package/dist/tokens/themes.d 3.ts +9 -0
- package/dist/tokens/themes.d.ts 3.map +1 -0
- package/dist/tokens/types.d 3.ts +365 -0
- package/dist/tokens/types.d.ts 3.map +1 -0
- package/dist/tokens/utils.d 3.ts +42 -0
- package/dist/tokens/utils.d.ts 3.map +1 -0
- package/dist/utils/fonts.d 3.ts +46 -0
- package/dist/utils/fonts.d.ts 3.map +1 -0
- package/dist/utils/icons.d 3.ts +61 -0
- package/dist/utils/icons.d.ts 3.map +1 -0
- package/dist/utils/index.d 3.ts +9 -0
- package/dist/utils/index.d.ts 3.map +1 -0
- package/dist/utils/validation.d 3.ts +94 -0
- package/dist/utils/validation.d.ts 3.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/tokens/brands.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,CA2NpC,CAAC;AAEX,eAAO,MAAM,YAAY,EAAE,KAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,SAAS,CAAC;AAGxB,cAAc,cAAc,CAAC;AAG7B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Primitives } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const primitives: Primitives;
|
|
4
|
+
export declare const color: import('./types').ColorPrimitives, typography: import('./types').TypographyPrimitives, spacing: import('./types').SpacingPrimitives, radius: import('./types').RadiusPrimitives, blur: import('./types').BlurPrimitives, icon: import('./types').IconPrimitives;
|
|
5
|
+
//# sourceMappingURL=primitives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/tokens/primitives.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,UA+Of,CAAC;AAGX,eAAO,MAAQ,KAAK,qCAAE,UAAU,0CAAE,OAAO,uCAAE,MAAM,sCAAE,IAAI,oCAAE,IAAI,kCAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ThemeConfig } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const lightTheme: ThemeConfig;
|
|
4
|
+
export declare const darkTheme: ThemeConfig;
|
|
5
|
+
export declare const themes: {
|
|
6
|
+
readonly light: ThemeConfig;
|
|
7
|
+
readonly dark: ThemeConfig;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/tokens/themes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,UAAU,EAAE,WA0Ef,CAAC;AAEX,eAAO,MAAM,SAAS,EAAE,WA0Ed,CAAC;AAEX,eAAO,MAAM,MAAM;;;CAGT,CAAC"}
|
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orion Design System - TypeScript Type Definitions
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated from JSON token files.
|
|
5
|
+
* DO NOT EDIT MANUALLY - Run 'npm run build:tokens' to regenerate.
|
|
6
|
+
*/
|
|
7
|
+
export type ColorShades = {
|
|
8
|
+
"50": string;
|
|
9
|
+
"100": string;
|
|
10
|
+
"200": string;
|
|
11
|
+
"300": string;
|
|
12
|
+
"400": string;
|
|
13
|
+
"500": string;
|
|
14
|
+
"600": string;
|
|
15
|
+
"700": string;
|
|
16
|
+
"800": string;
|
|
17
|
+
"900": string;
|
|
18
|
+
"950": string;
|
|
19
|
+
};
|
|
20
|
+
export interface BrandColors {
|
|
21
|
+
orion: ColorShades;
|
|
22
|
+
deepblue: ColorShades;
|
|
23
|
+
red: ColorShades;
|
|
24
|
+
orange: ColorShades;
|
|
25
|
+
ember: ColorShades;
|
|
26
|
+
lemon: ColorShades;
|
|
27
|
+
}
|
|
28
|
+
export interface NeutralColors {
|
|
29
|
+
0: string;
|
|
30
|
+
50: string;
|
|
31
|
+
100: string;
|
|
32
|
+
200: string;
|
|
33
|
+
300: string;
|
|
34
|
+
400: string;
|
|
35
|
+
500: string;
|
|
36
|
+
600: string;
|
|
37
|
+
700: string;
|
|
38
|
+
800: string;
|
|
39
|
+
900: string;
|
|
40
|
+
950: string;
|
|
41
|
+
1000: string;
|
|
42
|
+
}
|
|
43
|
+
export interface StatusColors {
|
|
44
|
+
500: string;
|
|
45
|
+
}
|
|
46
|
+
export interface ColorPrimitives {
|
|
47
|
+
brand: BrandColors;
|
|
48
|
+
neutral: NeutralColors;
|
|
49
|
+
neutralPure: NeutralColors;
|
|
50
|
+
error: StatusColors;
|
|
51
|
+
success: StatusColors;
|
|
52
|
+
warning: StatusColors;
|
|
53
|
+
info: StatusColors;
|
|
54
|
+
}
|
|
55
|
+
export interface TypographyFamily {
|
|
56
|
+
primary: string;
|
|
57
|
+
secondary: string;
|
|
58
|
+
mono: string;
|
|
59
|
+
}
|
|
60
|
+
export interface TypographyWeight {
|
|
61
|
+
regular: string;
|
|
62
|
+
medium: string;
|
|
63
|
+
bold: string;
|
|
64
|
+
}
|
|
65
|
+
export interface TypographySize {
|
|
66
|
+
10: string;
|
|
67
|
+
11: string;
|
|
68
|
+
12: string;
|
|
69
|
+
13: string;
|
|
70
|
+
14: string;
|
|
71
|
+
16: string;
|
|
72
|
+
18: string;
|
|
73
|
+
20: string;
|
|
74
|
+
24: string;
|
|
75
|
+
32: string;
|
|
76
|
+
48: string;
|
|
77
|
+
64: string;
|
|
78
|
+
80: string;
|
|
79
|
+
96: string;
|
|
80
|
+
}
|
|
81
|
+
export interface TypographyLineHeight {
|
|
82
|
+
none: string;
|
|
83
|
+
tight: string;
|
|
84
|
+
snug: string;
|
|
85
|
+
normal: string;
|
|
86
|
+
relaxed: string;
|
|
87
|
+
loose: string;
|
|
88
|
+
}
|
|
89
|
+
export interface TypographyPrimitives {
|
|
90
|
+
family: TypographyFamily;
|
|
91
|
+
weight: TypographyWeight;
|
|
92
|
+
size: TypographySize;
|
|
93
|
+
lineHeight: TypographyLineHeight;
|
|
94
|
+
}
|
|
95
|
+
export interface SpacingPrimitives {
|
|
96
|
+
0: string;
|
|
97
|
+
px: string;
|
|
98
|
+
"05": string;
|
|
99
|
+
1: string;
|
|
100
|
+
2: string;
|
|
101
|
+
3: string;
|
|
102
|
+
4: string;
|
|
103
|
+
5: string;
|
|
104
|
+
6: string;
|
|
105
|
+
7: string;
|
|
106
|
+
8: string;
|
|
107
|
+
9: string;
|
|
108
|
+
10: string;
|
|
109
|
+
11: string;
|
|
110
|
+
12: string;
|
|
111
|
+
16: string;
|
|
112
|
+
20: string;
|
|
113
|
+
24: string;
|
|
114
|
+
32: string;
|
|
115
|
+
}
|
|
116
|
+
export interface RadiusPrimitives {
|
|
117
|
+
0: string;
|
|
118
|
+
sm: string;
|
|
119
|
+
md: string;
|
|
120
|
+
lg: string;
|
|
121
|
+
"lg-2": string;
|
|
122
|
+
xl: string;
|
|
123
|
+
"2xl": string;
|
|
124
|
+
full: string;
|
|
125
|
+
}
|
|
126
|
+
export interface RadiusScalePrimitives {
|
|
127
|
+
0: string;
|
|
128
|
+
xs: string;
|
|
129
|
+
sm: string;
|
|
130
|
+
md: string;
|
|
131
|
+
lg: string;
|
|
132
|
+
"lg-2": string;
|
|
133
|
+
xl: string;
|
|
134
|
+
"2xl": string;
|
|
135
|
+
full: string;
|
|
136
|
+
}
|
|
137
|
+
export interface BlurPrimitives {
|
|
138
|
+
sm: string;
|
|
139
|
+
md: string;
|
|
140
|
+
lg: string;
|
|
141
|
+
xl: string;
|
|
142
|
+
}
|
|
143
|
+
export interface IconPrimitives {
|
|
144
|
+
library: string;
|
|
145
|
+
cdn: string;
|
|
146
|
+
size: {
|
|
147
|
+
sm: string;
|
|
148
|
+
md: string;
|
|
149
|
+
lg: string;
|
|
150
|
+
xl: string;
|
|
151
|
+
};
|
|
152
|
+
stroke: string;
|
|
153
|
+
}
|
|
154
|
+
export interface ZIndexPrimitives {
|
|
155
|
+
base: string;
|
|
156
|
+
dropdown: string;
|
|
157
|
+
sticky: string;
|
|
158
|
+
overlay: string;
|
|
159
|
+
modal: string;
|
|
160
|
+
popover: string;
|
|
161
|
+
tooltip: string;
|
|
162
|
+
toast: string;
|
|
163
|
+
}
|
|
164
|
+
export interface TransitionPrimitives {
|
|
165
|
+
fast: string;
|
|
166
|
+
normal: string;
|
|
167
|
+
slow: string;
|
|
168
|
+
}
|
|
169
|
+
export interface Primitives {
|
|
170
|
+
project?: {
|
|
171
|
+
name: string;
|
|
172
|
+
description: string;
|
|
173
|
+
};
|
|
174
|
+
color: ColorPrimitives;
|
|
175
|
+
typography: TypographyPrimitives;
|
|
176
|
+
spacing: SpacingPrimitives;
|
|
177
|
+
radius: RadiusPrimitives;
|
|
178
|
+
radiusScale: RadiusScalePrimitives;
|
|
179
|
+
blur: BlurPrimitives;
|
|
180
|
+
zIndex: ZIndexPrimitives;
|
|
181
|
+
transition: TransitionPrimitives;
|
|
182
|
+
icon: IconPrimitives;
|
|
183
|
+
}
|
|
184
|
+
export interface SurfaceSemantics {
|
|
185
|
+
base: string;
|
|
186
|
+
subtle: string;
|
|
187
|
+
layer: string;
|
|
188
|
+
primary: string;
|
|
189
|
+
secondary: string;
|
|
190
|
+
glass: string;
|
|
191
|
+
sunken: string;
|
|
192
|
+
overlay: string;
|
|
193
|
+
}
|
|
194
|
+
export interface TextSemantics {
|
|
195
|
+
primary: string;
|
|
196
|
+
secondary: string;
|
|
197
|
+
tertiary: string;
|
|
198
|
+
inverse: string;
|
|
199
|
+
brand: string;
|
|
200
|
+
"on-brand"?: {
|
|
201
|
+
primary: string;
|
|
202
|
+
secondary: string;
|
|
203
|
+
tertiary: string;
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
export interface BorderSemantics {
|
|
207
|
+
subtle: string;
|
|
208
|
+
strong: string;
|
|
209
|
+
interactive: string;
|
|
210
|
+
}
|
|
211
|
+
export interface InteractivePrimarySemantics {
|
|
212
|
+
default: string;
|
|
213
|
+
hover: string;
|
|
214
|
+
text: string;
|
|
215
|
+
}
|
|
216
|
+
export interface InteractiveSecondarySemantics {
|
|
217
|
+
default: string;
|
|
218
|
+
hover: string;
|
|
219
|
+
text: string;
|
|
220
|
+
}
|
|
221
|
+
export interface InteractiveGhostSemantics {
|
|
222
|
+
hover: string;
|
|
223
|
+
}
|
|
224
|
+
export interface InteractiveSemantics {
|
|
225
|
+
primary: InteractivePrimarySemantics;
|
|
226
|
+
secondary: InteractiveSecondarySemantics;
|
|
227
|
+
ghost: InteractiveGhostSemantics;
|
|
228
|
+
}
|
|
229
|
+
export interface StatusSemantics {
|
|
230
|
+
error: string;
|
|
231
|
+
success: string;
|
|
232
|
+
warning: string;
|
|
233
|
+
info: string;
|
|
234
|
+
}
|
|
235
|
+
export interface SoftSemantics {
|
|
236
|
+
brand: string;
|
|
237
|
+
"brand-hover": string;
|
|
238
|
+
success: string;
|
|
239
|
+
"success-hover"?: string;
|
|
240
|
+
error: string;
|
|
241
|
+
"error-hover"?: string;
|
|
242
|
+
warning?: string;
|
|
243
|
+
"warning-hover"?: string;
|
|
244
|
+
info?: string;
|
|
245
|
+
"info-hover"?: string;
|
|
246
|
+
}
|
|
247
|
+
export interface SemanticTokens {
|
|
248
|
+
surface: SurfaceSemantics;
|
|
249
|
+
text: TextSemantics;
|
|
250
|
+
border: BorderSemantics;
|
|
251
|
+
interactive: InteractiveSemantics;
|
|
252
|
+
status: StatusSemantics;
|
|
253
|
+
soft: SoftSemantics;
|
|
254
|
+
focus?: {
|
|
255
|
+
ring: string;
|
|
256
|
+
};
|
|
257
|
+
gradient?: {
|
|
258
|
+
start: string;
|
|
259
|
+
end: string;
|
|
260
|
+
};
|
|
261
|
+
chart?: {
|
|
262
|
+
[key: string]: string;
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
export type Theme = "light" | "dark";
|
|
266
|
+
export type Brand = "orion" | "deepblue" | "red" | "orange" | "ember" | "lemon";
|
|
267
|
+
export interface ThemeConfig {
|
|
268
|
+
theme: Theme;
|
|
269
|
+
semantic: SemanticTokens;
|
|
270
|
+
}
|
|
271
|
+
export interface BrandConfig {
|
|
272
|
+
name: string;
|
|
273
|
+
description?: string;
|
|
274
|
+
accent: {
|
|
275
|
+
primary: string;
|
|
276
|
+
light: string;
|
|
277
|
+
dark: string;
|
|
278
|
+
};
|
|
279
|
+
typography: {
|
|
280
|
+
primary: string;
|
|
281
|
+
secondary: string;
|
|
282
|
+
mono: string;
|
|
283
|
+
};
|
|
284
|
+
geometry: {
|
|
285
|
+
radiusControl: string;
|
|
286
|
+
radiusContainer: string;
|
|
287
|
+
buttonStyle: string;
|
|
288
|
+
};
|
|
289
|
+
semantic: {
|
|
290
|
+
light: {
|
|
291
|
+
interactivePrimary: string;
|
|
292
|
+
interactivePrimaryHover: string;
|
|
293
|
+
interactivePrimaryText: string;
|
|
294
|
+
};
|
|
295
|
+
dark: {
|
|
296
|
+
interactivePrimary: string;
|
|
297
|
+
interactivePrimaryHover: string;
|
|
298
|
+
interactivePrimaryText: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
usage: {
|
|
302
|
+
html: string | null;
|
|
303
|
+
css: string;
|
|
304
|
+
attribute: string | null;
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
export type ColorTokenPath = `color.brand.${Brand}.${keyof ColorShades}` | `color.neutral.${keyof NeutralColors}` | `color.neutralPure.${keyof NeutralColors}` | "color.error.500" | "color.success.500" | "color.warning.500" | "color.info.500";
|
|
308
|
+
export type TypographyTokenPath = `typography.family.${keyof TypographyFamily}` | `typography.weight.${keyof TypographyWeight}` | `typography.size.${keyof TypographySize}` | `typography.lineHeight.${keyof TypographyLineHeight}`;
|
|
309
|
+
export type SpacingTokenPath = `spacing.${keyof SpacingPrimitives}`;
|
|
310
|
+
export type RadiusTokenPath = `radius.${keyof RadiusPrimitives}`;
|
|
311
|
+
export type BlurTokenPath = `blur.${keyof BlurPrimitives}`;
|
|
312
|
+
export type TokenPath = ColorTokenPath | TypographyTokenPath | SpacingTokenPath | RadiusTokenPath | BlurTokenPath;
|
|
313
|
+
export type SemanticTokenPath = `surface.${keyof SurfaceSemantics}` | `text.${keyof TextSemantics}` | `border.${keyof BorderSemantics}` | `interactive.primary.${keyof InteractivePrimarySemantics}` | `interactive.secondary.${keyof InteractiveSecondarySemantics}` | `interactive.ghost.${keyof InteractiveGhostSemantics}` | `status.${keyof StatusSemantics}` | `soft.${keyof SoftSemantics}`;
|
|
314
|
+
export type CSSVariableName = `--${string}`;
|
|
315
|
+
export interface CSSVariableMap {
|
|
316
|
+
"--surface-base": string;
|
|
317
|
+
"--surface-subtle": string;
|
|
318
|
+
"--surface-layer": string;
|
|
319
|
+
"--surface-primary": string;
|
|
320
|
+
"--surface-secondary": string;
|
|
321
|
+
"--surface-glass": string;
|
|
322
|
+
"--surface-sunken": string;
|
|
323
|
+
"--surface-overlay": string;
|
|
324
|
+
"--text-primary": string;
|
|
325
|
+
"--text-secondary": string;
|
|
326
|
+
"--text-tertiary": string;
|
|
327
|
+
"--text-inverse": string;
|
|
328
|
+
"--text-brand": string;
|
|
329
|
+
"--interactive-primary": string;
|
|
330
|
+
"--interactive-primary-hover": string;
|
|
331
|
+
"--interactive-primary-text": string;
|
|
332
|
+
"--interactive-secondary": string;
|
|
333
|
+
"--interactive-secondary-hover": string;
|
|
334
|
+
"--interactive-secondary-text": string;
|
|
335
|
+
"--interactive-ghost-hover": string;
|
|
336
|
+
"--status-error": string;
|
|
337
|
+
"--status-success": string;
|
|
338
|
+
"--status-warning": string;
|
|
339
|
+
"--status-info": string;
|
|
340
|
+
"--border-subtle": string;
|
|
341
|
+
"--border-strong": string;
|
|
342
|
+
"--border-interactive": string;
|
|
343
|
+
"--spacing-0": string;
|
|
344
|
+
"--spacing-px": string;
|
|
345
|
+
"--spacing-1": string;
|
|
346
|
+
"--spacing-2": string;
|
|
347
|
+
"--spacing-3": string;
|
|
348
|
+
"--spacing-4": string;
|
|
349
|
+
"--spacing-6": string;
|
|
350
|
+
"--spacing-8": string;
|
|
351
|
+
"--spacing-16": string;
|
|
352
|
+
"--spacing-32": string;
|
|
353
|
+
"--radius-sm": string;
|
|
354
|
+
"--radius-md": string;
|
|
355
|
+
"--radius-lg": string;
|
|
356
|
+
"--radius-xl": string;
|
|
357
|
+
"--radius-2xl": string;
|
|
358
|
+
"--radius-full": string;
|
|
359
|
+
"--radius-control": string;
|
|
360
|
+
}
|
|
361
|
+
/** Get nested property type from dot notation path */
|
|
362
|
+
export type GetTokenValue<T, Path extends string> = Path extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? GetTokenValue<T[Key], Rest> : never : Path extends keyof T ? T[Path] : never;
|
|
363
|
+
/** Type-safe token getter */
|
|
364
|
+
export type TokenValue<P extends TokenPath> = GetTokenValue<Primitives, P>;
|
|
365
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/tokens/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,WAAW,CAAC;IACtB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,EAAE,MAAM,CAAC;CAC5B;AAMD,sDAAsD;AACtD,MAAM,MAAM,aAAa,CACvB,CAAC,EACD,IAAI,SAAS,MAAM,IACjB,IAAI,SAAS,GAAG,MAAM,GAAG,IAAI,MAAM,IAAI,EAAE,GACzC,GAAG,SAAS,MAAM,CAAC,GACjB,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,SAAS,MAAM,CAAC,GAClB,CAAC,CAAC,IAAI,CAAC,GACP,KAAK,CAAC;AAEZ,6BAA6B;AAC7B,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,SAAS,IAAI,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Theme, Brand, TokenPath, SemanticTokenPath } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Get a primitive token value by path
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* getToken('color.brand.orion.500') // "#1B5BFF"
|
|
8
|
+
* getToken('spacing.4') // "16px"
|
|
9
|
+
*/
|
|
10
|
+
export declare function getToken(path: TokenPath): string;
|
|
11
|
+
/**
|
|
12
|
+
* Get a semantic token value by theme and path
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* getSemanticToken('light', 'surface.base') // "#ffffff"
|
|
16
|
+
* getSemanticToken('dark', 'text.primary') // "#ffffff"
|
|
17
|
+
*/
|
|
18
|
+
export declare function getSemanticToken(theme: Theme, path: SemanticTokenPath): string;
|
|
19
|
+
/**
|
|
20
|
+
* Get brand configuration
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* getBrand('orion') // { name: 'orion', accentColor: '#1B5BFF', ... }
|
|
24
|
+
*/
|
|
25
|
+
export declare function getBrand(brand: Brand): import('./types').BrandConfig;
|
|
26
|
+
/**
|
|
27
|
+
* Generate CSS variable name from semantic path
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* toCSSVariable('surface.base') // "--surface-base"
|
|
31
|
+
* toCSSVariable('text.primary') // "--text-primary"
|
|
32
|
+
*/
|
|
33
|
+
export declare function toCSSVariable(path: SemanticTokenPath): string;
|
|
34
|
+
/**
|
|
35
|
+
* Type guard for valid theme
|
|
36
|
+
*/
|
|
37
|
+
export declare function isValidTheme(value: string): value is Theme;
|
|
38
|
+
/**
|
|
39
|
+
* Type guard for valid brand
|
|
40
|
+
*/
|
|
41
|
+
export declare function isValidBrand(value: string): value is Brand;
|
|
42
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/tokens/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAK1E;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAYhD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,iBAAiB,GACtB,MAAM,CAwBR;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,iCAEpC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAE7D;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAE1D;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAE1D"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Brand } from '../hooks/useTheme';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Font families used by each brand
|
|
5
|
+
*/
|
|
6
|
+
export declare const BRAND_FONTS: Record<Brand, string[]>;
|
|
7
|
+
/**
|
|
8
|
+
* All unique font families used across all brands
|
|
9
|
+
*/
|
|
10
|
+
export declare const ALL_FONTS: readonly ["Libre Baskerville", "DM Sans", "Inter", "JetBrains Mono", "Work Sans", "Poppins", "Anton"];
|
|
11
|
+
/**
|
|
12
|
+
* Google Fonts URL with all fonts needed for all brands
|
|
13
|
+
*
|
|
14
|
+
* Add this to your HTML <head>:
|
|
15
|
+
* ```html
|
|
16
|
+
* <link rel="preconnect" href="https://fonts.googleapis.com">
|
|
17
|
+
* <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
18
|
+
* <link href="https://fonts.googleapis.com/css2?family=..." rel="stylesheet">
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const GOOGLE_FONTS_URL: string;
|
|
22
|
+
/**
|
|
23
|
+
* Preconnect URLs for faster font loading
|
|
24
|
+
*/
|
|
25
|
+
export declare const FONT_PRECONNECT_URLS: readonly ["https://fonts.googleapis.com", "https://fonts.gstatic.com"];
|
|
26
|
+
/**
|
|
27
|
+
* Check if a font is loaded in the document
|
|
28
|
+
*/
|
|
29
|
+
export declare function isFontLoaded(fontFamily: string): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Check if all fonts for a brand are loaded
|
|
32
|
+
*/
|
|
33
|
+
export declare function areBrandFontsLoaded(brand: Brand): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Get missing fonts for a brand
|
|
36
|
+
*/
|
|
37
|
+
export declare function getMissingFonts(brand: Brand): string[];
|
|
38
|
+
/**
|
|
39
|
+
* Wait for fonts to be loaded
|
|
40
|
+
*/
|
|
41
|
+
export declare function waitForFonts(fonts: string[]): Promise<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Generate the HTML link tags for Google Fonts
|
|
44
|
+
*/
|
|
45
|
+
export declare function getFontLinkTags(): string;
|
|
46
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/utils/fonts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAO/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,uGAQZ,CAAC;AAEX;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,QASb,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,oBAAoB,wEAGvB,CAAC;AAEX;;GAEG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CASxD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAGzD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE,CAGtD;AAED;;GAEG;AACH,wBAAsB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAWpE;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAIxC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Menu, X, ChevronDown, ChevronUp, ChevronLeft, ChevronRight, ArrowDown, ArrowUp, ArrowLeft, ArrowRight, Search, Home, Settings, Bell, User, LogOut, LogIn, Plus, Minus, Check, Copy, Download, Upload, Share2, Trash2, Edit, Eye, EyeOff, AlertCircle, CheckCircle, XCircle, Info, HelpCircle, Image, Video, Music, FileText, File, Mail, MessageSquare, Heart, Star, ShoppingCart, DollarSign, CreditCard } from 'lucide-react';
|
|
2
|
+
|
|
3
|
+
export * from 'lucide-react';
|
|
4
|
+
export { Menu, X, ChevronDown, ChevronUp, ChevronLeft, ChevronRight, ArrowDown, ArrowUp, ArrowLeft, ArrowRight, Search, Home, Settings, Bell, User, LogOut, LogIn, Plus, Minus, Check, Copy, Download, Upload, Share2, Trash2, Edit, Eye, EyeOff, AlertCircle, CheckCircle, XCircle, Info, HelpCircle, Image, Video, Music, FileText, File, Mail, MessageSquare, Heart, Star, ShoppingCart, DollarSign, CreditCard, };
|
|
5
|
+
/**
|
|
6
|
+
* Icon object with pre-imported commonly used icons
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { Icons } from '@orion/react';
|
|
11
|
+
* <Button icon={<Icons.Search />} />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const Icons: {
|
|
15
|
+
Menu: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
16
|
+
X: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
|
+
ChevronDown: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
18
|
+
ChevronUp: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
19
|
+
ChevronLeft: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
|
+
ChevronRight: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
|
+
ArrowDown: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
22
|
+
ArrowUp: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
23
|
+
ArrowLeft: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
24
|
+
ArrowRight: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
25
|
+
Search: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
26
|
+
Home: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
27
|
+
Settings: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
28
|
+
Bell: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
29
|
+
User: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
30
|
+
LogOut: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
31
|
+
LogIn: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
32
|
+
Plus: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
33
|
+
Minus: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
34
|
+
Check: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
35
|
+
Copy: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
36
|
+
Download: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
37
|
+
Upload: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
38
|
+
Share2: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
39
|
+
Trash2: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
40
|
+
Edit: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
41
|
+
Eye: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
42
|
+
EyeOff: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
43
|
+
AlertCircle: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
44
|
+
CheckCircle: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
45
|
+
XCircle: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
46
|
+
Info: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
47
|
+
HelpCircle: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
48
|
+
Image: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
49
|
+
Video: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
50
|
+
Music: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
51
|
+
FileText: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
52
|
+
File: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
53
|
+
Mail: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
54
|
+
MessageSquare: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
55
|
+
Heart: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
56
|
+
Star: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
57
|
+
ShoppingCart: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
58
|
+
DollarSign: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
59
|
+
CreditCard: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/utils/icons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,E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 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orion React Utilities
|
|
3
|
+
*
|
|
4
|
+
* Utility functions and helpers for using Orion components.
|
|
5
|
+
*/
|
|
6
|
+
export * from './icons';
|
|
7
|
+
export { BRAND_FONTS, ALL_FONTS, GOOGLE_FONTS_URL, FONT_PRECONNECT_URLS, isFontLoaded, areBrandFontsLoaded, getMissingFonts, waitForFonts, getFontLinkTags, } from './fonts';
|
|
8
|
+
export { warnMissingAriaLabel, warnBrandProp, warnThemeProp, warnGlassVariant, warnHardcodedColors, warnFieldChildren, warnUsePrebuiltSection, } from './validation';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAC;AAGxB,OAAO,EACL,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,eAAe,GAChB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,cAAc,CAAC"}
|