@gradient-ui/core 0.8.0 → 2.0.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/LICENSE +21 -0
- package/README.md +60 -261
- package/dist/BaseOverlay-DgBWbJbs.cjs +1 -0
- package/dist/BaseOverlay-DzJ37TCS.js +216 -0
- package/dist/GAvatar-CN3PHGY_.js +202 -0
- package/dist/GAvatar-Dj6hSgL3.cjs +1 -0
- package/dist/GButton.vue_vue_type_style_index_0_lang-D9qRus1m.js +141 -0
- package/dist/GButton.vue_vue_type_style_index_0_lang-tGLnt3_R.cjs +1 -0
- package/dist/GCheckGroup-B3gZ9p6e.cjs +1 -0
- package/dist/GCheckGroup-DDkxtEj2.js +132 -0
- package/dist/GCheckIndicator-C-adGOcb.cjs +1 -0
- package/dist/GCheckIndicator-yvipPkWi.js +264 -0
- package/dist/GCheckbox.vue_vue_type_script_setup_true_lang-BrQE29bm.js +68 -0
- package/dist/GCheckbox.vue_vue_type_script_setup_true_lang-hjvutORC.cjs +1 -0
- package/dist/GCheckboxGroup.vue_vue_type_script_setup_true_lang-ChPcOQYQ.js +143 -0
- package/dist/GCheckboxGroup.vue_vue_type_script_setup_true_lang-CjPc-fNv.cjs +1 -0
- package/dist/GDropdown-CmBNk0jK.cjs +1 -0
- package/dist/GDropdown-TVH93Obq.js +126 -0
- package/dist/GExpandTransition.vue_vue_type_script_setup_true_lang-Ccl2Cemo.cjs +1 -0
- package/dist/GExpandTransition.vue_vue_type_script_setup_true_lang-ztMeJVQO.js +170 -0
- package/dist/GForm.vue_vue_type_style_index_0_lang-BzOWdjzk.cjs +1 -0
- package/dist/GForm.vue_vue_type_style_index_0_lang-DpPM5snQ.js +149 -0
- package/dist/GGradientMaterial.vue_vue_type_style_index_0_lang-ChRL7BIo.js +119 -0
- package/dist/GGradientMaterial.vue_vue_type_style_index_0_lang-DJcGdEVi.cjs +1 -0
- package/dist/GInput.vue_vue_type_script_setup_true_lang-BHM4W0S8.js +143 -0
- package/dist/GInput.vue_vue_type_script_setup_true_lang-dMjIUhb1.cjs +1 -0
- package/dist/GLoading.vue_vue_type_style_index_0_lang-BNOsRA0v.js +97 -0
- package/dist/GLoading.vue_vue_type_style_index_0_lang-KmMjjwpE.cjs +1 -0
- package/dist/GRadio.vue_vue_type_script_setup_true_lang-DNRTDtF2.cjs +1 -0
- package/dist/GRadio.vue_vue_type_script_setup_true_lang-kE-52Aj1.js +182 -0
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-BZXxiyLT.js +68 -0
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-DC8vyW7e.cjs +1 -0
- package/dist/GTable.vue_vue_type_style_index_1_lang-BECleEMi.js +828 -0
- package/dist/GTable.vue_vue_type_style_index_1_lang-DgaYCTxJ.cjs +1 -0
- package/dist/GTextarea.vue_vue_type_script_setup_true_lang-CyuCJwv6.cjs +1 -0
- package/dist/GTextarea.vue_vue_type_script_setup_true_lang-zSTso23Z.js +84 -0
- package/dist/GTransition.vue_vue_type_script_setup_true_lang-CHGSgsZ0.js +143 -0
- package/dist/GTransition.vue_vue_type_script_setup_true_lang-CgELPmMA.cjs +1 -0
- package/dist/GTransitionGroup.vue_vue_type_script_setup_true_lang-CDu6W6-X.js +23 -0
- package/dist/GTransitionGroup.vue_vue_type_script_setup_true_lang-DDh0rXP7.cjs +1 -0
- package/dist/PLA-B2QljfgE.cjs +1 -0
- package/dist/PLA-DePtRzKl.js +10 -0
- package/dist/_plugin-vue_export-helper-B--vMWp3.js +9 -0
- package/dist/_plugin-vue_export-helper-D_jf5u0r.cjs +1 -0
- package/dist/actionSurface-BkFPXb-Z.js +123 -0
- package/dist/actionSurface-Db2TksPm.cjs +1 -0
- package/dist/appScopedState-BCzeQW7Y.js +15 -0
- package/dist/appScopedState-D0zgOLf5.cjs +1 -0
- package/dist/booleanControl-BrOrGYvg.js +71 -0
- package/dist/booleanControl-uPXEckMZ.cjs +1 -0
- package/dist/camelToKebabCase-BFm1Zwmu.cjs +1 -0
- package/dist/camelToKebabCase-nw6sbguT.js +6 -0
- package/dist/clientLifecycle-DlIZRy4I.cjs +1 -0
- package/dist/clientLifecycle-NZQzL_eH.js +12 -0
- package/dist/color-8SkPDCIp.cjs +1 -0
- package/dist/color-WJmhRKJ_.js +26 -0
- package/dist/colorResolver-BBj51UAZ.js +90 -0
- package/dist/colorResolver-C6PTz0S8.cjs +1 -0
- package/dist/component-names.cjs +1 -0
- package/dist/component-names.mjs +79 -0
- package/dist/components/BaseOverlay.cjs +1 -0
- package/dist/components/BaseOverlay.mjs +5 -0
- package/dist/components/GAlert.cjs +1 -0
- package/dist/components/GAlert.mjs +126 -0
- package/dist/components/GAside.cjs +1 -0
- package/dist/components/GAside.mjs +90 -0
- package/dist/components/GAsideGroup.cjs +1 -0
- package/dist/components/GAsideGroup.mjs +99 -0
- package/dist/components/GAsideItem.cjs +1 -0
- package/dist/components/GAsideItem.mjs +123 -0
- package/dist/components/GAvatar.cjs +1 -0
- package/dist/components/GAvatar.mjs +5 -0
- package/dist/components/GAvatarGroup.cjs +1 -0
- package/dist/components/GAvatarGroup.mjs +66 -0
- package/dist/components/GBadge.cjs +1 -0
- package/dist/components/GBadge.mjs +141 -0
- package/dist/components/GButton.cjs +1 -0
- package/dist/components/GButton.mjs +4 -0
- package/dist/components/GCard.cjs +1 -0
- package/dist/components/GCard.mjs +235 -0
- package/dist/components/GCheckbox.cjs +1 -0
- package/dist/components/GCheckbox.mjs +4 -0
- package/dist/components/GCheckboxGroup.cjs +1 -0
- package/dist/components/GCheckboxGroup.mjs +4 -0
- package/dist/components/GChip.cjs +1 -0
- package/dist/components/GChip.mjs +133 -0
- package/dist/components/GCombobox.cjs +1 -0
- package/dist/components/GCombobox.mjs +477 -0
- package/dist/components/GDivider.cjs +1 -0
- package/dist/components/GDivider.mjs +189 -0
- package/dist/components/GDrawer.cjs +1 -0
- package/dist/components/GDrawer.mjs +151 -0
- package/dist/components/GDropdownGroup.cjs +1 -0
- package/dist/components/GDropdownGroup.mjs +24 -0
- package/dist/components/GExpandTransition.cjs +1 -0
- package/dist/components/GExpandTransition.mjs +4 -0
- package/dist/components/GExpansion.cjs +1 -0
- package/dist/components/GExpansion.mjs +321 -0
- package/dist/components/GExpansionGroup.cjs +1 -0
- package/dist/components/GExpansionGroup.mjs +95 -0
- package/dist/components/GFAB.cjs +1 -0
- package/dist/components/GFAB.mjs +142 -0
- package/dist/components/GForm.cjs +1 -0
- package/dist/components/GForm.mjs +4 -0
- package/dist/components/GGradient.cjs +1 -0
- package/dist/components/GGradient.mjs +158 -0
- package/dist/components/GGradientMaterial.cjs +1 -0
- package/dist/components/GGradientMaterial.mjs +4 -0
- package/dist/components/GIcon.cjs +1 -0
- package/dist/components/GIcon.mjs +35 -0
- package/dist/components/GImg.cjs +1 -0
- package/dist/components/GImg.mjs +167 -0
- package/dist/components/GInput.cjs +1 -0
- package/dist/components/GInput.mjs +4 -0
- package/dist/components/GLoading.cjs +1 -0
- package/dist/components/GLoading.mjs +4 -0
- package/dist/components/GMenu.cjs +1 -0
- package/dist/components/GMenu.mjs +274 -0
- package/dist/components/GModal.cjs +1 -0
- package/dist/components/GModal.mjs +141 -0
- package/dist/components/GNavGroup.cjs +1 -0
- package/dist/components/GNavGroup.mjs +99 -0
- package/dist/components/GNavItem.cjs +1 -0
- package/dist/components/GNavItem.mjs +124 -0
- package/dist/components/GNavList.cjs +1 -0
- package/dist/components/GNavList.mjs +82 -0
- package/dist/components/GNavbar.cjs +1 -0
- package/dist/components/GNavbar.mjs +172 -0
- package/dist/components/GNavbarItem.cjs +1 -0
- package/dist/components/GNavbarItem.mjs +120 -0
- package/dist/components/GNavbarMenu.cjs +1 -0
- package/dist/components/GNavbarMenu.mjs +147 -0
- package/dist/components/GNavbarSubItem.cjs +1 -0
- package/dist/components/GNavbarSubItem.mjs +96 -0
- package/dist/components/GProgress.cjs +1 -0
- package/dist/components/GProgress.mjs +135 -0
- package/dist/components/GQuickActions.cjs +1 -0
- package/dist/components/GQuickActions.mjs +157 -0
- package/dist/components/GRadio.cjs +1 -0
- package/dist/components/GRadio.mjs +4 -0
- package/dist/components/GSelect.cjs +1 -0
- package/dist/components/GSelect.mjs +145 -0
- package/dist/components/GSnackbar.cjs +1 -0
- package/dist/components/GSnackbar.mjs +285 -0
- package/dist/components/GSquircle.cjs +1 -0
- package/dist/components/GSquircle.mjs +180 -0
- package/dist/components/GStepPanel.cjs +1 -0
- package/dist/components/GStepPanel.mjs +156 -0
- package/dist/components/GStepper.cjs +1 -0
- package/dist/components/GStepper.mjs +335 -0
- package/dist/components/GStepperActions.cjs +1 -0
- package/dist/components/GStepperActions.mjs +61 -0
- package/dist/components/GSwitch.cjs +1 -0
- package/dist/components/GSwitch.mjs +4 -0
- package/dist/components/GTab.cjs +1 -0
- package/dist/components/GTab.mjs +105 -0
- package/dist/components/GTabList.cjs +1 -0
- package/dist/components/GTabList.mjs +28 -0
- package/dist/components/GTabPanel.cjs +1 -0
- package/dist/components/GTabPanel.mjs +35 -0
- package/dist/components/GTabPanels.cjs +1 -0
- package/dist/components/GTabPanels.mjs +24 -0
- package/dist/components/GTable.cjs +1 -0
- package/dist/components/GTable.mjs +4 -0
- package/dist/components/GTabs.cjs +1 -0
- package/dist/components/GTabs.mjs +73 -0
- package/dist/components/GText.cjs +1 -0
- package/dist/components/GText.mjs +59 -0
- package/dist/components/GTextarea.cjs +1 -0
- package/dist/components/GTextarea.mjs +4 -0
- package/dist/components/GTooltip.cjs +1 -0
- package/dist/components/GTooltip.mjs +65 -0
- package/dist/components/GTransition.cjs +1 -0
- package/dist/components/GTransition.mjs +4 -0
- package/dist/components/GTransitionGroup.cjs +1 -0
- package/dist/components/GTransitionGroup.mjs +4 -0
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +135 -78
- package/dist/context-D_uVf3Ih.cjs +1 -0
- package/dist/context-DmyyyTi-.js +164 -0
- package/dist/context-FLWxn0X1.js +8 -0
- package/dist/context-obVnJalQ.cjs +1 -0
- package/dist/control-B3T1H83D.js +53 -0
- package/dist/control-C5Ws5lp3.cjs +1 -0
- package/dist/controller-DTFaTta0.cjs +1 -0
- package/dist/controller-Dk9Wd1Sr.js +101 -0
- package/dist/createComponentId-CK5eUecc.cjs +1 -0
- package/dist/createComponentId-CrqdDHC3.js +5 -0
- package/dist/createId-t3ke7cZx.js +5 -0
- package/dist/createId-tM8qn_N_.cjs +1 -0
- package/dist/cssTokens-CR4OxIND.js +75 -0
- package/dist/cssTokens-gELrmYNj.cjs +5 -0
- package/dist/defaults-DJ6ZV1Qc.js +51 -0
- package/dist/defaults-aVtmQF-9.cjs +1 -0
- package/dist/density-C3E1eUQ3.cjs +1 -0
- package/dist/density-Ci15Ek7T.js +15 -0
- package/dist/di-BXJSJc_E.js +12 -0
- package/dist/di-Czemfti1.cjs +1 -0
- package/dist/directives.cjs +1 -1
- package/dist/directives.mjs +8 -8
- package/dist/disabled-B_bAKgaM.cjs +1 -0
- package/dist/disabled-CAV056h6.js +12 -0
- package/dist/environment-Dr5kpq3D.cjs +1 -0
- package/dist/environment-o0e-UUbv.js +13 -0
- package/dist/fieldControl-BgVt1Hh1.js +144 -0
- package/dist/fieldControl-CIJMnu2j.cjs +1 -0
- package/dist/floatingTrigger-B_K4a4Fz.cjs +1 -0
- package/dist/floatingTrigger-CyvZ-aQ6.js +275 -0
- package/dist/glass-CJjbKWWO.js +20 -0
- package/dist/glass-CZEblMo2.cjs +1 -0
- package/dist/gradient-Bf_C3oqp.cjs +1 -0
- package/dist/gradient-Cesrzb2-.js +138 -0
- package/dist/gradientMaterial-BEhJP5b1.js +141 -0
- package/dist/gradientMaterial-DrttA9E_.cjs +1 -0
- package/dist/groupContext-C2lbjfsf.cjs +1 -0
- package/dist/groupContext-CBceOY6B.js +14 -0
- package/dist/groupContext-DU6dxh4q.cjs +1 -0
- package/dist/groupContext-vS5bHonI.js +14 -0
- package/dist/head-BMx6G1g4.js +45 -0
- package/dist/head-u-LV2RM9.cjs +2 -0
- package/dist/icon-C1AhpC8p.js +66 -0
- package/dist/icon-DgrRDU9A.cjs +1 -0
- package/dist/id-Cjq3OT0R.js +5 -0
- package/dist/id-EYQallpf.cjs +1 -0
- package/dist/index-71vxBpir.js +53 -0
- package/dist/index-8uDgLBTF.cjs +1 -0
- package/dist/index-BDHATTpo.js +141 -0
- package/dist/index-DQ6stZ3U.js +97 -0
- package/dist/index-Dd_8Hfjk.cjs +1 -0
- package/dist/index-YvJ0cd3f.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +315 -224
- package/dist/item-BiO-0FYg.cjs +1 -0
- package/dist/item-Cm_rJTEH.js +47 -0
- package/dist/layerStack-Bn2nFt2F.cjs +1 -0
- package/dist/layerStack-C926It64.js +86 -0
- package/dist/mask-BGVqqZXk.cjs +1 -0
- package/dist/mask-D4VYR8fo.js +541 -0
- package/dist/material-CkThdnz0.cjs +1 -0
- package/dist/material-Cn0l9r_y.js +182 -0
- package/dist/materialSurface-BZWqxSOo.cjs +1 -0
- package/dist/materialSurface-DKWanYUC.js +57 -0
- package/dist/menuContext-COshJAv-.js +14 -0
- package/dist/menuContext-DqTLm_y8.cjs +1 -0
- package/dist/mount-CqN_WfIk.js +58 -0
- package/dist/mount-qFaEMFZj.cjs +1 -0
- package/dist/palette-CH8mtBoc.js +3779 -0
- package/dist/palette-WOebHg01.cjs +316 -0
- package/dist/plugin.cjs +1 -0
- package/dist/plugin.mjs +24 -0
- package/dist/propsFactory-DT6-QS4L.cjs +1 -0
- package/dist/propsFactory-FM5RGbLN.js +13 -0
- package/dist/px-B-cyF02Z.js +8 -0
- package/dist/px-CVkec5Jf.cjs +1 -0
- package/dist/rounded-BneJO7vz.cjs +1 -0
- package/dist/rounded-CKhFFdmx.js +12 -0
- package/dist/routerLink-BhTEISct.cjs +1 -0
- package/dist/routerLink-p0fsQRNq.js +11 -0
- package/dist/runtime-DBDKFxqD.js +22 -0
- package/dist/runtime-DjqHzhfc.cjs +1 -0
- package/dist/scheme-C0jQNw-v.cjs +299 -0
- package/dist/scheme-Dp9cSd1s.js +1406 -0
- package/dist/selected-CEdYQtXH.cjs +1 -0
- package/dist/selected-DPdzuMh_.js +20 -0
- package/dist/selectionController-Cq7OffKP.js +98 -0
- package/dist/selectionController-D_SzzLi7.cjs +1 -0
- package/dist/selectionModel-B_tgk_Aa.cjs +1 -0
- package/dist/selectionModel-DMATNQOo.js +76 -0
- package/dist/services.cjs +1 -1
- package/dist/services.mjs +10 -3
- package/dist/size-BSjg5E6f.cjs +1 -0
- package/dist/size-C-WH-uPa.js +16 -0
- package/dist/ssr.cjs +1 -0
- package/dist/ssr.mjs +31 -0
- package/dist/state-CUskk7oG.cjs +1 -0
- package/dist/state-zMDQLwyB.js +12 -0
- package/dist/stateIcon-B8wmjxgd.js +98 -0
- package/dist/stateIcon-BxT3Loel.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/surface-NFdB950M.cjs +1 -0
- package/dist/surface-i-1vm2j3.js +99 -0
- package/dist/surfaceColor-BlDoAKoV.cjs +1 -0
- package/dist/surfaceColor-Cic675ry.js +34 -0
- package/dist/surfaceMaterial-B1a1iV02.js +39 -0
- package/dist/surfaceMaterial-JpbVongH.cjs +1 -0
- package/dist/tagName-D8HI-Yqc.js +40 -0
- package/dist/tagName-EmIHK0fg.cjs +1 -0
- package/dist/teleport-6ZRoZ2JT.js +26 -0
- package/dist/teleport-Bj9Z7LhE.cjs +1 -0
- package/dist/textFieldComponent-Ct4Z0dFr.cjs +1 -0
- package/dist/textFieldComponent-gnbYgrX0.js +217 -0
- package/dist/textFieldControl-Cxnq3lo4.js +80 -0
- package/dist/textFieldControl-D0-pdxIY.cjs +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +60 -59
- package/dist/tokenInputKeyboard-DBcgGd7c.js +108 -0
- package/dist/tokenInputKeyboard-DqEV34Li.cjs +1 -0
- package/dist/transition-BPMUkgHY.cjs +1 -0
- package/dist/transition-DVGMCo2o.js +108 -0
- package/dist/types/componentNames.d.ts +5 -0
- package/dist/types/components/GGroup/GGroup.vue.d.ts +11 -9
- package/dist/types/components/GGroup/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +55 -53
- package/dist/types/components/transitions/GExpandTransition.vue.d.ts +26 -32
- package/dist/types/components/transitions/GTransition.vue.d.ts +26 -32
- package/dist/types/components/transitions/GTransitionGroup.vue.d.ts +26 -32
- package/dist/types/components/transitions/TransitionExpansion.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionOverlay.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionRotate.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionScale.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionStaggerTranslate.vue.d.ts +2 -8
- package/dist/types/components/transitions/index.d.ts +3 -3
- package/dist/types/components/ui/BaseFloating/BaseFloating.vue.d.ts +45 -53
- package/dist/types/components/ui/BaseFloating/index.d.ts +1 -1
- package/dist/types/components/ui/BaseOverlay/BaseOverlay.vue.d.ts +62 -71
- package/dist/types/components/ui/BaseOverlay/index.d.ts +1 -1
- package/dist/types/components/ui/BaseOverlay/types.d.ts +24 -24
- package/dist/types/components/ui/GAction/GAction.vue.d.ts +1 -1
- package/dist/types/components/ui/GAction/index.d.ts +1 -1
- package/dist/types/components/ui/GAction/types.d.ts +15 -15
- package/dist/types/components/ui/GAlert/GAlert.vue.d.ts +177 -183
- package/dist/types/components/ui/GAlert/index.d.ts +1 -1
- package/dist/types/components/ui/GAlert/types.d.ts +151 -151
- package/dist/types/components/ui/GAside/GAside.vue.d.ts +26 -24
- package/dist/types/components/ui/GAside/GAsideGroup.vue.d.ts +11 -9
- package/dist/types/components/ui/GAside/GAsideItem.vue.d.ts +16 -14
- package/dist/types/components/ui/GAside/context.d.ts +2 -2
- package/dist/types/components/ui/GAside/groupContext.d.ts +1 -1
- package/dist/types/components/ui/GAside/index.d.ts +4 -4
- package/dist/types/components/ui/GAside/types.d.ts +28 -28
- package/dist/types/components/ui/GAvatar/GAvatar.vue.d.ts +262 -268
- package/dist/types/components/ui/GAvatar/GAvatarGroup.vue.d.ts +43 -49
- package/dist/types/components/ui/GAvatar/index.d.ts +3 -3
- package/dist/types/components/ui/GAvatar/types.d.ts +163 -163
- package/dist/types/components/ui/GBadge/GBadge.vue.d.ts +367 -373
- package/dist/types/components/ui/GBadge/index.d.ts +2 -2
- package/dist/types/components/ui/GBadge/types.d.ts +153 -153
- package/dist/types/components/ui/GButton/GButton.vue.d.ts +252 -258
- package/dist/types/components/ui/GButton/index.d.ts +2 -2
- package/dist/types/components/ui/GButton/types.d.ts +149 -149
- package/dist/types/components/ui/GCard/GCard.vue.d.ts +215 -221
- package/dist/types/components/ui/GCard/index.d.ts +2 -2
- package/dist/types/components/ui/GCard/types.d.ts +160 -160
- package/dist/types/components/ui/GCheckControl/GCheckControl.vue.d.ts +86 -92
- package/dist/types/components/ui/GCheckControl/GCheckGroup.vue.d.ts +77 -83
- package/dist/types/components/ui/GCheckControl/GCheckIndicator.vue.d.ts +17 -10
- package/dist/types/components/ui/GCheckControl/index.d.ts +3 -3
- package/dist/types/components/ui/GCheckbox/GCheckbox.vue.d.ts +10 -211
- package/dist/types/components/ui/GCheckbox/index.d.ts +2 -2
- package/dist/types/components/ui/GCheckbox/types.d.ts +1 -1
- package/dist/types/components/ui/GCheckboxGroup/GCheckboxGroup.vue.d.ts +12 -10
- package/dist/types/components/ui/GCheckboxGroup/index.d.ts +2 -2
- package/dist/types/components/ui/GCheckboxGroup/types.d.ts +2 -2
- package/dist/types/components/ui/GChip/GChip.vue.d.ts +218 -224
- package/dist/types/components/ui/GChip/index.d.ts +2 -2
- package/dist/types/components/ui/GChip/types.d.ts +140 -140
- package/dist/types/components/ui/GCombobox/GCombobox.vue.d.ts +12 -10
- package/dist/types/components/ui/GCombobox/index.d.ts +2 -2
- package/dist/types/components/ui/GCombobox/types.d.ts +11 -11
- package/dist/types/components/ui/GDivider/GDivider.vue.d.ts +445 -451
- package/dist/types/components/ui/GDivider/index.d.ts +2 -2
- package/dist/types/components/ui/GDivider/types.d.ts +186 -186
- package/dist/types/components/ui/GDrawer/GDrawer.vue.d.ts +135 -141
- package/dist/types/components/ui/GDrawer/index.d.ts +2 -2
- package/dist/types/components/ui/GDrawer/types.d.ts +44 -44
- package/dist/types/components/ui/GDropdown/GDropdown.vue.d.ts +94 -102
- package/dist/types/components/ui/GDropdown/index.d.ts +1 -1
- package/dist/types/components/ui/GDropdown/types.d.ts +40 -40
- package/dist/types/components/ui/GDropdownGroup/GDropdownGroup.vue.d.ts +3 -9
- package/dist/types/components/ui/GDropdownGroup/index.d.ts +2 -2
- package/dist/types/components/ui/GDropdownSelect/GDropdownSelect.vue.d.ts +11 -9
- package/dist/types/components/ui/GDropdownSelect/types.d.ts +2 -2
- package/dist/types/components/ui/GExpansion/GExpansion.vue.d.ts +51 -49
- package/dist/types/components/ui/GExpansion/index.d.ts +1 -1
- package/dist/types/components/ui/GExpansion/types.d.ts +154 -154
- package/dist/types/components/ui/GExpansionGroup/GExpansionGroup.vue.d.ts +17 -15
- package/dist/types/components/ui/GExpansionGroup/index.d.ts +1 -1
- package/dist/types/components/ui/GExpansionGroup/types.d.ts +7 -7
- package/dist/types/components/ui/GFAB/GFAB.vue.d.ts +81 -87
- package/dist/types/components/ui/GFAB/index.d.ts +1 -1
- package/dist/types/components/ui/GFAB/types.d.ts +57 -57
- package/dist/types/components/ui/GFieldBase/GFieldBase.vue.d.ts +64 -70
- package/dist/types/components/ui/GFieldBase/props.d.ts +81 -81
- package/dist/types/components/ui/GForm/GForm.vue.d.ts +32 -40
- package/dist/types/components/ui/GForm/index.d.ts +2 -2
- package/dist/types/components/ui/GForm/types.d.ts +10 -10
- package/dist/types/components/ui/GGradient/GGradient.vue.d.ts +96 -102
- package/dist/types/components/ui/GGradient/GGradientBorderLayer.vue.d.ts +10 -4
- package/dist/types/components/ui/GGradient/index.d.ts +2 -2
- package/dist/types/components/ui/GGradient/types.d.ts +4 -4
- package/dist/types/components/ui/GGradientMaterial/GGradientMaterial.vue.d.ts +84 -90
- package/dist/types/components/ui/GGradientMaterial/index.d.ts +2 -2
- package/dist/types/components/ui/GGradientMaterial/types.d.ts +15 -15
- package/dist/types/components/ui/GIcon/GIcon.vue.d.ts +5 -5
- package/dist/types/components/ui/GIcon/index.d.ts +2 -2
- package/dist/types/components/ui/GIcon/sets/MdiIconSet.vue.d.ts +1 -1
- package/dist/types/components/ui/GIcon/types.d.ts +1 -1
- package/dist/types/components/ui/GIcon.vue.d.ts +2 -2
- package/dist/types/components/ui/GImg/GImg.vue.d.ts +266 -0
- package/dist/types/components/ui/GImg/index.d.ts +2 -0
- package/dist/types/components/ui/GImg/types.d.ts +174 -0
- package/dist/types/components/ui/GInput/GInput.vue.d.ts +14 -323
- package/dist/types/components/ui/GInput/SwitchPassword.vue.d.ts +2 -2
- package/dist/types/components/ui/GInput/index.d.ts +2 -2
- package/dist/types/components/ui/GInput/types.d.ts +2 -2
- package/dist/types/components/ui/GLoading/GLoading.vue.d.ts +30 -36
- package/dist/types/components/ui/GLoading/types.d.ts +9 -9
- package/dist/types/components/ui/GMenu/GMenu.vue.d.ts +18 -24
- package/dist/types/components/ui/GMenu/GSubmenu.vue.d.ts +16 -259
- package/dist/types/components/ui/GMenu/index.d.ts +1 -1
- package/dist/types/components/ui/GMenuItem/GMenuItem.vue.d.ts +89 -95
- package/dist/types/components/ui/GMenuItem/types.d.ts +32 -32
- package/dist/types/components/ui/GModal/GModal.vue.d.ts +139 -145
- package/dist/types/components/ui/GModal/index.d.ts +2 -2
- package/dist/types/components/ui/GModal/types.d.ts +48 -48
- package/dist/types/components/ui/GNavList/GNavGroup.vue.d.ts +11 -9
- package/dist/types/components/ui/GNavList/GNavItem.vue.d.ts +16 -14
- package/dist/types/components/ui/GNavList/GNavList.vue.d.ts +24 -22
- package/dist/types/components/ui/GNavList/context.d.ts +2 -2
- package/dist/types/components/ui/GNavList/groupContext.d.ts +1 -1
- package/dist/types/components/ui/GNavList/index.d.ts +4 -4
- package/dist/types/components/ui/GNavList/types.d.ts +27 -27
- package/dist/types/components/ui/GNavbar/GNavbar.vue.d.ts +16 -14
- package/dist/types/components/ui/GNavbar/GNavbarItem.vue.d.ts +20 -18
- package/dist/types/components/ui/GNavbar/GNavbarMenu.vue.d.ts +20 -18
- package/dist/types/components/ui/GNavbar/GNavbarSubItem.vue.d.ts +14 -12
- package/dist/types/components/ui/GNavbar/context.d.ts +2 -2
- package/dist/types/components/ui/GNavbar/index.d.ts +5 -5
- package/dist/types/components/ui/GNavbar/menuContext.d.ts +1 -1
- package/dist/types/components/ui/GNavbar/types.d.ts +30 -30
- package/dist/types/components/ui/GProgress/GProgress.vue.d.ts +83 -91
- package/dist/types/components/ui/GProgress/index.d.ts +1 -1
- package/dist/types/components/ui/GProgress/types.d.ts +16 -16
- package/dist/types/components/ui/GQuickActions/GQuickActions.vue.d.ts +26 -32
- package/dist/types/components/ui/GQuickActions/index.d.ts +2 -2
- package/dist/types/components/ui/GQuickActions/types.d.ts +3 -3
- package/dist/types/components/ui/GRadio/GRadio.vue.d.ts +12 -10
- package/dist/types/components/ui/GRadio/GRadioItem.vue.d.ts +13 -11
- package/dist/types/components/ui/GRadio/index.d.ts +3 -3
- package/dist/types/components/ui/GRadio/types.d.ts +2 -2
- package/dist/types/components/ui/GSelect/GSelect.vue.d.ts +12 -10
- package/dist/types/components/ui/GSelect/index.d.ts +2 -2
- package/dist/types/components/ui/GSelect/types.d.ts +10 -10
- package/dist/types/components/ui/GSelectItem.vue.d.ts +5 -11
- package/dist/types/components/ui/GSnackbar/GSnackbar.vue.d.ts +411 -417
- package/dist/types/components/ui/GSnackbar/index.d.ts +2 -2
- package/dist/types/components/ui/GSnackbar/types.d.ts +164 -164
- package/dist/types/components/ui/GSquircle/GSquircle.vue.d.ts +8 -14
- package/dist/types/components/ui/GSquircle/index.d.ts +1 -1
- package/dist/types/components/ui/GSquircle/types.d.ts +5 -5
- package/dist/types/components/ui/GStepper/GStepItem.vue.d.ts +8 -6
- package/dist/types/components/ui/GStepper/GStepPanel.vue.d.ts +35 -33
- package/dist/types/components/ui/GStepper/GStepper.vue.d.ts +32 -30
- package/dist/types/components/ui/GStepper/GStepperActions.vue.d.ts +9 -7
- package/dist/types/components/ui/GStepper/context.d.ts +4 -4
- package/dist/types/components/ui/GStepper/index.d.ts +4 -4
- package/dist/types/components/ui/GStepper/types.d.ts +182 -182
- package/dist/types/components/ui/GSwitch/GSwitch.vue.d.ts +10 -211
- package/dist/types/components/ui/GSwitch/index.d.ts +2 -2
- package/dist/types/components/ui/GSwitch/types.d.ts +1 -1
- package/dist/types/components/ui/GTable/GTable.vue.d.ts +61 -59
- package/dist/types/components/ui/GTable/GTableBody.vue.d.ts +8 -6
- package/dist/types/components/ui/GTable/GTableCell.vue.d.ts +9 -7
- package/dist/types/components/ui/GTable/GTableExpandedRow.vue.d.ts +10 -8
- package/dist/types/components/ui/GTable/GTableHead.vue.d.ts +9 -7
- package/dist/types/components/ui/GTable/GTableRow.vue.d.ts +8 -6
- package/dist/types/components/ui/GTable/context.d.ts +1 -1
- package/dist/types/components/ui/GTable/index.d.ts +3 -3
- package/dist/types/components/ui/GTable/types.d.ts +161 -161
- package/dist/types/components/ui/GTable/useTable.d.ts +3 -3
- package/dist/types/components/ui/GTable/useTableExpansion.d.ts +1 -1
- package/dist/types/components/ui/GTable/useTableSpans.d.ts +1 -1
- package/dist/types/components/ui/GTabs/GTab.vue.d.ts +14 -12
- package/dist/types/components/ui/GTabs/GTabList.vue.d.ts +3 -9
- package/dist/types/components/ui/GTabs/GTabPanel.vue.d.ts +9 -7
- package/dist/types/components/ui/GTabs/GTabPanels.vue.d.ts +6 -12
- package/dist/types/components/ui/GTabs/GTabs.vue.d.ts +24 -22
- package/dist/types/components/ui/GTabs/context.d.ts +3 -3
- package/dist/types/components/ui/GTabs/index.d.ts +6 -6
- package/dist/types/components/ui/GTabs/types.d.ts +24 -24
- package/dist/types/components/ui/GText/GText.vue.d.ts +5 -10
- package/dist/types/components/ui/GText/index.d.ts +1 -1
- package/dist/types/components/ui/GText/types.d.ts +1 -1
- package/dist/types/components/ui/GTextarea/GTextarea.vue.d.ts +14 -290
- package/dist/types/components/ui/GTextarea/index.d.ts +2 -2
- package/dist/types/components/ui/GTextarea/types.d.ts +2 -2
- package/dist/types/components/ui/GToggleButton/GToggleButton.vue.d.ts +10 -760
- package/dist/types/components/ui/GToggleButton/index.d.ts +2 -2
- package/dist/types/components/ui/GToggleButton/types.d.ts +127 -127
- package/dist/types/components/ui/GTooltip/GTooltip.vue.d.ts +79 -85
- package/dist/types/components/ui/GTooltip/index.d.ts +1 -1
- package/dist/types/components/ui/GTooltip/types.d.ts +37 -37
- package/dist/types/directives/gradientIcon.d.ts +1 -1
- package/dist/types/directives/gradientText.d.ts +2 -2
- package/dist/types/directives/index.d.ts +13 -13
- package/dist/types/directives/loading.d.ts +5 -5
- package/dist/types/directives/mask.d.ts +1 -1
- package/dist/types/directives/ripple.d.ts +1 -1
- package/dist/types/directives/specular.d.ts +1 -1
- package/dist/types/index.d.ts +13 -17
- package/dist/types/plugin.d.ts +15 -0
- package/dist/types/services/context.d.ts +8 -0
- package/dist/types/services/index.d.ts +4 -2
- package/dist/types/services/runtime.d.ts +5 -0
- package/dist/types/services/useLoading.d.ts +5 -2
- package/dist/types/services/useSnackbar.d.ts +5 -2
- package/dist/types/ssr/index.d.ts +2 -0
- package/dist/types/ssr/use/appScopedState.d.ts +1 -0
- package/dist/types/ssr/use/clientLifecycle.d.ts +2 -0
- package/dist/types/ssr/use/hydration.d.ts +2 -0
- package/dist/types/ssr/use/id.d.ts +1 -0
- package/dist/types/ssr/use/index.d.ts +6 -0
- package/dist/types/ssr/use/teleport.d.ts +11 -0
- package/dist/types/ssr/use/viewport.d.ts +12 -0
- package/dist/types/ssr/utils/environment.d.ts +11 -0
- package/dist/types/ssr/utils/head.d.ts +28 -0
- package/dist/types/ssr/utils/index.d.ts +3 -0
- package/dist/types/ssr/utils/mount.d.ts +21 -0
- package/dist/types/theme/color.d.ts +1 -1
- package/dist/types/theme/colorSystem.d.ts +3 -3
- package/dist/types/theme/cssTokens.d.ts +3 -2
- package/dist/types/theme/default.d.ts +13 -6
- package/dist/types/theme/index.d.ts +7 -6
- package/dist/types/theme/palette.d.ts +1 -1
- package/dist/types/theme/scheme.d.ts +1 -1
- package/dist/types/theme/types.d.ts +1 -1
- package/dist/types/types/CommonTypes.d.ts +2 -2
- package/dist/types/use/PLA.d.ts +1 -1
- package/dist/types/use/actionProps.d.ts +15 -15
- package/dist/types/use/actionSurface.d.ts +45 -45
- package/dist/types/use/appendTarget.d.ts +2 -1
- package/dist/types/use/breakpoints/index.d.ts +10 -1
- package/dist/types/use/check/booleanControl.d.ts +13 -13
- package/dist/types/use/check/index.d.ts +6 -6
- package/dist/types/use/check/optionGroup.d.ts +7 -7
- package/dist/types/use/check/types.d.ts +55 -55
- package/dist/types/use/color.d.ts +2 -2
- package/dist/types/use/colorResolver.d.ts +2 -2
- package/dist/types/use/density.d.ts +1 -1
- package/dist/types/use/expansion/controller.d.ts +1 -1
- package/dist/types/use/expansion/di.d.ts +1 -1
- package/dist/types/use/expansion/index.d.ts +3 -3
- package/dist/types/use/floating.d.ts +18 -18
- package/dist/types/use/floatingLayer.d.ts +1 -1
- package/dist/types/use/form/control.d.ts +1 -1
- package/dist/types/use/form/props.d.ts +25 -25
- package/dist/types/use/form/textFieldComponent.d.ts +1 -3
- package/dist/types/use/form/textFieldControl.d.ts +7 -7
- package/dist/types/use/glass.d.ts +2 -2
- package/dist/types/use/gradient.d.ts +81 -81
- package/dist/types/use/gradientGlow.d.ts +7 -7
- package/dist/types/use/gradientMaterial.d.ts +3 -3
- package/dist/types/use/gradientRuntime.d.ts +2 -2
- package/dist/types/use/gradientRuntimeRegistry.d.ts +1 -1
- package/dist/types/use/gradientSurface.d.ts +5 -5
- package/dist/types/use/group/di.d.ts +1 -1
- package/dist/types/use/group/groupController.d.ts +1 -1
- package/dist/types/use/index.d.ts +23 -22
- package/dist/types/use/input/index.d.ts +4 -4
- package/dist/types/use/input/props.d.ts +71 -71
- package/dist/types/use/layerStack.d.ts +3 -3
- package/dist/types/use/material.d.ts +9 -9
- package/dist/types/use/materialSurface.d.ts +103 -103
- package/dist/types/use/menu.d.ts +5 -5
- package/dist/types/use/menuContext.d.ts +1 -1
- package/dist/types/use/navigation/controller.d.ts +1 -1
- package/dist/types/use/navigation/index.d.ts +4 -4
- package/dist/types/use/navigation/item.d.ts +1 -1
- package/dist/types/use/navigation/keyboard.d.ts +1 -1
- package/dist/types/use/open.d.ts +1 -1
- package/dist/types/use/overlay.d.ts +18 -18
- package/dist/types/use/placement.d.ts +2 -2
- package/dist/types/use/px.d.ts +1 -1
- package/dist/types/use/select/comboboxController.d.ts +9 -9
- package/dist/types/use/select/commit.d.ts +2 -2
- package/dist/types/use/select/controller.d.ts +9 -9
- package/dist/types/use/select/creatable.d.ts +1 -1
- package/dist/types/use/select/fieldControl.d.ts +7 -7
- package/dist/types/use/select/filter.d.ts +1 -1
- package/dist/types/use/select/items.d.ts +1 -1
- package/dist/types/use/select/listboxKeyboard.d.ts +1 -1
- package/dist/types/use/select/menuItems.d.ts +2 -2
- package/dist/types/use/select/menuSlot.d.ts +2 -2
- package/dist/types/use/select/modelFallbackItems.d.ts +2 -2
- package/dist/types/use/select/selection.d.ts +1 -1
- package/dist/types/use/select/selectionController.d.ts +1 -1
- package/dist/types/use/select/selectionSummary.d.ts +1 -1
- package/dist/types/use/select/tokenInputKeyboard.d.ts +1 -1
- package/dist/types/use/selected.d.ts +1 -1
- package/dist/types/use/size.d.ts +2 -2
- package/dist/types/use/state.d.ts +1 -1
- package/dist/types/use/stateIcon.d.ts +1 -1
- package/dist/types/use/stepper/controller.d.ts +1 -1
- package/dist/types/use/stepper/index.d.ts +1 -1
- package/dist/types/use/surface.d.ts +26 -26
- package/dist/types/use/surfaceColor.d.ts +3 -3
- package/dist/types/use/surfaceMaterial.d.ts +8 -8
- package/dist/types/use/textarea/index.d.ts +2 -2
- package/dist/types/use/textarea/props.d.ts +69 -69
- package/dist/types/use/transition.d.ts +5 -5
- package/dist/types/use/variant.d.ts +1 -1
- package/dist/types/utils/createComponentId.d.ts +1 -1
- package/dist/types/utils/createId.d.ts +1 -1
- package/dist/types-BItiZqNo.cjs +1 -0
- package/dist/types-BPZPPi6n.cjs +1 -0
- package/dist/types-BZSR5qEq.js +69 -0
- package/dist/types-CAh-uxuw.js +113 -0
- package/dist/types-Ce2Qoz6Q.js +90 -0
- package/dist/types-DGs8vjIX.cjs +1 -0
- package/dist/types-D_HgEWtj.js +95 -0
- package/dist/types-DmWFHzOk.js +80 -0
- package/dist/types-DsVDdHxP.cjs +1 -0
- package/dist/types-cjs/componentNames.d.cts +5 -0
- package/dist/types-cjs/components/GGroup/GGroup.vue.d.cts +24 -0
- package/dist/types-cjs/components/GGroup/index.d.cts +1 -0
- package/dist/types-cjs/components/GGroup/types.d.cts +0 -0
- package/dist/types-cjs/components/index.d.cts +55 -0
- package/dist/types-cjs/components/transitions/GExpandTransition.vue.d.cts +234 -0
- package/dist/types-cjs/components/transitions/GTransition.vue.d.cts +234 -0
- package/dist/types-cjs/components/transitions/GTransitionGroup.vue.d.cts +218 -0
- package/dist/types-cjs/components/transitions/TransitionExpansion.vue.d.cts +18 -0
- package/dist/types-cjs/components/transitions/TransitionOverlay.vue.d.cts +15 -0
- package/dist/types-cjs/components/transitions/TransitionRotate.vue.d.cts +11 -0
- package/dist/types-cjs/components/transitions/TransitionScale.vue.d.cts +15 -0
- package/dist/types-cjs/components/transitions/TransitionStaggerTranslate.vue.d.cts +11 -0
- package/dist/types-cjs/components/transitions/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/BaseFloating/BaseFloating.vue.d.cts +237 -0
- package/dist/types-cjs/components/ui/BaseFloating/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/BaseFloating/types.d.cts +0 -0
- package/dist/types-cjs/components/ui/BaseOverlay/BaseOverlay.vue.d.cts +228 -0
- package/dist/types-cjs/components/ui/BaseOverlay/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/BaseOverlay/types.d.cts +108 -0
- package/dist/types-cjs/components/ui/GAction/GAction.vue.d.cts +2 -0
- package/dist/types-cjs/components/ui/GAction/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GAction/types.d.cts +33 -0
- package/dist/types-cjs/components/ui/GAlert/GAlert.vue.d.cts +756 -0
- package/dist/types-cjs/components/ui/GAlert/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GAlert/types.d.cts +400 -0
- package/dist/types-cjs/components/ui/GAside/GAside.vue.d.cts +50 -0
- package/dist/types-cjs/components/ui/GAside/GAsideGroup.vue.d.cts +30 -0
- package/dist/types-cjs/components/ui/GAside/GAsideItem.vue.d.cts +37 -0
- package/dist/types-cjs/components/ui/GAside/context.d.cts +15 -0
- package/dist/types-cjs/components/ui/GAside/groupContext.d.cts +7 -0
- package/dist/types-cjs/components/ui/GAside/index.d.cts +4 -0
- package/dist/types-cjs/components/ui/GAside/types.d.cts +273 -0
- package/dist/types-cjs/components/ui/GAvatar/GAvatar.vue.d.cts +867 -0
- package/dist/types-cjs/components/ui/GAvatar/GAvatarGroup.vue.d.cts +188 -0
- package/dist/types-cjs/components/ui/GAvatar/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GAvatar/types.d.cts +585 -0
- package/dist/types-cjs/components/ui/GBadge/GBadge.vue.d.cts +786 -0
- package/dist/types-cjs/components/ui/GBadge/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GBadge/types.d.cts +422 -0
- package/dist/types-cjs/components/ui/GButton/GButton.vue.d.cts +820 -0
- package/dist/types-cjs/components/ui/GButton/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GButton/types.d.cts +457 -0
- package/dist/types-cjs/components/ui/GCard/GCard.vue.d.cts +943 -0
- package/dist/types-cjs/components/ui/GCard/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCard/types.d.cts +519 -0
- package/dist/types-cjs/components/ui/GCheckControl/GCheckControl.vue.d.cts +242 -0
- package/dist/types-cjs/components/ui/GCheckControl/GCheckGroup.vue.d.cts +184 -0
- package/dist/types-cjs/components/ui/GCheckControl/GCheckIndicator.vue.d.cts +28 -0
- package/dist/types-cjs/components/ui/GCheckControl/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GCheckbox/GCheckbox.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GCheckbox/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCheckbox/types.d.cts +1 -0
- package/dist/types-cjs/components/ui/GCheckboxGroup/GCheckboxGroup.vue.d.cts +26 -0
- package/dist/types-cjs/components/ui/GCheckboxGroup/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCheckboxGroup/types.d.cts +12 -0
- package/dist/types-cjs/components/ui/GChip/GChip.vue.d.cts +731 -0
- package/dist/types-cjs/components/ui/GChip/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GChip/types.d.cts +403 -0
- package/dist/types-cjs/components/ui/GCombobox/GCombobox.vue.d.cts +39 -0
- package/dist/types-cjs/components/ui/GCombobox/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCombobox/types.d.cts +59 -0
- package/dist/types-cjs/components/ui/GDivider/GDivider.vue.d.cts +959 -0
- package/dist/types-cjs/components/ui/GDivider/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GDivider/types.d.cts +518 -0
- package/dist/types-cjs/components/ui/GDrawer/GDrawer.vue.d.cts +429 -0
- package/dist/types-cjs/components/ui/GDrawer/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GDrawer/types.d.cts +205 -0
- package/dist/types-cjs/components/ui/GDropdown/GDropdown.vue.d.cts +418 -0
- package/dist/types-cjs/components/ui/GDropdown/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GDropdown/types.d.cts +208 -0
- package/dist/types-cjs/components/ui/GDropdownGroup/GDropdownGroup.vue.d.cts +23 -0
- package/dist/types-cjs/components/ui/GDropdownGroup/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GDropdownGroup/types.d.cts +10 -0
- package/dist/types-cjs/components/ui/GDropdownSelect/GDropdownSelect.vue.d.cts +19 -0
- package/dist/types-cjs/components/ui/GDropdownSelect/index.d.cts +0 -0
- package/dist/types-cjs/components/ui/GDropdownSelect/types.d.cts +14 -0
- package/dist/types-cjs/components/ui/GExpansion/GExpansion.vue.d.cts +110 -0
- package/dist/types-cjs/components/ui/GExpansion/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GExpansion/types.d.cts +479 -0
- package/dist/types-cjs/components/ui/GExpansionGroup/GExpansionGroup.vue.d.cts +34 -0
- package/dist/types-cjs/components/ui/GExpansionGroup/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GExpansionGroup/types.d.cts +61 -0
- package/dist/types-cjs/components/ui/GFAB/GFAB.vue.d.cts +415 -0
- package/dist/types-cjs/components/ui/GFAB/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GFAB/types.d.cts +247 -0
- package/dist/types-cjs/components/ui/GFieldBase/GFieldBase.vue.d.cts +312 -0
- package/dist/types-cjs/components/ui/GFieldBase/props.d.cts +256 -0
- package/dist/types-cjs/components/ui/GForm/GForm.vue.d.cts +148 -0
- package/dist/types-cjs/components/ui/GForm/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GForm/types.d.cts +107 -0
- package/dist/types-cjs/components/ui/GGradient/GGradient.vue.d.cts +362 -0
- package/dist/types-cjs/components/ui/GGradient/GGradientBorderLayer.vue.d.cts +17 -0
- package/dist/types-cjs/components/ui/GGradient/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GGradient/types.d.cts +23 -0
- package/dist/types-cjs/components/ui/GGradientMaterial/GGradientMaterial.vue.d.cts +251 -0
- package/dist/types-cjs/components/ui/GGradientMaterial/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GGradientMaterial/types.d.cts +140 -0
- package/dist/types-cjs/components/ui/GIcon/GIcon.vue.d.cts +31 -0
- package/dist/types-cjs/components/ui/GIcon/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GIcon/sets/MdiIconSet.vue.d.cts +3 -0
- package/dist/types-cjs/components/ui/GIcon/types.d.cts +24 -0
- package/dist/types-cjs/components/ui/GIcon.vue.d.cts +6 -0
- package/dist/types-cjs/components/ui/GImg/GImg.vue.d.cts +266 -0
- package/dist/types-cjs/components/ui/GImg/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GImg/types.d.cts +174 -0
- package/dist/types-cjs/components/ui/GInput/GInput.vue.d.cts +33 -0
- package/dist/types-cjs/components/ui/GInput/SwitchPassword.vue.d.cts +9 -0
- package/dist/types-cjs/components/ui/GInput/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GInput/types.d.cts +8 -0
- package/dist/types-cjs/components/ui/GLoading/GLoading.vue.d.cts +128 -0
- package/dist/types-cjs/components/ui/GLoading/types.d.cts +63 -0
- package/dist/types-cjs/components/ui/GMenu/GMenu.vue.d.cts +87 -0
- package/dist/types-cjs/components/ui/GMenu/GSubmenu.vue.d.cts +26 -0
- package/dist/types-cjs/components/ui/GMenu/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GMenu/types.d.cts +0 -0
- package/dist/types-cjs/components/ui/GMenuItem/GMenuItem.vue.d.cts +175 -0
- package/dist/types-cjs/components/ui/GMenuItem/index.d.cts +0 -0
- package/dist/types-cjs/components/ui/GMenuItem/types.d.cts +93 -0
- package/dist/types-cjs/components/ui/GModal/GModal.vue.d.cts +420 -0
- package/dist/types-cjs/components/ui/GModal/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GModal/types.d.cts +198 -0
- package/dist/types-cjs/components/ui/GNavList/GNavGroup.vue.d.cts +30 -0
- package/dist/types-cjs/components/ui/GNavList/GNavItem.vue.d.cts +37 -0
- package/dist/types-cjs/components/ui/GNavList/GNavList.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GNavList/context.d.cts +15 -0
- package/dist/types-cjs/components/ui/GNavList/groupContext.d.cts +7 -0
- package/dist/types-cjs/components/ui/GNavList/index.d.cts +4 -0
- package/dist/types-cjs/components/ui/GNavList/types.d.cts +249 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbar.vue.d.cts +36 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbarItem.vue.d.cts +41 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbarMenu.vue.d.cts +43 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbarSubItem.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GNavbar/context.d.cts +17 -0
- package/dist/types-cjs/components/ui/GNavbar/index.d.cts +5 -0
- package/dist/types-cjs/components/ui/GNavbar/menuContext.d.cts +9 -0
- package/dist/types-cjs/components/ui/GNavbar/types.d.cts +330 -0
- package/dist/types-cjs/components/ui/GProgress/GProgress.vue.d.cts +194 -0
- package/dist/types-cjs/components/ui/GProgress/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GProgress/types.d.cts +121 -0
- package/dist/types-cjs/components/ui/GQuickActions/GQuickActions.vue.d.cts +40 -0
- package/dist/types-cjs/components/ui/GQuickActions/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GQuickActions/types.d.cts +19 -0
- package/dist/types-cjs/components/ui/GRadio/GRadio.vue.d.cts +26 -0
- package/dist/types-cjs/components/ui/GRadio/GRadioItem.vue.d.cts +34 -0
- package/dist/types-cjs/components/ui/GRadio/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GRadio/types.d.cts +12 -0
- package/dist/types-cjs/components/ui/GSelect/GSelect.vue.d.cts +31 -0
- package/dist/types-cjs/components/ui/GSelect/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GSelect/types.d.cts +38 -0
- package/dist/types-cjs/components/ui/GSelectItem.vue.d.cts +43 -0
- package/dist/types-cjs/components/ui/GSnackbar/GSnackbar.vue.d.cts +986 -0
- package/dist/types-cjs/components/ui/GSnackbar/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GSnackbar/types.d.cts +515 -0
- package/dist/types-cjs/components/ui/GSquircle/GSquircle.vue.d.cts +19 -0
- package/dist/types-cjs/components/ui/GSquircle/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GSquircle/types.d.cts +20 -0
- package/dist/types-cjs/components/ui/GStepper/GStepItem.vue.d.cts +18 -0
- package/dist/types-cjs/components/ui/GStepper/GStepPanel.vue.d.cts +78 -0
- package/dist/types-cjs/components/ui/GStepper/GStepper.vue.d.cts +65 -0
- package/dist/types-cjs/components/ui/GStepper/GStepperActions.vue.d.cts +24 -0
- package/dist/types-cjs/components/ui/GStepper/context.d.cts +42 -0
- package/dist/types-cjs/components/ui/GStepper/index.d.cts +4 -0
- package/dist/types-cjs/components/ui/GStepper/types.d.cts +708 -0
- package/dist/types-cjs/components/ui/GSwitch/GSwitch.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GSwitch/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GSwitch/types.d.cts +1 -0
- package/dist/types-cjs/components/ui/GTable/GTable.vue.d.cts +193 -0
- package/dist/types-cjs/components/ui/GTable/GTableBody.vue.d.cts +71 -0
- package/dist/types-cjs/components/ui/GTable/GTableCell.vue.d.cts +37 -0
- package/dist/types-cjs/components/ui/GTable/GTableExpandedRow.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GTable/GTableHead.vue.d.cts +32 -0
- package/dist/types-cjs/components/ui/GTable/GTableRow.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GTable/context.d.cts +25 -0
- package/dist/types-cjs/components/ui/GTable/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GTable/types.d.cts +670 -0
- package/dist/types-cjs/components/ui/GTable/useTable.d.cts +22 -0
- package/dist/types-cjs/components/ui/GTable/useTableExpansion.d.cts +17 -0
- package/dist/types-cjs/components/ui/GTable/useTableSpans.d.cts +12 -0
- package/dist/types-cjs/components/ui/GTabs/GTab.vue.d.cts +29 -0
- package/dist/types-cjs/components/ui/GTabs/GTabList.vue.d.cts +32 -0
- package/dist/types-cjs/components/ui/GTabs/GTabPanel.vue.d.cts +22 -0
- package/dist/types-cjs/components/ui/GTabs/GTabPanels.vue.d.cts +30 -0
- package/dist/types-cjs/components/ui/GTabs/GTabs.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GTabs/context.d.cts +28 -0
- package/dist/types-cjs/components/ui/GTabs/index.d.cts +6 -0
- package/dist/types-cjs/components/ui/GTabs/types.d.cts +214 -0
- package/dist/types-cjs/components/ui/GText/GText.vue.d.cts +12 -0
- package/dist/types-cjs/components/ui/GText/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GText/types.d.cts +8 -0
- package/dist/types-cjs/components/ui/GTextarea/GTextarea.vue.d.cts +33 -0
- package/dist/types-cjs/components/ui/GTextarea/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GTextarea/types.d.cts +6 -0
- package/dist/types-cjs/components/ui/GToggleButton/GToggleButton.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GToggleButton/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GToggleButton/types.d.cts +425 -0
- package/dist/types-cjs/components/ui/GTooltip/GTooltip.vue.d.cts +353 -0
- package/dist/types-cjs/components/ui/GTooltip/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GTooltip/types.d.cts +179 -0
- package/dist/types-cjs/directives/gradientIcon.d.cts +4 -0
- package/dist/types-cjs/directives/gradientText.d.cts +17 -0
- package/dist/types-cjs/directives/index.d.cts +13 -0
- package/dist/types-cjs/directives/loading.d.cts +19 -0
- package/dist/types-cjs/directives/mask.d.cts +13 -0
- package/dist/types-cjs/directives/ripple.d.cts +30 -0
- package/dist/types-cjs/directives/specular.d.cts +34 -0
- package/dist/types-cjs/directives/tooltip.d.cts +10 -0
- package/dist/types-cjs/index.d.cts +17 -0
- package/dist/types-cjs/package.json +3 -0
- package/dist/types-cjs/plugin.d.cts +15 -0
- package/dist/types-cjs/services/context.d.cts +8 -0
- package/dist/types-cjs/services/index.d.cts +4 -0
- package/dist/types-cjs/services/runtime.d.cts +5 -0
- package/dist/types-cjs/services/useLoading.d.cts +11 -0
- package/dist/types-cjs/services/useSnackbar.d.cts +25 -0
- package/dist/types-cjs/ssr/index.d.cts +2 -0
- package/dist/types-cjs/ssr/use/appScopedState.d.cts +1 -0
- package/dist/types-cjs/ssr/use/clientLifecycle.d.cts +2 -0
- package/dist/types-cjs/ssr/use/hydration.d.cts +2 -0
- package/dist/types-cjs/ssr/use/id.d.cts +1 -0
- package/dist/types-cjs/ssr/use/index.d.cts +6 -0
- package/dist/types-cjs/ssr/use/teleport.d.cts +11 -0
- package/dist/types-cjs/ssr/use/viewport.d.cts +12 -0
- package/dist/types-cjs/ssr/utils/environment.d.cts +11 -0
- package/dist/types-cjs/ssr/utils/head.d.cts +28 -0
- package/dist/types-cjs/ssr/utils/index.d.cts +3 -0
- package/dist/types-cjs/ssr/utils/mount.d.cts +21 -0
- package/dist/types-cjs/theme/color.d.cts +11 -0
- package/dist/types-cjs/theme/colorSeeds.d.cts +22 -0
- package/dist/types-cjs/theme/colorSystem.d.cts +12 -0
- package/dist/types-cjs/theme/cssTokens.d.cts +8 -0
- package/dist/types-cjs/theme/default.d.cts +51 -0
- package/dist/types-cjs/theme/gradient.d.cts +1 -0
- package/dist/types-cjs/theme/index.d.cts +13 -0
- package/dist/types-cjs/theme/palette.d.cts +13 -0
- package/dist/types-cjs/theme/scheme.d.cts +2 -0
- package/dist/types-cjs/theme/types.d.cts +11 -0
- package/dist/types-cjs/types/Colors.d.cts +2 -0
- package/dist/types-cjs/types/CommonTypes.d.cts +26 -0
- package/dist/types-cjs/types/UtilityTypes.d.cts +2 -0
- package/dist/types-cjs/use/PLA.d.cts +101 -0
- package/dist/types-cjs/use/actionProps.d.cts +38 -0
- package/dist/types-cjs/use/actionSurface.d.cts +200 -0
- package/dist/types-cjs/use/appendTarget.d.cts +5 -0
- package/dist/types-cjs/use/bodyScrollLock.d.cts +2 -0
- package/dist/types-cjs/use/booleanProp.d.cts +2 -0
- package/dist/types-cjs/use/breakpoints/index.d.cts +36 -0
- package/dist/types-cjs/use/check/booleanControl.d.cts +61 -0
- package/dist/types-cjs/use/check/groupFocus.d.cts +17 -0
- package/dist/types-cjs/use/check/index.d.cts +6 -0
- package/dist/types-cjs/use/check/optionGroup.d.cts +36 -0
- package/dist/types-cjs/use/check/selection.d.cts +2 -0
- package/dist/types-cjs/use/check/types.d.cts +496 -0
- package/dist/types-cjs/use/color.d.cts +20 -0
- package/dist/types-cjs/use/colorResolver.d.cts +16 -0
- package/dist/types-cjs/use/controllableOpen.d.cts +10 -0
- package/dist/types-cjs/use/defaults.d.cts +12 -0
- package/dist/types-cjs/use/density.d.cts +16 -0
- package/dist/types-cjs/use/disabled.d.cts +12 -0
- package/dist/types-cjs/use/dropdownContext.d.cts +9 -0
- package/dist/types-cjs/use/expansion/controller.d.cts +12 -0
- package/dist/types-cjs/use/expansion/di.d.cts +5 -0
- package/dist/types-cjs/use/expansion/index.d.cts +3 -0
- package/dist/types-cjs/use/expansion/types.d.cts +11 -0
- package/dist/types-cjs/use/floating.d.cts +120 -0
- package/dist/types-cjs/use/floatingDismiss.d.cts +10 -0
- package/dist/types-cjs/use/floatingLayer.d.cts +12 -0
- package/dist/types-cjs/use/floatingTrigger.d.cts +27 -0
- package/dist/types-cjs/use/focused.d.cts +12 -0
- package/dist/types-cjs/use/form/context.d.cts +8 -0
- package/dist/types-cjs/use/form/control.d.cts +21 -0
- package/dist/types-cjs/use/form/fieldKeyboard.d.cts +19 -0
- package/dist/types-cjs/use/form/props.d.cts +121 -0
- package/dist/types-cjs/use/form/textFieldComponent.d.cts +12 -0
- package/dist/types-cjs/use/form/textFieldControl.d.cts +71 -0
- package/dist/types-cjs/use/glass.d.cts +24 -0
- package/dist/types-cjs/use/gradient.d.cts +291 -0
- package/dist/types-cjs/use/gradientGlow.d.cts +48 -0
- package/dist/types-cjs/use/gradientMaterial.d.cts +21 -0
- package/dist/types-cjs/use/gradientRuntime.d.cts +11 -0
- package/dist/types-cjs/use/gradientRuntimeRegistry.d.cts +8 -0
- package/dist/types-cjs/use/gradientSurface.d.cts +50 -0
- package/dist/types-cjs/use/group/di.d.cts +5 -0
- package/dist/types-cjs/use/group/groupController.d.cts +10 -0
- package/dist/types-cjs/use/group/types.d.cts +9 -0
- package/dist/types-cjs/use/highlighted.d.cts +12 -0
- package/dist/types-cjs/use/icon.d.cts +22 -0
- package/dist/types-cjs/use/index.d.cts +23 -0
- package/dist/types-cjs/use/input/control.d.cts +10 -0
- package/dist/types-cjs/use/input/emits.d.cts +8 -0
- package/dist/types-cjs/use/input/index.d.cts +4 -0
- package/dist/types-cjs/use/input/props.d.cts +163 -0
- package/dist/types-cjs/use/items.d.cts +20 -0
- package/dist/types-cjs/use/layerStack.d.cts +15 -0
- package/dist/types-cjs/use/mask/index.d.cts +24 -0
- package/dist/types-cjs/use/material.d.cts +113 -0
- package/dist/types-cjs/use/materialSurface.d.cts +382 -0
- package/dist/types-cjs/use/menu.d.cts +49 -0
- package/dist/types-cjs/use/menuContext.d.cts +6 -0
- package/dist/types-cjs/use/navigation/controller.d.cts +14 -0
- package/dist/types-cjs/use/navigation/index.d.cts +4 -0
- package/dist/types-cjs/use/navigation/item.d.cts +9 -0
- package/dist/types-cjs/use/navigation/keyboard.d.cts +4 -0
- package/dist/types-cjs/use/navigation/types.d.cts +42 -0
- package/dist/types-cjs/use/open.d.cts +2 -0
- package/dist/types-cjs/use/overlay.d.cts +111 -0
- package/dist/types-cjs/use/placement.d.cts +16 -0
- package/dist/types-cjs/use/px.d.cts +4 -0
- package/dist/types-cjs/use/rounded.d.cts +12 -0
- package/dist/types-cjs/use/routerLink.d.cts +10 -0
- package/dist/types-cjs/use/select/comboboxController.d.cts +36 -0
- package/dist/types-cjs/use/select/commit.d.cts +23 -0
- package/dist/types-cjs/use/select/controller.d.cts +23 -0
- package/dist/types-cjs/use/select/creatable.d.cts +18 -0
- package/dist/types-cjs/use/select/fieldControl.d.cts +59 -0
- package/dist/types-cjs/use/select/filter.d.cts +14 -0
- package/dist/types-cjs/use/select/items.d.cts +14 -0
- package/dist/types-cjs/use/select/listboxKeyboard.d.cts +9 -0
- package/dist/types-cjs/use/select/menuItems.d.cts +11 -0
- package/dist/types-cjs/use/select/menuSlot.d.cts +5 -0
- package/dist/types-cjs/use/select/modelFallbackItems.d.cts +12 -0
- package/dist/types-cjs/use/select/search.d.cts +14 -0
- package/dist/types-cjs/use/select/searchFieldControl.d.cts +24 -0
- package/dist/types-cjs/use/select/selection.d.cts +12 -0
- package/dist/types-cjs/use/select/selectionController.d.cts +19 -0
- package/dist/types-cjs/use/select/selectionSummary.d.cts +8 -0
- package/dist/types-cjs/use/select/tokenInputKeyboard.d.cts +11 -0
- package/dist/types-cjs/use/select/types.d.cts +24 -0
- package/dist/types-cjs/use/selected.d.cts +17 -0
- package/dist/types-cjs/use/selectionModel.d.cts +19 -0
- package/dist/types-cjs/use/size.d.cts +16 -0
- package/dist/types-cjs/use/slots.d.cts +15 -0
- package/dist/types-cjs/use/state.d.cts +13 -0
- package/dist/types-cjs/use/stateIcon.d.cts +9 -0
- package/dist/types-cjs/use/stepper/controller.d.cts +20 -0
- package/dist/types-cjs/use/stepper/index.d.cts +1 -0
- package/dist/types-cjs/use/surface.d.cts +128 -0
- package/dist/types-cjs/use/surfaceColor.d.cts +19 -0
- package/dist/types-cjs/use/surfaceMaterial.d.cts +45 -0
- package/dist/types-cjs/use/tagName.d.cts +47 -0
- package/dist/types-cjs/use/textarea/index.d.cts +2 -0
- package/dist/types-cjs/use/textarea/props.d.cts +144 -0
- package/dist/types-cjs/use/transition.d.cts +156 -0
- package/dist/types-cjs/use/variant.d.cts +16 -0
- package/dist/types-cjs/use/visibleProps.d.cts +1 -0
- package/dist/types-cjs/use/zIndex.d.cts +10 -0
- package/dist/types-cjs/utils/camelToKebabCase.d.cts +1 -0
- package/dist/types-cjs/utils/createComponentId.d.cts +1 -0
- package/dist/types-cjs/utils/createId.d.cts +1 -0
- package/dist/types-cjs/utils/propsFactory.d.cts +29 -0
- package/dist/types-l8OJZAJz.cjs +1 -0
- package/dist/use.cjs +1 -1
- package/dist/use.mjs +80 -55
- package/dist/useSnackbar-CGt0lJDk.js +245 -0
- package/dist/useSnackbar-CRUtXt4_.cjs +1 -0
- package/dist/variant-BvBpmTET.cjs +1 -0
- package/dist/variant-Fpx1q_TY.js +15 -0
- package/dist/viewport-BhvdzcLi.cjs +1 -0
- package/dist/viewport-DhX6inI4.js +11 -0
- package/package.json +358 -28
- package/dist/GLoading.vue_vue_type_style_index_0_lang-BbVYszn2.js +0 -468
- package/dist/GLoading.vue_vue_type_style_index_0_lang-DW5X0giH.cjs +0 -1
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-BPwF9Kug.js +0 -8734
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-C45EmRhx.cjs +0 -1
- package/dist/camelToKebabCase-BQDotaQm.cjs +0 -316
- package/dist/camelToKebabCase-BWbQb81D.js +0 -3783
- package/dist/default--73FwpwZ.cjs +0 -4
- package/dist/default-DlsS6GI_.js +0 -58
- package/dist/defaults-BlTdRhHs.cjs +0 -1
- package/dist/defaults-DMi34V8q.js +0 -51
- package/dist/index-Cs3XQ3JB.js +0 -97
- package/dist/index-DN5ngVtp.cjs +0 -1
- package/dist/index-DVHKm06w.cjs +0 -1
- package/dist/index-DeFv4BdJ.js +0 -418
- package/dist/mask-669nMf98.js +0 -936
- package/dist/mask-Bh_UkcCe.cjs +0 -1
- package/dist/materialSurface-BbFTyJuA.js +0 -634
- package/dist/materialSurface-DOfA2E9c.cjs +0 -1
- package/dist/scheme-CZ0a0X5e.cjs +0 -299
- package/dist/scheme-Dqwdqg6N.js +0 -1405
- package/dist/surface-C3w1Rz6V.js +0 -291
- package/dist/surface-DB9flb-h.cjs +0 -1
- package/dist/useSnackbar-6OiYxhJA.cjs +0 -1
- package/dist/useSnackbar-BYPu4tJ4.js +0 -922
package/dist/scheme-Dqwdqg6N.js
DELETED
|
@@ -1,1405 +0,0 @@
|
|
|
1
|
-
import { i as E, t as pt, j as B, H as k, d as J, h as Z, C as Vt, f as Ft, p as ut, r as ft, g as Ht } from "./camelToKebabCase-BWbQb81D.js";
|
|
2
|
-
import { createGradient as _, createGradientFromColor as Ut } from "@gradient-ui/gradient-engine";
|
|
3
|
-
const K = (t, r = 0, e = 1) => Math.min(e, Math.max(r, t)), Xt = (t) => {
|
|
4
|
-
const r = t.slice(1), e = r.length === 3 || r.length === 4 ? r.slice(0, 3).split("").map((a) => a.repeat(2)).join("") : r.slice(0, 6);
|
|
5
|
-
return e.length !== 6 || !/^[\da-f]{6}$/i.test(e) ? null : {
|
|
6
|
-
r: parseInt(e.slice(0, 2), 16),
|
|
7
|
-
g: parseInt(e.slice(2, 4), 16),
|
|
8
|
-
b: parseInt(e.slice(4, 6), 16)
|
|
9
|
-
};
|
|
10
|
-
}, Yt = (t) => {
|
|
11
|
-
const r = t.match(
|
|
12
|
-
/^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:\s*[,/]\s*[\d.]+%?)?\s*\)$/i
|
|
13
|
-
);
|
|
14
|
-
return r ? {
|
|
15
|
-
r: K(Number(r[1]), 0, 255),
|
|
16
|
-
g: K(Number(r[2]), 0, 255),
|
|
17
|
-
b: K(Number(r[3]), 0, 255)
|
|
18
|
-
} : null;
|
|
19
|
-
}, Q = (t) => {
|
|
20
|
-
if (typeof t == "number") {
|
|
21
|
-
const e = t & 16777215;
|
|
22
|
-
return {
|
|
23
|
-
r: e >> 16 & 255,
|
|
24
|
-
g: e >> 8 & 255,
|
|
25
|
-
b: e & 255
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
const r = t.trim();
|
|
29
|
-
return r.startsWith("#") ? Xt(r) : r.toLowerCase().startsWith("rgb") ? Yt(r) : null;
|
|
30
|
-
}, Kt = ({ r: t, g: r, b: e }) => `#${[t, r, e].map((a) => Math.round(a).toString(16).padStart(2, "0")).join("")}`, Wt = ({ r: t, g: r, b: e }) => `${Math.round(t)}, ${Math.round(r)}, ${Math.round(e)}`, qt = (t, r) => {
|
|
31
|
-
const e = Q(t) ?? Q(r);
|
|
32
|
-
if (!e)
|
|
33
|
-
throw new Error(`Invalid fallback color: ${r}`);
|
|
34
|
-
return Kt(e);
|
|
35
|
-
}, V = 135, tt = "center", yt = "farthest-corner", $t = (t = V) => typeof t == "number" ? `${t}deg` : t, M = (t) => typeof t == "number" ? `${t}px` : t, D = (t) => typeof t == "number" ? `${t}ms` : t, S = (t, r = 0, e = 1) => Math.min(e, Math.max(r, t)), O = (t, r) => {
|
|
36
|
-
if (r === void 0) return t;
|
|
37
|
-
const e = Q(t);
|
|
38
|
-
return e ? `rgb(${Wt(e).replace(/,/g, "")} / ${S(r)})` : t;
|
|
39
|
-
}, W = ({ color: t, opacity: r, position: e }) => `${O(t, r)} ${e}%`, l = (t, r, e) => ({
|
|
40
|
-
color: t,
|
|
41
|
-
position: r
|
|
42
|
-
}), bt = (t) => {
|
|
43
|
-
if (t.length <= 1) return t;
|
|
44
|
-
const r = t.map((a) => ({
|
|
45
|
-
...a,
|
|
46
|
-
position: a.position / 2
|
|
47
|
-
})), e = [...t].reverse().map((a) => ({
|
|
48
|
-
...a,
|
|
49
|
-
position: 100 - a.position / 2
|
|
50
|
-
}));
|
|
51
|
-
return [...r, ...e];
|
|
52
|
-
}, Jt = (t) => `@keyframes ${t} {
|
|
53
|
-
0% {
|
|
54
|
-
background-position: 0% 50%;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
50% {
|
|
58
|
-
background-position: 100% 50%;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
100% {
|
|
62
|
-
background-position: 0% 50%;
|
|
63
|
-
}
|
|
64
|
-
}`, Zt = (t) => `@keyframes ${t} {
|
|
65
|
-
0%, 100% {
|
|
66
|
-
filter: saturate(1) brightness(1);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
50% {
|
|
70
|
-
filter: saturate(1.22) brightness(1.08);
|
|
71
|
-
}
|
|
72
|
-
}`, Qt = (t) => `@keyframes ${t} {
|
|
73
|
-
0%, 100% {
|
|
74
|
-
filter: hue-rotate(0deg) saturate(1);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
50% {
|
|
78
|
-
filter: hue-rotate(28deg) saturate(1.18);
|
|
79
|
-
}
|
|
80
|
-
}`, tr = (t) => `@keyframes ${t} {
|
|
81
|
-
from {
|
|
82
|
-
transform: translate(-50%, -50%) rotate(0deg);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
to {
|
|
86
|
-
transform: translate(-50%, -50%) rotate(360deg);
|
|
87
|
-
}
|
|
88
|
-
}`, F = (t = {}) => {
|
|
89
|
-
const r = t.name ?? "g-gradient-shift", e = D(t.duration ?? 6e3), a = t.easing ?? "ease-in-out", o = t.selector ?? ".g-gradient-animated", n = t.preset ?? "shift";
|
|
90
|
-
return {
|
|
91
|
-
duration: e,
|
|
92
|
-
easing: a,
|
|
93
|
-
name: r,
|
|
94
|
-
preset: n,
|
|
95
|
-
selector: o
|
|
96
|
-
};
|
|
97
|
-
}, rt = (t = {}) => {
|
|
98
|
-
const { name: r, preset: e } = F(t);
|
|
99
|
-
return e === "pulse" ? Zt(r) : e === "hue-rotate" ? Qt(r) : e === "rotate" ? tr(r) : Jt(r);
|
|
100
|
-
}, xt = (t = {}) => {
|
|
101
|
-
const { duration: r, easing: e, name: a, preset: o } = F(t);
|
|
102
|
-
return `${a} ${r} ${o === "rotate" ? "linear" : e} infinite`;
|
|
103
|
-
}, St = (t = {}) => {
|
|
104
|
-
const { duration: r, easing: e, name: a, preset: o, selector: n } = F(t);
|
|
105
|
-
return o === "rotate" ? `${n} {
|
|
106
|
-
position: relative;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
${n}::before {
|
|
111
|
-
content: '';
|
|
112
|
-
position: absolute;
|
|
113
|
-
top: 50%;
|
|
114
|
-
left: 50%;
|
|
115
|
-
width: 200%;
|
|
116
|
-
height: 200%;
|
|
117
|
-
min-width: 150vmax;
|
|
118
|
-
min-height: 150vmax;
|
|
119
|
-
background: inherit;
|
|
120
|
-
animation: ${a} ${r} linear infinite;
|
|
121
|
-
transform-origin: center;
|
|
122
|
-
}` : o === "pulse" || o === "hue-rotate" ? `${n} {
|
|
123
|
-
animation: ${a} ${r} ${e} infinite;
|
|
124
|
-
}` : `${n} {
|
|
125
|
-
animation: ${a} ${r} ${e} infinite;
|
|
126
|
-
background-size: 220% 220%;
|
|
127
|
-
}`;
|
|
128
|
-
}, vt = (t = {}) => {
|
|
129
|
-
const r = rt(t), e = St(t);
|
|
130
|
-
return `${r}
|
|
131
|
-
${e}`;
|
|
132
|
-
}, ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
133
|
-
__proto__: null,
|
|
134
|
-
getGradientAnimationOptions: F,
|
|
135
|
-
toGradientAnimationCSS: vt,
|
|
136
|
-
toGradientAnimationKeyframes: rt,
|
|
137
|
-
toGradientAnimationStyles: St,
|
|
138
|
-
toGradientAnimationValue: xt
|
|
139
|
-
}, Symbol.toStringTag, { value: "Module" })), wt = [
|
|
140
|
-
50,
|
|
141
|
-
100,
|
|
142
|
-
200,
|
|
143
|
-
300,
|
|
144
|
-
400,
|
|
145
|
-
500,
|
|
146
|
-
600,
|
|
147
|
-
700,
|
|
148
|
-
800,
|
|
149
|
-
900
|
|
150
|
-
], Mt = {
|
|
151
|
-
50: 90,
|
|
152
|
-
100: 80,
|
|
153
|
-
200: 70,
|
|
154
|
-
300: 60,
|
|
155
|
-
400: 50,
|
|
156
|
-
500: 40,
|
|
157
|
-
600: 35,
|
|
158
|
-
700: 30,
|
|
159
|
-
800: 20,
|
|
160
|
-
900: 10
|
|
161
|
-
};
|
|
162
|
-
Object.fromEntries(
|
|
163
|
-
wt.map((t) => [t, Mt[t] >= 60 ? 10 : 100])
|
|
164
|
-
);
|
|
165
|
-
const rr = (t) => {
|
|
166
|
-
const r = qt(t, "#000000");
|
|
167
|
-
return pt(B(r)).palettes.primary;
|
|
168
|
-
}, er = (t, r) => {
|
|
169
|
-
const e = rr(t);
|
|
170
|
-
return Object.fromEntries(
|
|
171
|
-
wt.map((a) => [
|
|
172
|
-
a,
|
|
173
|
-
E(e.tone(r[a]))
|
|
174
|
-
])
|
|
175
|
-
);
|
|
176
|
-
}, H = (t) => er(t, Mt), Ct = (t, r = V) => `linear-gradient(${$t(r)}, ${t.join(", ")})`, z = (t) => {
|
|
177
|
-
const r = t.stops.map(W).join(", ");
|
|
178
|
-
if (t.type === "radial") {
|
|
179
|
-
const e = t.shape ?? "ellipse", a = t.size ?? yt, o = t.position ?? tt;
|
|
180
|
-
return `radial-gradient(${e} ${a} at ${o}, ${r})`;
|
|
181
|
-
}
|
|
182
|
-
if (t.type === "conic") {
|
|
183
|
-
const e = $t(t.direction), a = t.position ?? tt, o = bt(t.stops).map(W).join(", ");
|
|
184
|
-
return `conic-gradient(from ${e} at ${a}, ${o})`;
|
|
185
|
-
}
|
|
186
|
-
return Ct(t.stops.map(W), t.direction);
|
|
187
|
-
}, b = (t, r) => {
|
|
188
|
-
const e = k.fromInt(B(t));
|
|
189
|
-
return E(k.from(e.hue, e.chroma, r).toInt());
|
|
190
|
-
}, p = (t, r, e, a = 1) => {
|
|
191
|
-
const o = k.fromInt(B(t)), n = (o.hue + r + 360) % 360, i = Math.min(o.chroma * a, 100);
|
|
192
|
-
return E(k.from(n, i, e).toInt());
|
|
193
|
-
}, N = (t) => {
|
|
194
|
-
const r = k.fromInt(B(t)), e = (r.hue + 110) % 360, a = Math.min(r.chroma * 1.2, 100), o = r.tone < 50 ? 65 : Math.min(r.tone + 10, 75);
|
|
195
|
-
return E(k.from(e, a, o).toInt());
|
|
196
|
-
}, ar = (t) => {
|
|
197
|
-
const r = N(t);
|
|
198
|
-
return [
|
|
199
|
-
l(b(r, 95), 0),
|
|
200
|
-
l(r, 25),
|
|
201
|
-
l(t, 50),
|
|
202
|
-
l(b(t, 80), 75),
|
|
203
|
-
l(b(t, 20), 100)
|
|
204
|
-
];
|
|
205
|
-
}, or = (t) => [
|
|
206
|
-
l(b(t, 94), 0),
|
|
207
|
-
l(b(t, 72), 28),
|
|
208
|
-
l(t, 55),
|
|
209
|
-
l(b(t, 24), 100)
|
|
210
|
-
], nr = (t) => [
|
|
211
|
-
l(b(N(t), 88), 0),
|
|
212
|
-
l(t, 50),
|
|
213
|
-
l(b(N(t), 32), 100)
|
|
214
|
-
], ir = (t) => [
|
|
215
|
-
l(p(t, 148, 82, 0.95), 0),
|
|
216
|
-
l(p(t, -148, 70, 1.05), 28),
|
|
217
|
-
l(t, 56),
|
|
218
|
-
l(p(t, 150, 34, 1.08), 100)
|
|
219
|
-
], sr = (t) => [
|
|
220
|
-
l(p(t, -34, 72, 0.95), 0),
|
|
221
|
-
l(t, 50),
|
|
222
|
-
l(p(t, 34, 34, 1.05), 100)
|
|
223
|
-
], cr = (t) => [
|
|
224
|
-
l(p(t, -120, 78, 0.9), 0),
|
|
225
|
-
l(t, 50),
|
|
226
|
-
l(p(t, 120, 36, 1.05), 100)
|
|
227
|
-
], dr = (t) => [
|
|
228
|
-
l(p(t, -90, 78, 0.92), 0),
|
|
229
|
-
l(t, 32),
|
|
230
|
-
l(p(t, 90, 62, 1), 58),
|
|
231
|
-
l(p(t, 180, 34, 1.08), 100)
|
|
232
|
-
], lr = (t) => [
|
|
233
|
-
l(p(t, -28, 82, 0.96), 0),
|
|
234
|
-
l(t, 27),
|
|
235
|
-
l(p(t, 152, 66, 1.02), 62),
|
|
236
|
-
l(p(t, 180, 34, 1.08), 100)
|
|
237
|
-
], gr = (t) => [
|
|
238
|
-
l(p(t, -90, 78, 0.94), 0),
|
|
239
|
-
l(t, 30),
|
|
240
|
-
l(p(t, 90, 62, 1), 62),
|
|
241
|
-
l(p(t, 180, 36, 1.08), 100)
|
|
242
|
-
], hr = (t, r) => {
|
|
243
|
-
const e = (r == null ? void 0 : r[0]) ?? b(t, 84), a = (r == null ? void 0 : r[1]) ?? N(t);
|
|
244
|
-
return [
|
|
245
|
-
l(e, 0),
|
|
246
|
-
l(t, 48),
|
|
247
|
-
l(a, 100)
|
|
248
|
-
];
|
|
249
|
-
}, kt = {
|
|
250
|
-
glare: ar,
|
|
251
|
-
monochrome: or,
|
|
252
|
-
complementary: nr,
|
|
253
|
-
"split-complementary": ir,
|
|
254
|
-
analogous: sr,
|
|
255
|
-
triadic: cr,
|
|
256
|
-
tetradic: dr,
|
|
257
|
-
rectangle: lr,
|
|
258
|
-
square: gr,
|
|
259
|
-
duotone: hr
|
|
260
|
-
}, Tt = (t, r, e) => kt[r](t, e), U = (t, r = {}) => {
|
|
261
|
-
const e = r.shade ?? 500, a = r.recipe ?? "glare";
|
|
262
|
-
return {
|
|
263
|
-
type: r.type ?? "linear",
|
|
264
|
-
stops: Tt(t[e], a, r.colors),
|
|
265
|
-
direction: r.direction ?? V,
|
|
266
|
-
shape: r.shape ?? "ellipse",
|
|
267
|
-
position: r.position ?? tt,
|
|
268
|
-
size: r.size ?? yt
|
|
269
|
-
};
|
|
270
|
-
}, mr = (t, r = {}) => U(H(t), r), _t = [
|
|
271
|
-
"normal",
|
|
272
|
-
"multiply",
|
|
273
|
-
"screen",
|
|
274
|
-
"overlay",
|
|
275
|
-
"darken",
|
|
276
|
-
"lighten",
|
|
277
|
-
"color-dodge",
|
|
278
|
-
"color-burn",
|
|
279
|
-
"hard-light",
|
|
280
|
-
"soft-light",
|
|
281
|
-
"difference",
|
|
282
|
-
"exclusion",
|
|
283
|
-
"hue",
|
|
284
|
-
"saturation",
|
|
285
|
-
"color",
|
|
286
|
-
"luminosity"
|
|
287
|
-
], Gt = "hard-light", x = (t) => t, Ot = (t) => t, L = Ot({
|
|
288
|
-
materialBorder: x({
|
|
289
|
-
label: "Material border",
|
|
290
|
-
description: "Default Gradient UI border material.",
|
|
291
|
-
gradient: {
|
|
292
|
-
recipe: "glare",
|
|
293
|
-
type: "linear",
|
|
294
|
-
direction: 135
|
|
295
|
-
},
|
|
296
|
-
shadow: {
|
|
297
|
-
layers: 2,
|
|
298
|
-
opacity: 0.22,
|
|
299
|
-
blur: 12,
|
|
300
|
-
y: 4,
|
|
301
|
-
spread: -3
|
|
302
|
-
},
|
|
303
|
-
dropShadow: {
|
|
304
|
-
layers: 2,
|
|
305
|
-
opacity: 0.32,
|
|
306
|
-
blur: 12,
|
|
307
|
-
y: 5
|
|
308
|
-
},
|
|
309
|
-
animation: {
|
|
310
|
-
preset: "shift",
|
|
311
|
-
duration: 6400,
|
|
312
|
-
easing: "ease-in-out"
|
|
313
|
-
}
|
|
314
|
-
}),
|
|
315
|
-
materialAction: x({
|
|
316
|
-
label: "Material action",
|
|
317
|
-
description: "Compact action material for buttons, chips and controls.",
|
|
318
|
-
gradient: {
|
|
319
|
-
recipe: "glare",
|
|
320
|
-
type: "linear",
|
|
321
|
-
direction: 135
|
|
322
|
-
},
|
|
323
|
-
shadow: {
|
|
324
|
-
layers: 2,
|
|
325
|
-
opacity: 0.2,
|
|
326
|
-
blur: 10,
|
|
327
|
-
y: 3,
|
|
328
|
-
spread: -2
|
|
329
|
-
},
|
|
330
|
-
dropShadow: {
|
|
331
|
-
layers: 2,
|
|
332
|
-
opacity: 0.28,
|
|
333
|
-
blur: 10,
|
|
334
|
-
y: 4
|
|
335
|
-
},
|
|
336
|
-
animation: {
|
|
337
|
-
preset: "shift",
|
|
338
|
-
duration: 6800,
|
|
339
|
-
easing: "ease-in-out"
|
|
340
|
-
}
|
|
341
|
-
}),
|
|
342
|
-
materialSurface: x({
|
|
343
|
-
label: "Material surface",
|
|
344
|
-
description: "Soft surface material for calm gradient backgrounds.",
|
|
345
|
-
gradient: {
|
|
346
|
-
recipe: "monochrome",
|
|
347
|
-
type: "linear",
|
|
348
|
-
direction: 145
|
|
349
|
-
},
|
|
350
|
-
shadow: {
|
|
351
|
-
layers: 2,
|
|
352
|
-
opacity: 0.18,
|
|
353
|
-
blur: 14,
|
|
354
|
-
y: 5,
|
|
355
|
-
spread: -3
|
|
356
|
-
},
|
|
357
|
-
dropShadow: {
|
|
358
|
-
layers: 2,
|
|
359
|
-
opacity: 0.22,
|
|
360
|
-
blur: 14,
|
|
361
|
-
y: 5
|
|
362
|
-
},
|
|
363
|
-
animation: {
|
|
364
|
-
preset: "pulse",
|
|
365
|
-
duration: 7600,
|
|
366
|
-
easing: "ease-in-out"
|
|
367
|
-
}
|
|
368
|
-
}),
|
|
369
|
-
brandGlare: x({
|
|
370
|
-
label: "Brand glare",
|
|
371
|
-
description: "Classic Gradient UI glare with a vivid complementary highlight.",
|
|
372
|
-
gradient: {
|
|
373
|
-
recipe: "glare",
|
|
374
|
-
type: "linear",
|
|
375
|
-
direction: 135
|
|
376
|
-
},
|
|
377
|
-
shadow: {
|
|
378
|
-
layers: 2,
|
|
379
|
-
opacity: 0.24,
|
|
380
|
-
blur: 16,
|
|
381
|
-
y: 6,
|
|
382
|
-
spread: -3
|
|
383
|
-
},
|
|
384
|
-
dropShadow: {
|
|
385
|
-
layers: 3,
|
|
386
|
-
opacity: 0.38,
|
|
387
|
-
blur: 16,
|
|
388
|
-
y: 6
|
|
389
|
-
},
|
|
390
|
-
animation: {
|
|
391
|
-
preset: "shift",
|
|
392
|
-
duration: 6e3,
|
|
393
|
-
easing: "ease-in-out"
|
|
394
|
-
}
|
|
395
|
-
}),
|
|
396
|
-
softMono: x({
|
|
397
|
-
label: "Soft mono",
|
|
398
|
-
description: "Quiet monochrome ramp for subtle surfaces.",
|
|
399
|
-
gradient: {
|
|
400
|
-
recipe: "monochrome",
|
|
401
|
-
type: "linear",
|
|
402
|
-
direction: 145
|
|
403
|
-
},
|
|
404
|
-
shadow: {
|
|
405
|
-
layers: 2,
|
|
406
|
-
opacity: 0.18,
|
|
407
|
-
blur: 18,
|
|
408
|
-
y: 7,
|
|
409
|
-
spread: -4
|
|
410
|
-
},
|
|
411
|
-
dropShadow: {
|
|
412
|
-
layers: 2,
|
|
413
|
-
opacity: 0.26,
|
|
414
|
-
blur: 16,
|
|
415
|
-
y: 6
|
|
416
|
-
},
|
|
417
|
-
animation: {
|
|
418
|
-
preset: "pulse",
|
|
419
|
-
duration: 7200,
|
|
420
|
-
easing: "ease-in-out"
|
|
421
|
-
}
|
|
422
|
-
}),
|
|
423
|
-
neonDuo: x({
|
|
424
|
-
label: "Neon duo",
|
|
425
|
-
description: "Punchy duotone setup with stronger glow defaults.",
|
|
426
|
-
gradient: {
|
|
427
|
-
recipe: "duotone",
|
|
428
|
-
type: "linear",
|
|
429
|
-
direction: 120
|
|
430
|
-
},
|
|
431
|
-
shadow: {
|
|
432
|
-
layers: 2,
|
|
433
|
-
opacity: 0.32,
|
|
434
|
-
blur: 18,
|
|
435
|
-
y: 7,
|
|
436
|
-
spread: -3
|
|
437
|
-
},
|
|
438
|
-
dropShadow: {
|
|
439
|
-
layers: 3,
|
|
440
|
-
opacity: 0.52,
|
|
441
|
-
blur: 18,
|
|
442
|
-
y: 7
|
|
443
|
-
},
|
|
444
|
-
animation: {
|
|
445
|
-
preset: "shift",
|
|
446
|
-
duration: 5200,
|
|
447
|
-
easing: "ease-in-out"
|
|
448
|
-
}
|
|
449
|
-
}),
|
|
450
|
-
orbitalConic: x({
|
|
451
|
-
label: "Orbital conic",
|
|
452
|
-
description: "Smooth mirrored conic gradient for badges and marks.",
|
|
453
|
-
gradient: {
|
|
454
|
-
recipe: "triadic",
|
|
455
|
-
type: "conic",
|
|
456
|
-
direction: 35,
|
|
457
|
-
position: "center"
|
|
458
|
-
},
|
|
459
|
-
shadow: {
|
|
460
|
-
layers: 2,
|
|
461
|
-
opacity: 0.24,
|
|
462
|
-
blur: 16,
|
|
463
|
-
y: 6,
|
|
464
|
-
spread: -3
|
|
465
|
-
},
|
|
466
|
-
dropShadow: {
|
|
467
|
-
layers: 3,
|
|
468
|
-
opacity: 0.36,
|
|
469
|
-
blur: 16,
|
|
470
|
-
y: 6
|
|
471
|
-
},
|
|
472
|
-
animation: {
|
|
473
|
-
preset: "rotate",
|
|
474
|
-
duration: 9e3
|
|
475
|
-
}
|
|
476
|
-
}),
|
|
477
|
-
auroraRadial: x({
|
|
478
|
-
label: "Aurora radial",
|
|
479
|
-
description: "Radial analogous gradient with slow hue motion.",
|
|
480
|
-
gradient: {
|
|
481
|
-
recipe: "analogous",
|
|
482
|
-
type: "radial",
|
|
483
|
-
direction: 0,
|
|
484
|
-
position: "top left",
|
|
485
|
-
shape: "circle"
|
|
486
|
-
},
|
|
487
|
-
shadow: {
|
|
488
|
-
layers: 2,
|
|
489
|
-
opacity: 0.22,
|
|
490
|
-
blur: 18,
|
|
491
|
-
y: 7,
|
|
492
|
-
spread: -4
|
|
493
|
-
},
|
|
494
|
-
dropShadow: {
|
|
495
|
-
layers: 3,
|
|
496
|
-
opacity: 0.32,
|
|
497
|
-
blur: 18,
|
|
498
|
-
y: 7
|
|
499
|
-
},
|
|
500
|
-
animation: {
|
|
501
|
-
preset: "hue-rotate",
|
|
502
|
-
duration: 8e3,
|
|
503
|
-
easing: "ease-in-out"
|
|
504
|
-
}
|
|
505
|
-
})
|
|
506
|
-
}), Nt = (t, r = L) => r[t] ?? L.brandGlare, jt = (t, r = {}) => z(U(t, r)), pr = (t, r = {}) => jt(H(t), r), $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
507
|
-
__proto__: null,
|
|
508
|
-
DEFAULT_GRADIENT_MORPH_BLEND_MODE: Gt,
|
|
509
|
-
GRADIENT_MORPH_BLEND_MODES: _t,
|
|
510
|
-
createGradient: jt,
|
|
511
|
-
createGradientFromColor: pr,
|
|
512
|
-
createGradientModel: U,
|
|
513
|
-
createGradientModelFromColor: mr,
|
|
514
|
-
createRecipeStops: Tt,
|
|
515
|
-
defineGradientPreset: x,
|
|
516
|
-
defineGradientPresetRegistry: Ot,
|
|
517
|
-
getGradientPreset: Nt,
|
|
518
|
-
gradientPresets: L,
|
|
519
|
-
gradientRecipes: kt
|
|
520
|
-
}, Symbol.toStringTag, { value: "Module" })), Pt = "http://www.w3.org/2000/svg", ur = "http://www.w3.org/1999/xhtml", fr = (t) => t.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"), yr = {
|
|
521
|
-
soft: {
|
|
522
|
-
blobCount: 5,
|
|
523
|
-
blur: 40,
|
|
524
|
-
contrast: 18,
|
|
525
|
-
duration: 12e3,
|
|
526
|
-
opacity: 0.76,
|
|
527
|
-
scale: 1.05
|
|
528
|
-
},
|
|
529
|
-
liquid: {
|
|
530
|
-
blobCount: 6,
|
|
531
|
-
blur: 46,
|
|
532
|
-
contrast: 22,
|
|
533
|
-
duration: 9200,
|
|
534
|
-
opacity: 0.82,
|
|
535
|
-
scale: 1.18
|
|
536
|
-
},
|
|
537
|
-
ripple: {
|
|
538
|
-
blobCount: 7,
|
|
539
|
-
blur: 34,
|
|
540
|
-
contrast: 20,
|
|
541
|
-
duration: 7200,
|
|
542
|
-
opacity: 0.78,
|
|
543
|
-
scale: 0.94
|
|
544
|
-
}
|
|
545
|
-
}, $r = new Set(_t), At = (t) => $r.has(t), et = (t) => t && At(t) ? t : Gt, T = (t = {}) => {
|
|
546
|
-
const r = yr[t.preset ?? "soft"];
|
|
547
|
-
return {
|
|
548
|
-
blobCount: Math.max(
|
|
549
|
-
2,
|
|
550
|
-
Math.round(t.blobCount ?? r.blobCount)
|
|
551
|
-
),
|
|
552
|
-
blendMode: et(t.blendMode),
|
|
553
|
-
blobOpacity: S(t.blobOpacity ?? 1, 0, 1.6),
|
|
554
|
-
blur: S(t.blur ?? r.blur, 0, 80),
|
|
555
|
-
contrast: S(t.contrast ?? r.contrast, 0, 36),
|
|
556
|
-
duration: t.duration ?? r.duration,
|
|
557
|
-
id: t.id ?? "g-gradient-morph",
|
|
558
|
-
opacity: S(t.opacity ?? r.opacity),
|
|
559
|
-
scale: S(t.scale ?? r.scale, 0.4, 2)
|
|
560
|
-
};
|
|
561
|
-
}, br = (t, r) => {
|
|
562
|
-
var e, a;
|
|
563
|
-
return ((e = t.stops[r % t.stops.length]) == null ? void 0 : e.color) ?? ((a = t.stops[0]) == null ? void 0 : a.color) ?? "currentColor";
|
|
564
|
-
}, xr = (t) => {
|
|
565
|
-
if (typeof t == "number") return t;
|
|
566
|
-
const r = Number.parseFloat(t);
|
|
567
|
-
return Number.isFinite(r) ? r : 9e3;
|
|
568
|
-
}, Sr = (t, r) => {
|
|
569
|
-
const e = Math.sin((t + 1) * 12.9898 + r * 78.233) * 43758.5453;
|
|
570
|
-
return e - Math.floor(e);
|
|
571
|
-
}, $ = (t, r, e, a) => e + Sr(t, r) * (a - e), w = (t) => Number(t.toFixed(3)), ht = [
|
|
572
|
-
{
|
|
573
|
-
animationName: "g-gradient-morph-drift",
|
|
574
|
-
dx: 20,
|
|
575
|
-
dx2: 8,
|
|
576
|
-
dy: -8,
|
|
577
|
-
dy2: 16,
|
|
578
|
-
originX: "50%",
|
|
579
|
-
originY: "50%",
|
|
580
|
-
scaleMid: 1.16,
|
|
581
|
-
scaleTo: 1.04,
|
|
582
|
-
x: 6,
|
|
583
|
-
y: 58
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
animationName: "g-gradient-morph-orbit",
|
|
587
|
-
dx: -18,
|
|
588
|
-
dx2: 10,
|
|
589
|
-
dy: 18,
|
|
590
|
-
dy2: -10,
|
|
591
|
-
originX: "24%",
|
|
592
|
-
originY: "68%",
|
|
593
|
-
scaleMid: 0.96,
|
|
594
|
-
scaleTo: 1.12,
|
|
595
|
-
x: 44,
|
|
596
|
-
y: 20
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
animationName: "g-gradient-morph-float",
|
|
600
|
-
dx: -16,
|
|
601
|
-
dx2: -8,
|
|
602
|
-
dy: -12,
|
|
603
|
-
dy2: 18,
|
|
604
|
-
originX: "50%",
|
|
605
|
-
originY: "50%",
|
|
606
|
-
scaleMid: 1.2,
|
|
607
|
-
scaleTo: 1.08,
|
|
608
|
-
x: 74,
|
|
609
|
-
y: 58
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
animationName: "g-gradient-morph-orbit",
|
|
613
|
-
dx: 12,
|
|
614
|
-
dx2: -20,
|
|
615
|
-
dy: 14,
|
|
616
|
-
dy2: 6,
|
|
617
|
-
originX: "70%",
|
|
618
|
-
originY: "30%",
|
|
619
|
-
scaleMid: 1.04,
|
|
620
|
-
scaleTo: 1.18,
|
|
621
|
-
x: 88,
|
|
622
|
-
y: 25
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
animationName: "g-gradient-morph-drift",
|
|
626
|
-
dx: 24,
|
|
627
|
-
dx2: -12,
|
|
628
|
-
dy: -16,
|
|
629
|
-
dy2: -8,
|
|
630
|
-
originX: "50%",
|
|
631
|
-
originY: "50%",
|
|
632
|
-
scaleMid: 1.12,
|
|
633
|
-
scaleTo: 0.98,
|
|
634
|
-
x: 30,
|
|
635
|
-
y: 78
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
animationName: "g-gradient-morph-float",
|
|
639
|
-
dx: -22,
|
|
640
|
-
dx2: 14,
|
|
641
|
-
dy: 10,
|
|
642
|
-
dy2: -18,
|
|
643
|
-
originX: "50%",
|
|
644
|
-
originY: "50%",
|
|
645
|
-
scaleMid: 0.94,
|
|
646
|
-
scaleTo: 1.1,
|
|
647
|
-
x: 104,
|
|
648
|
-
y: 82
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
animationName: "g-gradient-morph-orbit",
|
|
652
|
-
dx: 14,
|
|
653
|
-
dx2: -16,
|
|
654
|
-
dy: -22,
|
|
655
|
-
dy2: 10,
|
|
656
|
-
originX: "35%",
|
|
657
|
-
originY: "35%",
|
|
658
|
-
scaleMid: 1.18,
|
|
659
|
-
scaleTo: 1.02,
|
|
660
|
-
x: 55,
|
|
661
|
-
y: 64
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
animationName: "g-gradient-morph-drift",
|
|
665
|
-
dx: -18,
|
|
666
|
-
dx2: 18,
|
|
667
|
-
dy: -14,
|
|
668
|
-
dy2: 14,
|
|
669
|
-
originX: "50%",
|
|
670
|
-
originY: "50%",
|
|
671
|
-
scaleMid: 1.08,
|
|
672
|
-
scaleTo: 0.96,
|
|
673
|
-
x: 18,
|
|
674
|
-
y: 24
|
|
675
|
-
}
|
|
676
|
-
], X = (t, r = {}) => {
|
|
677
|
-
const { blobCount: e, blobOpacity: a, duration: o, scale: n } = T(r), i = xr(o);
|
|
678
|
-
return Array.from({ length: e }, (g, s) => {
|
|
679
|
-
const d = ht[s % ht.length], m = $(s, 1, 0.88, 1.16), c = $(s, 2, 0.86, 1.24), h = S($(s, 3, 0.72, 1) * a), u = $(s, 4, 0, 4), f = (34 + s % 4 * 9) * n * m;
|
|
680
|
-
return {
|
|
681
|
-
animationName: d.animationName,
|
|
682
|
-
blur: w(u),
|
|
683
|
-
color: br(t, s),
|
|
684
|
-
delay: Math.round(
|
|
685
|
-
s * -0.19 * i - $(s, 5, 0, 900)
|
|
686
|
-
),
|
|
687
|
-
dx: w(d.dx * $(s, 6, 0.84, 1.18)),
|
|
688
|
-
dx2: w(d.dx2 * $(s, 7, 0.82, 1.22)),
|
|
689
|
-
dy: w(d.dy * $(s, 8, 0.84, 1.18)),
|
|
690
|
-
dy2: w(d.dy2 * $(s, 9, 0.82, 1.22)),
|
|
691
|
-
duration: Math.round(
|
|
692
|
-
i * (1 + s % 3 * 0.11) * c
|
|
693
|
-
),
|
|
694
|
-
opacity: w(h),
|
|
695
|
-
originX: d.originX,
|
|
696
|
-
originY: d.originY,
|
|
697
|
-
rotateMid: Math.round($(s, 10, 95, 165)),
|
|
698
|
-
rotateTo: Math.round($(s, 11, 220, 310)),
|
|
699
|
-
scaleMid: d.scaleMid,
|
|
700
|
-
scaleTo: d.scaleTo,
|
|
701
|
-
size: w(f),
|
|
702
|
-
x: d.x,
|
|
703
|
-
y: d.y
|
|
704
|
-
};
|
|
705
|
-
});
|
|
706
|
-
}, Y = (t = {}) => `url(#${T(t).id}) blur(${T(t).blur}px)`, at = (t = {}) => {
|
|
707
|
-
const { blur: r, contrast: e, id: a } = T(t), o = Math.max(2, Math.round(r * 0.25)), n = -(e * 0.45), i = e <= 0 ? "" : `
|
|
708
|
-
<feColorMatrix in="g-gradient-morph-blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${e} ${n}" result="g-gradient-morph-goo" />
|
|
709
|
-
<feBlend in="SourceGraphic" in2="g-gradient-morph-goo" />`;
|
|
710
|
-
return `<svg xmlns="${Pt}" width="0" height="0" aria-hidden="true" focusable="false" style="position:absolute;overflow:hidden;inline-size:0;block-size:0;">
|
|
711
|
-
<filter id="${a}" x="-30%" y="-30%" width="160%" height="160%" color-interpolation-filters="sRGB">
|
|
712
|
-
<feGaussianBlur in="SourceGraphic" stdDeviation="${o}" result="g-gradient-morph-blur" />${i}
|
|
713
|
-
</filter>
|
|
714
|
-
</svg>`;
|
|
715
|
-
}, vr = (t, r = {}) => {
|
|
716
|
-
const e = r.selector ?? ".g-gradient-morph", { blendMode: a, opacity: o } = T(r), n = X(t, r);
|
|
717
|
-
return `${e} {
|
|
718
|
-
position: relative;
|
|
719
|
-
overflow: hidden;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
${e}__blobs {
|
|
723
|
-
position: absolute;
|
|
724
|
-
inset: -18%;
|
|
725
|
-
opacity: ${o};
|
|
726
|
-
filter: ${Y(r)};
|
|
727
|
-
mix-blend-mode: ${a};
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
${e}__blob {
|
|
731
|
-
position: absolute;
|
|
732
|
-
transform: translate(-50%, -50%);
|
|
733
|
-
transform-origin: var(--g-gradient-morph-origin-x) var(--g-gradient-morph-origin-y);
|
|
734
|
-
opacity: var(--g-gradient-morph-opacity);
|
|
735
|
-
filter: blur(var(--g-gradient-morph-blur));
|
|
736
|
-
border-radius: 999px;
|
|
737
|
-
background: radial-gradient(circle, var(--g-gradient-morph-blob-color) 0%, transparent 72%);
|
|
738
|
-
animation: var(--g-gradient-morph-animation) var(--g-gradient-morph-duration, 9000ms) ease-in-out infinite alternate;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
${n.map(
|
|
742
|
-
(i, g) => `${e}__blob:nth-child(${g + 1}) {
|
|
743
|
-
top: ${i.y}%;
|
|
744
|
-
left: ${i.x}%;
|
|
745
|
-
width: ${i.size}%;
|
|
746
|
-
aspect-ratio: 1;
|
|
747
|
-
--g-gradient-morph-blob-color: ${i.color};
|
|
748
|
-
--g-gradient-morph-x: ${i.dx}%;
|
|
749
|
-
--g-gradient-morph-x2: ${i.dx2}%;
|
|
750
|
-
--g-gradient-morph-y: ${i.dy}%;
|
|
751
|
-
--g-gradient-morph-y2: ${i.dy2}%;
|
|
752
|
-
--g-gradient-morph-origin-x: ${i.originX};
|
|
753
|
-
--g-gradient-morph-origin-y: ${i.originY};
|
|
754
|
-
--g-gradient-morph-animation: ${i.animationName};
|
|
755
|
-
--g-gradient-morph-blur: ${i.blur}px;
|
|
756
|
-
--g-gradient-morph-opacity: ${i.opacity};
|
|
757
|
-
--g-gradient-morph-rotate-mid: ${i.rotateMid}deg;
|
|
758
|
-
--g-gradient-morph-rotate-to: ${i.rotateTo}deg;
|
|
759
|
-
--g-gradient-morph-scale-mid: ${i.scaleMid};
|
|
760
|
-
--g-gradient-morph-scale: ${i.scaleTo};
|
|
761
|
-
--g-gradient-morph-delay: ${i.delay}ms;
|
|
762
|
-
animation-delay: var(--g-gradient-morph-delay);
|
|
763
|
-
animation-duration: ${D(i.duration)};
|
|
764
|
-
}`
|
|
765
|
-
).join(`
|
|
766
|
-
|
|
767
|
-
`)}
|
|
768
|
-
|
|
769
|
-
@keyframes g-gradient-morph-drift {
|
|
770
|
-
0% {
|
|
771
|
-
transform: translate(-50%, -50%) scale(0.92);
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
42% {
|
|
775
|
-
transform: translate(calc(-50% + var(--g-gradient-morph-x)), calc(-50% + var(--g-gradient-morph-y))) scale(var(--g-gradient-morph-scale));
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
100% {
|
|
779
|
-
transform: translate(calc(-50% + var(--g-gradient-morph-x2)), calc(-50% + var(--g-gradient-morph-y2))) scale(var(--g-gradient-morph-scale-mid));
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
@keyframes g-gradient-morph-float {
|
|
784
|
-
0% {
|
|
785
|
-
transform: translate(-50%, -50%) scale(1);
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
50% {
|
|
789
|
-
transform: translate(calc(-50% + var(--g-gradient-morph-x)), calc(-50% + var(--g-gradient-morph-y))) scale(var(--g-gradient-morph-scale-mid));
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
100% {
|
|
793
|
-
transform: translate(calc(-50% + var(--g-gradient-morph-x2)), calc(-50% + var(--g-gradient-morph-y2))) scale(var(--g-gradient-morph-scale));
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
@keyframes g-gradient-morph-orbit {
|
|
798
|
-
0% {
|
|
799
|
-
transform: translate(-50%, -50%) rotate(0deg) scale(0.96);
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
50% {
|
|
803
|
-
transform: translate(calc(-50% + var(--g-gradient-morph-x)), calc(-50% + var(--g-gradient-morph-y))) rotate(var(--g-gradient-morph-rotate-mid)) scale(var(--g-gradient-morph-scale-mid));
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
100% {
|
|
807
|
-
transform: translate(calc(-50% + var(--g-gradient-morph-x2)), calc(-50% + var(--g-gradient-morph-y2))) rotate(var(--g-gradient-morph-rotate-to)) scale(var(--g-gradient-morph-scale));
|
|
808
|
-
}
|
|
809
|
-
}`;
|
|
810
|
-
}, wr = (t, r = {}) => {
|
|
811
|
-
const e = r.id ?? "g-gradient-morph", a = r.width ?? 360, o = r.height ?? 240, n = r.rx ?? 24, i = `${e}-filter`, g = Y({ ...r, id: i }), s = X(t, r), { blendMode: d, opacity: m } = T(r);
|
|
812
|
-
return `<svg xmlns="${Pt}" viewBox="0 0 ${a} ${o}" width="${a}" height="${o}" role="img">
|
|
813
|
-
<defs>
|
|
814
|
-
<clipPath id="${e}-clip">
|
|
815
|
-
<rect width="${a}" height="${o}" rx="${n}" />
|
|
816
|
-
</clipPath>
|
|
817
|
-
</defs>
|
|
818
|
-
<foreignObject width="${a}" height="${o}" clip-path="url(#${e}-clip)">
|
|
819
|
-
<div xmlns="${ur}" class="g-gradient-material">
|
|
820
|
-
${at({ ...r, id: `${e}-filter` })}
|
|
821
|
-
<style>
|
|
822
|
-
.g-gradient-material {
|
|
823
|
-
position: relative;
|
|
824
|
-
overflow: hidden;
|
|
825
|
-
display: flex;
|
|
826
|
-
width: ${a}px;
|
|
827
|
-
height: ${o}px;
|
|
828
|
-
border-radius: ${n}px;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
.g-gradient-material__surface {
|
|
832
|
-
position: relative;
|
|
833
|
-
overflow: hidden;
|
|
834
|
-
display: flex;
|
|
835
|
-
width: 100%;
|
|
836
|
-
height: 100%;
|
|
837
|
-
border-radius: ${n}px;
|
|
838
|
-
background: ${fr(z(t))};
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
.g-gradient-material__morph {
|
|
842
|
-
--g-gradient-material-morph-bleed: 18%;
|
|
843
|
-
position: absolute;
|
|
844
|
-
z-index: 1;
|
|
845
|
-
inset: calc(-1 * var(--g-gradient-material-morph-bleed));
|
|
846
|
-
width: calc(100% + 2 * var(--g-gradient-material-morph-bleed));
|
|
847
|
-
height: calc(100% + 2 * var(--g-gradient-material-morph-bleed));
|
|
848
|
-
opacity: ${m};
|
|
849
|
-
filter: ${g};
|
|
850
|
-
mix-blend-mode: ${d};
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
.g-gradient-material__morph-blob {
|
|
854
|
-
position: absolute;
|
|
855
|
-
transform-origin: var(--g-gradient-morph-origin-x) var(--g-gradient-morph-origin-y);
|
|
856
|
-
transform: translate(-50%, -50%);
|
|
857
|
-
aspect-ratio: 1;
|
|
858
|
-
border-radius: 999px;
|
|
859
|
-
opacity: var(--g-gradient-morph-opacity);
|
|
860
|
-
background: radial-gradient(circle, var(--g-gradient-morph-blob-color) 0%, transparent 72%);
|
|
861
|
-
filter: blur(var(--g-gradient-morph-blur));
|
|
862
|
-
animation: var(--g-gradient-morph-animation) var(--g-gradient-morph-duration, 9000ms) ease-in-out infinite alternate;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
${s.map(
|
|
866
|
-
(c, h) => `.g-gradient-material__morph-blob:nth-child(${h + 1}) {
|
|
867
|
-
left: ${c.x}%;
|
|
868
|
-
top: ${c.y}%;
|
|
869
|
-
width: ${c.size}%;
|
|
870
|
-
--g-gradient-morph-blob-color: ${c.color};
|
|
871
|
-
--g-gradient-morph-x: ${c.dx}%;
|
|
872
|
-
--g-gradient-morph-x2: ${c.dx2}%;
|
|
873
|
-
--g-gradient-morph-y: ${c.dy}%;
|
|
874
|
-
--g-gradient-morph-y2: ${c.dy2}%;
|
|
875
|
-
--g-gradient-morph-origin-x: ${c.originX};
|
|
876
|
-
--g-gradient-morph-origin-y: ${c.originY};
|
|
877
|
-
--g-gradient-morph-animation: ${c.animationName};
|
|
878
|
-
--g-gradient-morph-blur: ${c.blur}px;
|
|
879
|
-
--g-gradient-morph-opacity: ${c.opacity};
|
|
880
|
-
--g-gradient-morph-rotate-mid: ${c.rotateMid}deg;
|
|
881
|
-
--g-gradient-morph-rotate-to: ${c.rotateTo}deg;
|
|
882
|
-
--g-gradient-morph-scale-mid: ${c.scaleMid};
|
|
883
|
-
--g-gradient-morph-scale: ${c.scaleTo};
|
|
884
|
-
--g-gradient-morph-delay: ${c.delay}ms;
|
|
885
|
-
animation-delay: var(--g-gradient-morph-delay);
|
|
886
|
-
animation-duration: ${D(c.duration)};
|
|
887
|
-
}`
|
|
888
|
-
).join(`
|
|
889
|
-
|
|
890
|
-
`)}
|
|
891
|
-
|
|
892
|
-
@keyframes g-gradient-morph-drift {
|
|
893
|
-
0% { transform: translate(-50%, -50%) scale(0.92); }
|
|
894
|
-
42% { transform: translate(calc(-50% + var(--g-gradient-morph-x)), calc(-50% + var(--g-gradient-morph-y))) scale(var(--g-gradient-morph-scale)); }
|
|
895
|
-
100% { transform: translate(calc(-50% + var(--g-gradient-morph-x2)), calc(-50% + var(--g-gradient-morph-y2))) scale(var(--g-gradient-morph-scale-mid)); }
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
@keyframes g-gradient-morph-float {
|
|
899
|
-
0% { transform: translate(-50%, -50%) scale(1); }
|
|
900
|
-
50% { transform: translate(calc(-50% + var(--g-gradient-morph-x)), calc(-50% + var(--g-gradient-morph-y))) scale(var(--g-gradient-morph-scale-mid)); }
|
|
901
|
-
100% { transform: translate(calc(-50% + var(--g-gradient-morph-x2)), calc(-50% + var(--g-gradient-morph-y2))) scale(var(--g-gradient-morph-scale)); }
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
@keyframes g-gradient-morph-orbit {
|
|
905
|
-
0% { transform: translate(-50%, -50%) rotate(0deg) scale(0.96); }
|
|
906
|
-
50% { transform: translate(calc(-50% + var(--g-gradient-morph-x)), calc(-50% + var(--g-gradient-morph-y))) rotate(var(--g-gradient-morph-rotate-mid)) scale(var(--g-gradient-morph-scale-mid)); }
|
|
907
|
-
100% { transform: translate(calc(-50% + var(--g-gradient-morph-x2)), calc(-50% + var(--g-gradient-morph-y2))) rotate(var(--g-gradient-morph-rotate-to)) scale(var(--g-gradient-morph-scale)); }
|
|
908
|
-
}
|
|
909
|
-
</style>
|
|
910
|
-
<span class="g-gradient-material__surface">
|
|
911
|
-
<span class="g-gradient-material__morph">
|
|
912
|
-
${s.map(() => '<span class="g-gradient-material__morph-blob"></span>').join(`
|
|
913
|
-
`)}
|
|
914
|
-
</span>
|
|
915
|
-
</span>
|
|
916
|
-
</div>
|
|
917
|
-
</foreignObject>
|
|
918
|
-
</svg>`;
|
|
919
|
-
}, Et = (t, r) => {
|
|
920
|
-
const e = t.stops.filter(
|
|
921
|
-
(n) => n.position >= 25 && n.position <= 85
|
|
922
|
-
), a = t.stops.filter(
|
|
923
|
-
(n) => !e.includes(n)
|
|
924
|
-
);
|
|
925
|
-
return [...e, ...a].sort(
|
|
926
|
-
(n, i) => Math.abs(n.position - 50) - Math.abs(i.position - 50)
|
|
927
|
-
).slice(0, r);
|
|
928
|
-
}, Mr = (t, r) => t * ([1, 0.54, 0.3, 0.18][r] ?? 0.12), C = (t, r) => {
|
|
929
|
-
const e = String(t).match(/^(-?\d*\.?\d+)(.*)$/);
|
|
930
|
-
return e ? `${Math.round(Number(e[1]) * r * 1e3) / 1e3}${e[2] || "px"}` : null;
|
|
931
|
-
}, mt = (t, r, e) => C(t, 1 / r) ?? (e === 0 ? M(t) : "0px"), Cr = (t, r) => C(t, 1 / Math.sqrt(r)) ?? M(t), Bt = (t, r = {}) => {
|
|
932
|
-
var v;
|
|
933
|
-
const e = r.x ?? 0, a = r.y ?? 6, o = r.blur ?? 14, n = r.spread ?? -3, i = r.opacity ?? 0.24, g = Math.max(1, Math.round(r.layers ?? 2)), s = ((v = Et(t, 1)[0]) == null ? void 0 : v.color) ?? "#000000", d = `${M(e)} ${M(a)} ${M(o)} ${M(n)} ${O(s, i)}`;
|
|
934
|
-
if (g === 1) return d;
|
|
935
|
-
const m = C(e, 0.35) ?? "0px", c = C(a, 0.35) ?? "2px", h = C(o, 0.3) ?? "4px", u = C(n, 0.5) ?? "-2px", f = Math.min(0.18, i * 0.65);
|
|
936
|
-
return `${`${m} ${c} ${h} ${u} ${O("#000000", f)}`}, ${d}`;
|
|
937
|
-
}, Dt = (t, r = {}) => {
|
|
938
|
-
const e = r.x ?? 0, a = r.y ?? 6, o = r.blur ?? 14, n = r.opacity ?? 0.42, i = Math.max(1, Math.round(r.layers ?? 2)), g = Cr(o, i);
|
|
939
|
-
return Et(t, i).map((s, d) => {
|
|
940
|
-
const m = mt(e, i, d), c = mt(a, i, d);
|
|
941
|
-
return `drop-shadow(${m} ${c} ${g} ${O(s.color, Mr(n, d))})`;
|
|
942
|
-
}).join(" ");
|
|
943
|
-
}, be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
944
|
-
__proto__: null,
|
|
945
|
-
createGradientMorphBlobs: X,
|
|
946
|
-
isGradientMorphBlendMode: At,
|
|
947
|
-
resolveGradientMorphBlendMode: et,
|
|
948
|
-
toGradientBoxShadow: Bt,
|
|
949
|
-
toGradientDropShadow: Dt,
|
|
950
|
-
toGradientMorphCSS: vr,
|
|
951
|
-
toGradientMorphFilter: Y,
|
|
952
|
-
toGradientMorphFilterMarkup: at,
|
|
953
|
-
toGradientMorphMarkup: wr
|
|
954
|
-
}, Symbol.toStringTag, { value: "Module" })), kr = (t, r, e = {}) => {
|
|
955
|
-
const a = e.width ?? t.canvas.width, o = e.height ?? t.canvas.height, n = a / 2, i = o / 2, g = Math.hypot(a, o) / 2, d = ((typeof r.direction == "number" ? r.direction : Number.parseFloat(r.direction) || V) - 90) * Math.PI / 180, m = a / 2, c = o / 2, h = Math.cos(d) * m, u = Math.sin(d) * c, f = r.type === "radial" ? t.createRadialGradient(
|
|
956
|
-
e.x0 ?? n,
|
|
957
|
-
e.y0 ?? i,
|
|
958
|
-
e.r0 ?? 0,
|
|
959
|
-
e.x1 ?? n,
|
|
960
|
-
e.y1 ?? i,
|
|
961
|
-
e.r1 ?? g
|
|
962
|
-
) : r.type === "conic" && typeof t.createConicGradient == "function" ? t.createConicGradient(
|
|
963
|
-
e.startAngle ?? d,
|
|
964
|
-
e.x0 ?? n,
|
|
965
|
-
e.y0 ?? i
|
|
966
|
-
) : t.createLinearGradient(
|
|
967
|
-
e.x0 ?? n - h,
|
|
968
|
-
e.y0 ?? i - u,
|
|
969
|
-
e.x1 ?? n + h,
|
|
970
|
-
e.y1 ?? i + u
|
|
971
|
-
), I = r.type === "conic" ? bt(r.stops) : r.stops;
|
|
972
|
-
for (const v of I)
|
|
973
|
-
f.addColorStop(
|
|
974
|
-
v.position / 100,
|
|
975
|
-
O(v.color, v.opacity)
|
|
976
|
-
);
|
|
977
|
-
return f;
|
|
978
|
-
}, ot = "http://www.w3.org/2000/svg", Tr = "http://www.w3.org/1999/xhtml", j = (t) => t.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"), nt = (t) => {
|
|
979
|
-
const r = t.opacity === void 0 ? "" : ` stop-opacity="${S(t.opacity)}"`;
|
|
980
|
-
return `<stop offset="${t.position}%" stop-color="${t.color}"${r} />`;
|
|
981
|
-
}, _r = (t, r) => {
|
|
982
|
-
var e, a, o;
|
|
983
|
-
return {
|
|
984
|
-
active: r.activeStroke ?? ((e = t.stops[Math.max(0, Math.floor(t.stops.length / 2))]) == null ? void 0 : e.color) ?? ((a = t.stops[0]) == null ? void 0 : a.color) ?? "currentColor",
|
|
985
|
-
background: r.backgroundStroke ?? ((o = t.stops[0]) == null ? void 0 : o.color) ?? r.activeStroke ?? "currentColor"
|
|
986
|
-
};
|
|
987
|
-
}, Gr = (t, r) => {
|
|
988
|
-
var n;
|
|
989
|
-
const e = (n = t.match(/\bviewBox=(["'])(.*?)\1/i)) == null ? void 0 : n[2];
|
|
990
|
-
if (e) return e;
|
|
991
|
-
const a = r.width ?? 240, o = r.height ?? 120;
|
|
992
|
-
return `0 0 ${a} ${o}`;
|
|
993
|
-
}, Or = (t) => {
|
|
994
|
-
var r;
|
|
995
|
-
return ((r = t.replace(/<\?xml[\s\S]*?\?>/gi, "").replace(/<!doctype[\s\S]*?>/gi, "").match(/<svg\b[^>]*>([\s\S]*?)<\/svg>/i)) == null ? void 0 : r[1].trim()) ?? t;
|
|
996
|
-
}, Nr = (t) => {
|
|
997
|
-
const r = t.trim().split(/(?=M\s*[-+.\d])/).map((e) => e.trim()).filter(Boolean);
|
|
998
|
-
return r.length > 1 ? r : [t];
|
|
999
|
-
}, jr = (t) => [...t.matchAll(/<path\b[^>]*\sd=(["'])([\s\S]*?)\1/gi)].flatMap(
|
|
1000
|
-
(r) => Nr(r[2])
|
|
1001
|
-
), zt = (t) => {
|
|
1002
|
-
var r;
|
|
1003
|
-
return Math.max(1, ((r = t.match(/[LlHhVvCcSsQqTtAaZz]/g)) == null ? void 0 : r.length) ?? 0);
|
|
1004
|
-
}, Pr = (t, r) => {
|
|
1005
|
-
const a = 0.5 + (1 - zt(t) / r) * 0.22;
|
|
1006
|
-
return Math.round(a * 1e3) / 1e3;
|
|
1007
|
-
}, it = (t) => {
|
|
1008
|
-
const [r = "0", e = "0", a = "240", o = "120"] = t.trim().split(/[\s,]+/);
|
|
1009
|
-
return {
|
|
1010
|
-
height: Number(o) || 120,
|
|
1011
|
-
width: Number(a) || 240,
|
|
1012
|
-
x: Number(r) || 0,
|
|
1013
|
-
y: Number(e) || 0
|
|
1014
|
-
};
|
|
1015
|
-
}, Ar = (t, r, e) => {
|
|
1016
|
-
if (e.viewBoxPadding === !1) return t;
|
|
1017
|
-
const a = it(t), o = Math.max(
|
|
1018
|
-
r * 2,
|
|
1019
|
-
Math.min(a.width, a.height) * 0.02
|
|
1020
|
-
), n = e.viewBoxPadding ?? o;
|
|
1021
|
-
return [
|
|
1022
|
-
a.x - n,
|
|
1023
|
-
a.y - n,
|
|
1024
|
-
a.width + n * 2,
|
|
1025
|
-
a.height + n * 2
|
|
1026
|
-
].join(" ");
|
|
1027
|
-
}, Er = (t) => {
|
|
1028
|
-
const { height: r, width: e } = it(t);
|
|
1029
|
-
return {
|
|
1030
|
-
height: Number(r) || 120,
|
|
1031
|
-
width: Number(e) || 240
|
|
1032
|
-
};
|
|
1033
|
-
}, Br = (t, r, e) => {
|
|
1034
|
-
if (e.normalizeStrokeWidth === !1) return t;
|
|
1035
|
-
const { height: a, width: o } = Er(r), n = e.strokeWidthBase ?? 180;
|
|
1036
|
-
return t * (Math.min(o, a) / n);
|
|
1037
|
-
}, st = (t, r = {}) => {
|
|
1038
|
-
const e = r.id ?? "g-gradient", a = t.stops.map(nt).join("");
|
|
1039
|
-
return t.type === "radial" ? `<radialGradient id="${e}" cx="${r.cx ?? "50%"}" cy="${r.cy ?? "50%"}" r="${r.r ?? "75%"}">${a}</radialGradient>` : t.type === "conic" ? `<pattern id="${e}" patternUnits="objectBoundingBox" width="1" height="1"><foreignObject x="0" y="0" width="100%" height="100%"><div xmlns="${Tr}" style="width:100%;height:100%;background:${j(z(t))};"></div></foreignObject></pattern>` : `<linearGradient id="${e}" x1="${r.x1 ?? "0%"}" y1="${r.y1 ?? "0%"}" x2="${r.x2 ?? "100%"}" y2="${r.y2 ?? "100%"}">${a}</linearGradient>`;
|
|
1040
|
-
}, Dr = (t, r = {}) => {
|
|
1041
|
-
const e = r.id ?? "g-gradient", a = r.width ?? 240, o = r.height ?? 120, n = r.rx ?? 18;
|
|
1042
|
-
return `<svg xmlns="${ot}" viewBox="0 0 ${a} ${o}" role="img">
|
|
1043
|
-
<defs>
|
|
1044
|
-
${st(t, r)}
|
|
1045
|
-
</defs>
|
|
1046
|
-
<rect width="${a}" height="${o}" rx="${n}" fill="url(#${e})" />
|
|
1047
|
-
</svg>`;
|
|
1048
|
-
}, zr = (t, r, e = {}) => {
|
|
1049
|
-
const o = `${e.id ?? "g-gradient-source"}-stroke`, n = Gr(t, e), i = Or(t), g = jr(t), s = Br(
|
|
1050
|
-
e.strokeWidth ?? 1.4,
|
|
1051
|
-
n,
|
|
1052
|
-
e
|
|
1053
|
-
), d = Ar(n, s, e), { width: m, x: c } = it(d), h = e.linecap ?? "round", u = D(e.duration ?? 3600), f = e.repeatCount ?? "indefinite", I = e.sourceOpacity ?? 0.22, v = r.stops.map(nt).join(""), Rt = Math.max(...g.map(zt));
|
|
1054
|
-
return `<svg xmlns="${ot}" viewBox="${j(d)}" role="img">
|
|
1055
|
-
<defs>
|
|
1056
|
-
<linearGradient id="${o}" gradientUnits="userSpaceOnUse" x1="${c}" y1="0" x2="${c + m}" y2="0">
|
|
1057
|
-
${v}
|
|
1058
|
-
</linearGradient>
|
|
1059
|
-
</defs>
|
|
1060
|
-
<g opacity="${S(I)}">
|
|
1061
|
-
${i}
|
|
1062
|
-
</g>
|
|
1063
|
-
<g fill="none" stroke="url(#${o})" stroke-width="${s}" stroke-linecap="${h}" stroke-linejoin="round">
|
|
1064
|
-
${g.map((lt) => {
|
|
1065
|
-
const gt = Pr(lt, Rt);
|
|
1066
|
-
return `<path d="${j(lt)}" pathLength="100" stroke-dasharray="0 100" stroke-dashoffset="0">
|
|
1067
|
-
<animate attributeName="stroke-dasharray" values="0 100;100 100;0 100" keyTimes="0;${gt};1" dur="${u}" repeatCount="${f}" calcMode="linear" />
|
|
1068
|
-
<animate attributeName="stroke-dashoffset" values="0;0;-100" keyTimes="0;${gt};1" dur="${u}" repeatCount="${f}" calcMode="linear" />
|
|
1069
|
-
</path>`;
|
|
1070
|
-
}).join(`
|
|
1071
|
-
`)}
|
|
1072
|
-
</g>
|
|
1073
|
-
</svg>`;
|
|
1074
|
-
}, Ir = (t, r = {}) => {
|
|
1075
|
-
const a = `${r.id ?? "g-gradient-path"}-stroke`, o = r.width ?? 240, n = r.height ?? 120, i = r.path ?? `M 20 ${n * 0.64} C ${o * 0.28} ${n * 0.18}, ${o * 0.58} ${n * 0.18}, ${o - 20} ${n * 0.64}`, g = r.strokeWidth ?? 12, s = r.linecap ?? "round", d = D(r.duration ?? 2800), m = r.repeatCount ?? "indefinite", c = r.backgroundOpacity ?? 0.24, h = _r(t, r), u = t.stops.map(nt).join("");
|
|
1076
|
-
return `<svg xmlns="${ot}" viewBox="0 0 ${o} ${n}" role="img">
|
|
1077
|
-
<defs>
|
|
1078
|
-
<linearGradient id="${a}" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="${o}" y2="0">
|
|
1079
|
-
${u}
|
|
1080
|
-
</linearGradient>
|
|
1081
|
-
</defs>
|
|
1082
|
-
<path d="${j(i)}" fill="none" stroke="${h.background}" stroke-width="${g}" stroke-linecap="${s}" opacity="${c}" />
|
|
1083
|
-
<path d="${j(i)}" fill="none" stroke="${r.activeStroke ? h.active : `url(#${a})`}" stroke-width="${g}" stroke-linecap="${s}" pathLength="100" stroke-dasharray="100 100" stroke-dashoffset="100">
|
|
1084
|
-
<animate attributeName="stroke-dashoffset" values="100;0;-100" dur="${d}" repeatCount="${m}" />
|
|
1085
|
-
</path>
|
|
1086
|
-
</svg>`;
|
|
1087
|
-
}, xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1088
|
-
__proto__: null,
|
|
1089
|
-
createLinearGradient: Ct,
|
|
1090
|
-
toCanvasGradient: kr,
|
|
1091
|
-
toCssGradient: z,
|
|
1092
|
-
toSvgGradient: st,
|
|
1093
|
-
toSvgGradientMarkup: Dr,
|
|
1094
|
-
toSvgPathAnimationMarkup: Ir,
|
|
1095
|
-
toSvgSourceAnimationMarkup: zr
|
|
1096
|
-
}, Symbol.toStringTag, { value: "Module" })), Lr = ["glare", "soft", "mesh"], Rr = 128;
|
|
1097
|
-
let P = Rr;
|
|
1098
|
-
const y = /* @__PURE__ */ new Map(), Vr = (t) => t.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`), Fr = (t) => Vr(t), Hr = (t, r, e) => `${t}-${r}`, ct = (t) => Object.entries(t).map(([r, e]) => `${r}: ${e};`).join(`
|
|
1099
|
-
`), Ur = (t) => t.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`), Xr = (t) => Object.entries(t).map(([r, e]) => `${Ur(r)}: ${e};`).join(`
|
|
1100
|
-
`), R = (t) => t === null || typeof t != "object" ? JSON.stringify(t) : Array.isArray(t) ? `[${t.map(R).join(",")}]` : `{${Object.entries(t).filter(([, r]) => r !== void 0).sort(([r], [e]) => r.localeCompare(e)).map(
|
|
1101
|
-
([r, e]) => `${JSON.stringify(r)}:${R(e)}`
|
|
1102
|
-
).join(",")}}`, Yr = (t) => {
|
|
1103
|
-
let r = 5381;
|
|
1104
|
-
for (let e = 0; e < t.length; e += 1)
|
|
1105
|
-
r = r * 33 ^ t.charCodeAt(e);
|
|
1106
|
-
return (r >>> 0).toString(36);
|
|
1107
|
-
}, Kr = (t, r) => R({ options: r, seed: t }), Wr = (t) => {
|
|
1108
|
-
const r = y.get(t);
|
|
1109
|
-
if (r)
|
|
1110
|
-
return y.delete(t), y.set(t, r), r;
|
|
1111
|
-
}, qr = (t, r) => {
|
|
1112
|
-
if (P <= 0) return r;
|
|
1113
|
-
for (y.set(t, r); y.size > P; ) {
|
|
1114
|
-
const e = y.keys().next().value;
|
|
1115
|
-
if (e === void 0) break;
|
|
1116
|
-
y.delete(e);
|
|
1117
|
-
}
|
|
1118
|
-
return r;
|
|
1119
|
-
}, Jr = () => {
|
|
1120
|
-
y.clear();
|
|
1121
|
-
}, Zr = (t) => {
|
|
1122
|
-
for (P = Math.max(0, Math.floor(t)); y.size > P; ) {
|
|
1123
|
-
const r = y.keys().next().value;
|
|
1124
|
-
if (r === void 0) break;
|
|
1125
|
-
y.delete(r);
|
|
1126
|
-
}
|
|
1127
|
-
}, Qr = () => ({
|
|
1128
|
-
limit: P,
|
|
1129
|
-
size: y.size
|
|
1130
|
-
}), te = (t, r, e, a) => {
|
|
1131
|
-
const o = ct(r), n = Xr(e), i = [o, n].filter(Boolean).join(`
|
|
1132
|
-
`);
|
|
1133
|
-
return [`.${t} {
|
|
1134
|
-
${i}
|
|
1135
|
-
}`, a].filter(Boolean).join(`
|
|
1136
|
-
|
|
1137
|
-
`);
|
|
1138
|
-
}, re = (t, r) => t in r, It = (t, r) => re(t, r) ? Nt(t, r) : t === "soft" ? {
|
|
1139
|
-
label: "Soft",
|
|
1140
|
-
description: "Quiet monochrome radial gradient.",
|
|
1141
|
-
gradient: {
|
|
1142
|
-
recipe: "monochrome",
|
|
1143
|
-
type: "radial",
|
|
1144
|
-
position: "center",
|
|
1145
|
-
shape: "ellipse"
|
|
1146
|
-
},
|
|
1147
|
-
shadow: {
|
|
1148
|
-
layers: 2,
|
|
1149
|
-
opacity: 0.18,
|
|
1150
|
-
blur: 18,
|
|
1151
|
-
y: 7,
|
|
1152
|
-
spread: -4
|
|
1153
|
-
},
|
|
1154
|
-
dropShadow: {
|
|
1155
|
-
layers: 2,
|
|
1156
|
-
opacity: 0.26,
|
|
1157
|
-
blur: 16,
|
|
1158
|
-
y: 6
|
|
1159
|
-
},
|
|
1160
|
-
animation: {
|
|
1161
|
-
preset: "pulse",
|
|
1162
|
-
duration: 7200,
|
|
1163
|
-
easing: "ease-in-out"
|
|
1164
|
-
}
|
|
1165
|
-
} : t === "mesh" ? null : {
|
|
1166
|
-
label: t,
|
|
1167
|
-
gradient: {
|
|
1168
|
-
recipe: t,
|
|
1169
|
-
type: "linear",
|
|
1170
|
-
direction: t === "glare" ? 135 : 145
|
|
1171
|
-
}
|
|
1172
|
-
}, ee = (t) => {
|
|
1173
|
-
const r = [
|
|
1174
|
-
`radial-gradient(circle at 16% 18%, ${p(t, -42, 72, 1.05)} 0%, transparent 34%)`,
|
|
1175
|
-
`radial-gradient(circle at 86% 20%, ${N(t)} 0%, transparent 32%)`,
|
|
1176
|
-
`radial-gradient(circle at 50% 84%, ${p(t, 56, 64, 1.08)} 0%, transparent 38%)`,
|
|
1177
|
-
`linear-gradient(135deg, ${b(t, 94)}, ${b(t, 28)})`
|
|
1178
|
-
];
|
|
1179
|
-
return {
|
|
1180
|
-
layers: r,
|
|
1181
|
-
value: r.join(", ")
|
|
1182
|
-
};
|
|
1183
|
-
}, ae = (t, r, e, a, o) => {
|
|
1184
|
-
if (r === "mesh") {
|
|
1185
|
-
const s = ee(t);
|
|
1186
|
-
return {
|
|
1187
|
-
cssVar: e,
|
|
1188
|
-
layers: s.layers,
|
|
1189
|
-
value: s.value
|
|
1190
|
-
};
|
|
1191
|
-
}
|
|
1192
|
-
const n = It(r, o), i = H(t), g = U(i, {
|
|
1193
|
-
...n == null ? void 0 : n.gradient,
|
|
1194
|
-
...a
|
|
1195
|
-
});
|
|
1196
|
-
return {
|
|
1197
|
-
cssVar: e,
|
|
1198
|
-
model: g,
|
|
1199
|
-
stops: g.stops,
|
|
1200
|
-
svg: st(g, { id: e.replace(/^--/, "") }),
|
|
1201
|
-
value: z(g)
|
|
1202
|
-
};
|
|
1203
|
-
}, oe = (t, r, e, a) => {
|
|
1204
|
-
var g, s;
|
|
1205
|
-
if (!t) return {};
|
|
1206
|
-
const o = `${r.replace(/^--/, "")}-morph`, n = et(
|
|
1207
|
-
(g = a == null ? void 0 : a.morph) == null ? void 0 : g.blendMode
|
|
1208
|
-
), i = {
|
|
1209
|
-
...a == null ? void 0 : a.morph,
|
|
1210
|
-
id: ((s = a == null ? void 0 : a.morph) == null ? void 0 : s.id) ?? o
|
|
1211
|
-
};
|
|
1212
|
-
return {
|
|
1213
|
-
boxShadow: {
|
|
1214
|
-
cssVar: `${r}-shadow`,
|
|
1215
|
-
value: Bt(t, (a == null ? void 0 : a.shadow) ?? (e == null ? void 0 : e.shadow))
|
|
1216
|
-
},
|
|
1217
|
-
dropShadow: {
|
|
1218
|
-
cssVar: `${r}-drop-shadow`,
|
|
1219
|
-
value: Dt(
|
|
1220
|
-
t,
|
|
1221
|
-
(a == null ? void 0 : a.dropShadow) ?? (e == null ? void 0 : e.dropShadow)
|
|
1222
|
-
)
|
|
1223
|
-
},
|
|
1224
|
-
morph: {
|
|
1225
|
-
blendMode: n,
|
|
1226
|
-
blendModeCssVar: `${r}-morph-blend-mode`,
|
|
1227
|
-
cssVar: `${r}-morph`,
|
|
1228
|
-
svg: at(i),
|
|
1229
|
-
value: Y(i)
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
1232
|
-
}, ne = (t, r, e, a) => {
|
|
1233
|
-
var n;
|
|
1234
|
-
const o = {
|
|
1235
|
-
...e == null ? void 0 : e.animation,
|
|
1236
|
-
...a,
|
|
1237
|
-
name: `g-gradient-${t}-${(a == null ? void 0 : a.preset) ?? ((n = e == null ? void 0 : e.animation) == null ? void 0 : n.preset) ?? "shift"}`,
|
|
1238
|
-
selector: `.g-gradient-${t}`
|
|
1239
|
-
};
|
|
1240
|
-
return {
|
|
1241
|
-
css: vt(o),
|
|
1242
|
-
cssVar: `${r}-animation`,
|
|
1243
|
-
keyframes: rt(o),
|
|
1244
|
-
name: o.name,
|
|
1245
|
-
value: xt(o)
|
|
1246
|
-
};
|
|
1247
|
-
}, dt = (t, r = "glare", e = {}) => {
|
|
1248
|
-
const a = e.registry ?? L, o = Fr(r), n = Hr(e.prefix ?? "--g-gradient", o), i = It(r, a), s = H(t)[500], d = ae(
|
|
1249
|
-
s,
|
|
1250
|
-
r,
|
|
1251
|
-
n,
|
|
1252
|
-
e,
|
|
1253
|
-
a
|
|
1254
|
-
), m = {
|
|
1255
|
-
[n]: d.value
|
|
1256
|
-
}, c = e.effects ? oe(d.model, n, i, {
|
|
1257
|
-
dropShadow: e.dropShadow,
|
|
1258
|
-
morph: e.morph,
|
|
1259
|
-
shadow: e.shadow
|
|
1260
|
-
}) : void 0, h = e.animations ? ne(o, n, i, e.animation) : void 0;
|
|
1261
|
-
return c != null && c.boxShadow && (m[c.boxShadow.cssVar] = c.boxShadow.value), c != null && c.dropShadow && (m[c.dropShadow.cssVar] = c.dropShadow.value), c != null && c.morph && (m[c.morph.cssVar] = c.morph.value, m[c.morph.blendModeCssVar] = c.morph.blendMode), h && (m[h.cssVar] = h.value), {
|
|
1262
|
-
animation: h,
|
|
1263
|
-
cssText: ct(m),
|
|
1264
|
-
cssVars: m,
|
|
1265
|
-
description: i == null ? void 0 : i.description,
|
|
1266
|
-
effects: c,
|
|
1267
|
-
gradient: d,
|
|
1268
|
-
keyframes: (h == null ? void 0 : h.keyframes) ?? "",
|
|
1269
|
-
label: (i == null ? void 0 : i.label) ?? o,
|
|
1270
|
-
name: o
|
|
1271
|
-
};
|
|
1272
|
-
}, ie = (t, r = {}) => {
|
|
1273
|
-
const e = r.recipes ?? Lr, a = {}, o = {}, n = {}, i = {}, g = [];
|
|
1274
|
-
for (const s of e) {
|
|
1275
|
-
const d = dt(t, s, {
|
|
1276
|
-
animations: r.animations,
|
|
1277
|
-
effects: r.effects,
|
|
1278
|
-
morph: r.morph,
|
|
1279
|
-
prefix: r.prefix,
|
|
1280
|
-
registry: r.registry
|
|
1281
|
-
});
|
|
1282
|
-
a[d.name] = d.gradient, Object.assign(i, d.cssVars), d.effects && (o[d.name] = d.effects), d.animation && (n[d.name] = d.animation, g.push(d.animation.keyframes));
|
|
1283
|
-
}
|
|
1284
|
-
return {
|
|
1285
|
-
animations: n,
|
|
1286
|
-
cssText: ct(i),
|
|
1287
|
-
cssVars: i,
|
|
1288
|
-
effects: o,
|
|
1289
|
-
gradients: a,
|
|
1290
|
-
keyframes: g.join(`
|
|
1291
|
-
`)
|
|
1292
|
-
};
|
|
1293
|
-
}, se = (t, r = {}) => {
|
|
1294
|
-
var u, f;
|
|
1295
|
-
const e = Kr(t, r), a = Wr(e);
|
|
1296
|
-
if (a) return a;
|
|
1297
|
-
const { className: o, id: n, recipe: i = "glare", ...g } = r, s = dt(t, i, g), d = s.gradient.model && r.effects && r.morph ? X(s.gradient.model, r.morph) : void 0, m = n ?? `g-gradient-${s.name}-${Yr(
|
|
1298
|
-
R({ options: r, seed: t })
|
|
1299
|
-
)}`, c = o ?? m, h = {
|
|
1300
|
-
backgroundImage: `var(${s.gradient.cssVar})`
|
|
1301
|
-
};
|
|
1302
|
-
return (u = s.effects) != null && u.boxShadow && (h.boxShadow = `var(${s.effects.boxShadow.cssVar})`), (f = s.effects) != null && f.dropShadow && (h.filter = `var(${s.effects.dropShadow.cssVar})`), s.animation && (h.animation = `var(${s.animation.cssVar})`), qr(e, {
|
|
1303
|
-
animation: s.animation,
|
|
1304
|
-
className: c,
|
|
1305
|
-
cssText: te(
|
|
1306
|
-
c,
|
|
1307
|
-
s.cssVars,
|
|
1308
|
-
h,
|
|
1309
|
-
s.keyframes
|
|
1310
|
-
),
|
|
1311
|
-
cssVars: s.cssVars,
|
|
1312
|
-
effects: s.effects,
|
|
1313
|
-
gradient: s.gradient,
|
|
1314
|
-
id: m,
|
|
1315
|
-
keyframes: s.keyframes,
|
|
1316
|
-
morphBlobs: d,
|
|
1317
|
-
preset: s,
|
|
1318
|
-
style: h
|
|
1319
|
-
});
|
|
1320
|
-
}, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1321
|
-
__proto__: null,
|
|
1322
|
-
clearGradientMaterialCache: Jr,
|
|
1323
|
-
createGradientMaterial: se,
|
|
1324
|
-
createGradientPreset: dt,
|
|
1325
|
-
createGradientTokens: ie,
|
|
1326
|
-
getGradientMaterialCacheStats: Qr,
|
|
1327
|
-
setGradientMaterialCacheLimit: Zr
|
|
1328
|
-
}, Symbol.toStringTag, { value: "Module" })), A = (t) => {
|
|
1329
|
-
const r = ut(t);
|
|
1330
|
-
if (!r)
|
|
1331
|
-
throw new Error(`Unsupported generated color: ${String(t)}`);
|
|
1332
|
-
return ft(r);
|
|
1333
|
-
}, ce = (t) => `${t.charAt(0).toUpperCase()}${t.slice(1)}`, G = (t) => `on${ce(t)}`, de = (t) => t.replace(
|
|
1334
|
-
/-([a-z0-9])/g,
|
|
1335
|
-
(r, e) => e.toUpperCase()
|
|
1336
|
-
), Lt = (t, r, e, a) => {
|
|
1337
|
-
const { colors: o, onColors: n } = a;
|
|
1338
|
-
for (const i of Vt) {
|
|
1339
|
-
const g = o[i];
|
|
1340
|
-
t[`${e}${i}`] = A(g), t[`${G(e)}${i}`] = A(n[i]), r[`${e}${i}`] = _(o, { shade: i });
|
|
1341
|
-
}
|
|
1342
|
-
t[e] = t[`${e}500`], t[G(e)] = t[`${G(e)}500`], r[e] = r[`${e}500`];
|
|
1343
|
-
}, le = (t) => typeof t == "object" && t !== null && "color" in t, ge = (t) => le(t) ? t : { color: t }, he = (t, r, e, a) => {
|
|
1344
|
-
t[e] = A(a.color), t[G(e)] = A(
|
|
1345
|
-
a.onColor ?? Ht(a.color)
|
|
1346
|
-
), a.gradient !== !1 && (r[e] = a.gradient ?? Ut(a.color));
|
|
1347
|
-
}, me = (t, r, e, a, o) => {
|
|
1348
|
-
const n = de(Ft(a)), i = ge(o);
|
|
1349
|
-
if (i.palette === !1) {
|
|
1350
|
-
he(t, r, n, i);
|
|
1351
|
-
return;
|
|
1352
|
-
}
|
|
1353
|
-
const g = J(i.color);
|
|
1354
|
-
e[n] = g, Lt(t, r, n, g), i.onColor && (t[G(n)] = A(i.onColor)), i.gradient && (r[n] = i.gradient);
|
|
1355
|
-
}, ve = (t, r = {}) => {
|
|
1356
|
-
const e = {}, a = {}, o = {
|
|
1357
|
-
source: J(t)
|
|
1358
|
-
};
|
|
1359
|
-
for (const [n, i] of Object.entries(Z))
|
|
1360
|
-
o[n] = J(i);
|
|
1361
|
-
for (const [n, i] of Object.entries(o))
|
|
1362
|
-
Lt(e, a, n, i);
|
|
1363
|
-
for (const [n, i] of Object.entries(r.colors ?? {}))
|
|
1364
|
-
me(e, a, o, n, i);
|
|
1365
|
-
return a.main = _(o.source.colors), a.error = _(o.red.colors, { shade: 600 }), a.warning = _(o.amber.colors, { shade: 600 }), a.success = _(o.green.colors, { shade: 600 }), {
|
|
1366
|
-
colors: e,
|
|
1367
|
-
gradients: a,
|
|
1368
|
-
palettes: o
|
|
1369
|
-
};
|
|
1370
|
-
}, pe = (t) => {
|
|
1371
|
-
const r = ut(t);
|
|
1372
|
-
if (!r)
|
|
1373
|
-
throw new Error(`Unsupported generated color: ${String(t)}`);
|
|
1374
|
-
return ft(r);
|
|
1375
|
-
}, q = (t, r) => {
|
|
1376
|
-
const e = pt(B(t)).schemes[r].toJSON();
|
|
1377
|
-
return Object.fromEntries(
|
|
1378
|
-
Object.entries(e).map(([a, o]) => [
|
|
1379
|
-
a,
|
|
1380
|
-
pe(E(o))
|
|
1381
|
-
])
|
|
1382
|
-
);
|
|
1383
|
-
}, we = (t, r) => {
|
|
1384
|
-
const e = q(t, r), a = q(Z.amber, r), o = q(Z.green, r);
|
|
1385
|
-
return {
|
|
1386
|
-
...e,
|
|
1387
|
-
warning: a.primary,
|
|
1388
|
-
onWarning: a.onPrimary,
|
|
1389
|
-
warningContainer: a.primaryContainer,
|
|
1390
|
-
onWarningContainer: a.onPrimaryContainer,
|
|
1391
|
-
success: o.primary,
|
|
1392
|
-
onSuccess: o.onPrimary,
|
|
1393
|
-
successContainer: o.primaryContainer,
|
|
1394
|
-
onSuccessContainer: o.onPrimaryContainer
|
|
1395
|
-
};
|
|
1396
|
-
};
|
|
1397
|
-
export {
|
|
1398
|
-
we as a,
|
|
1399
|
-
$e as b,
|
|
1400
|
-
ve as c,
|
|
1401
|
-
be as d,
|
|
1402
|
-
xe as e,
|
|
1403
|
-
ye as i,
|
|
1404
|
-
Se as m
|
|
1405
|
-
};
|