@c15t/react 0.0.1-rc.4 → 0.0.1-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/__tests__/styles.spec.cjs +18 -18
- package/dist/components/consent-manager-dialog/__tests__/styles.spec.d.ts.map +1 -0
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/__tests__/styles.spec.js +18 -18
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/__tests__/utils.cjs +2 -2
- package/dist/{consent-manager-widget → components/consent-manager-dialog}/__tests__/utils.d.ts +1 -1
- package/dist/components/consent-manager-dialog/__tests__/utils.d.ts.map +1 -0
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/__tests__/utils.js +2 -2
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/atoms/dialog-card.cjs +31 -16
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/atoms/dialog-card.d.ts +2 -2
- package/dist/components/consent-manager-dialog/atoms/dialog-card.d.ts.map +1 -0
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/atoms/dialog-card.js +25 -24
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/atoms/overlay.cjs +22 -6
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/atoms/overlay.d.ts +1 -1
- package/dist/components/consent-manager-dialog/atoms/overlay.d.ts.map +1 -0
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/atoms/overlay.js +8 -6
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/consent-manager-dialog.cjs +22 -11
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/consent-manager-dialog.d.ts +1 -3
- package/dist/components/consent-manager-dialog/consent-manager-dialog.d.ts.map +1 -0
- package/dist/{consent-manager-dialog → components/consent-manager-dialog}/consent-manager-dialog.js +8 -11
- package/dist/{common/utils/theme.cjs → components/consent-manager-dialog/consent-manager-dialog.module.cjs} +16 -14
- package/dist/components/consent-manager-dialog/consent-manager-dialog.module.js +16 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog_module.css +203 -0
- package/dist/components/consent-manager-dialog/index.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/theme.d.ts +19 -0
- package/dist/components/consent-manager-dialog/theme.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/__tests__/styles.spec.cjs +21 -21
- package/dist/components/consent-manager-widget/__tests__/styles.spec.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/__tests__/styles.spec.js +21 -21
- package/dist/{consent-manager-widget → components/consent-manager-widget}/__tests__/utils.cjs +2 -2
- package/dist/{consent-manager-dialog → components/consent-manager-widget}/__tests__/utils.d.ts +1 -1
- package/dist/components/consent-manager-widget/__tests__/utils.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/__tests__/utils.js +2 -2
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/accordion.cjs +44 -22
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/accordion.d.ts +13 -13
- package/dist/components/consent-manager-widget/atoms/accordion.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/accordion.js +32 -24
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/button.cjs +22 -6
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/button.d.ts +12 -2
- package/dist/components/consent-manager-widget/atoms/button.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/button.js +22 -8
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/footer.cjs +25 -21
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/footer.d.ts +4 -11
- package/dist/components/consent-manager-widget/atoms/footer.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/atoms/footer.js +23 -0
- package/dist/components/consent-manager-widget/atoms/logo.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/root.cjs +5 -9
- package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/root.d.ts +1 -1
- package/dist/components/consent-manager-widget/atoms/root.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/atoms/root.js +25 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/consent-manager-widget.cjs +10 -12
- package/dist/{consent-manager-widget → components/consent-manager-widget}/consent-manager-widget.d.ts +0 -7
- package/dist/components/consent-manager-widget/consent-manager-widget.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/consent-manager-widget.js +13 -15
- package/dist/components/consent-manager-widget/consent-manager-widget.module.cjs +61 -0
- package/dist/components/consent-manager-widget/consent-manager-widget.module.js +27 -0
- package/dist/components/consent-manager-widget/consent-manager-widget_module.css +337 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/index.cjs +20 -13
- package/dist/{consent-manager-widget → components/consent-manager-widget}/index.d.ts +2 -1
- package/dist/components/consent-manager-widget/index.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/index.js +8 -1
- package/dist/components/consent-manager-widget/theme.d.ts +50 -0
- package/dist/components/consent-manager-widget/theme.d.ts.map +1 -0
- package/dist/{consent-manager-widget → components/consent-manager-widget}/types.d.ts +1 -1
- package/dist/components/consent-manager-widget/types.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/__tests__/styles.spec.cjs +25 -23
- package/dist/components/cookie-banner/__tests__/styles.spec.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/__tests__/styles.spec.js +25 -23
- package/dist/{cookie-banner → components/cookie-banner}/__tests__/utils.cjs +2 -2
- package/dist/{cookie-banner → components/cookie-banner}/__tests__/utils.d.ts +1 -1
- package/dist/components/cookie-banner/__tests__/utils.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/__tests__/utils.js +2 -2
- package/dist/{cookie-banner → components/cookie-banner}/atoms/overlay.cjs +22 -6
- package/dist/components/cookie-banner/atoms/overlay.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/atoms/overlay.js +8 -6
- package/dist/{cookie-banner → components/cookie-banner}/atoms/root.cjs +25 -11
- package/dist/components/cookie-banner/atoms/root.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/atoms/root.js +11 -11
- package/dist/{cookie-banner → components/cookie-banner}/components.cjs +31 -16
- package/dist/{cookie-banner → components/cookie-banner}/components.d.ts +2 -2
- package/dist/components/cookie-banner/components.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/components.js +26 -25
- package/dist/{cookie-banner → components/cookie-banner}/cookie-banner.cjs +6 -7
- package/dist/{cookie-banner → components/cookie-banner}/cookie-banner.d.ts +1 -3
- package/dist/components/cookie-banner/cookie-banner.d.ts.map +1 -0
- package/dist/{cookie-banner → components/cookie-banner}/cookie-banner.js +9 -10
- package/dist/{common/index.cjs → components/cookie-banner/cookie-banner.module.cjs} +21 -8
- package/dist/components/cookie-banner/cookie-banner.module.js +21 -0
- package/dist/components/cookie-banner/cookie-banner_module.css +224 -0
- package/dist/components/cookie-banner/error-boundary.d.ts.map +1 -0
- package/dist/components/cookie-banner/index.d.ts.map +1 -0
- package/dist/components/cookie-banner/theme.d.ts +71 -0
- package/dist/components/cookie-banner/theme.d.ts.map +1 -0
- package/dist/components/shared/libs/polymorphic.d.ts.map +1 -0
- package/dist/components/shared/libs/recursive-clone-children.d.ts.map +1 -0
- package/dist/{primitives → components/shared/primitives}/box.cjs +2 -2
- package/dist/{primitives → components/shared/primitives}/box.d.ts +2 -2
- package/dist/components/shared/primitives/box.d.ts.map +1 -0
- package/dist/{primitives → components/shared/primitives}/box.js +2 -2
- package/dist/{primitives → components/shared/primitives}/button.cjs +9 -6
- package/dist/{primitives → components/shared/primitives}/button.d.ts +36 -36
- package/dist/components/shared/primitives/button.d.ts.map +1 -0
- package/dist/{primitives → components/shared/primitives}/button.js +9 -6
- package/dist/{primitives → components/shared/primitives}/button.types.d.ts +4 -3
- package/dist/components/shared/primitives/button.types.d.ts.map +1 -0
- package/dist/{ui/components → components/shared/ui/accordion}/accordion.cjs +37 -22
- package/dist/{ui/components → components/shared/ui/accordion}/accordion.d.ts +5 -6
- package/dist/components/shared/ui/accordion/accordion.d.ts.map +1 -0
- package/dist/{ui/components → components/shared/ui/accordion}/accordion.js +25 -24
- package/dist/{theme/context.cjs → components/shared/ui/accordion/accordion.module.cjs} +14 -9
- package/dist/components/shared/ui/accordion/accordion.module.js +15 -0
- package/dist/components/shared/ui/accordion/accordion.types.d.ts +74 -0
- package/dist/components/shared/ui/accordion/accordion.types.d.ts.map +1 -0
- package/dist/components/shared/ui/accordion/accordion_module.css +196 -0
- package/dist/components/shared/ui/accordion/index.cjs +76 -0
- package/dist/components/shared/ui/accordion/index.d.ts +3 -0
- package/dist/components/shared/ui/accordion/index.d.ts.map +1 -0
- package/dist/components/shared/ui/accordion/index.js +2 -0
- package/dist/{ui/components → components/shared/ui/button}/button.cjs +31 -17
- package/dist/{ui/components → components/shared/ui/button}/button.d.ts +74 -75
- package/dist/components/shared/ui/button/button.d.ts.map +1 -0
- package/dist/{ui/components → components/shared/ui/button}/button.js +18 -18
- package/dist/components/shared/ui/button/button.module.cjs +65 -0
- package/dist/components/shared/ui/button/button.module.js +31 -0
- package/dist/components/shared/ui/button/button.types.cjs +19 -0
- package/dist/components/shared/ui/button/button.types.d.ts +45 -0
- package/dist/components/shared/ui/button/button.types.d.ts.map +1 -0
- package/dist/components/shared/ui/button/button_module.css +247 -0
- package/dist/components/shared/ui/button/index.cjs +76 -0
- package/dist/components/shared/ui/button/index.d.ts +3 -0
- package/dist/components/shared/ui/button/index.d.ts.map +1 -0
- package/dist/components/shared/ui/button/index.js +2 -0
- package/dist/components/shared/ui/icon.d.ts.map +1 -0
- package/dist/components/shared/ui/logo.d.ts.map +1 -0
- package/dist/components/shared/ui/switch/index.cjs +76 -0
- package/dist/components/shared/ui/switch/index.d.ts +3 -0
- package/dist/components/shared/ui/switch/index.d.ts.map +1 -0
- package/dist/components/shared/ui/switch/index.js +2 -0
- package/dist/{ui/components → components/shared/ui/switch}/switch.cjs +23 -9
- package/dist/{ui/components → components/shared/ui/switch}/switch.d.ts +1 -2
- package/dist/components/shared/ui/switch/switch.d.ts.map +1 -0
- package/dist/{ui/components → components/shared/ui/switch}/switch.js +9 -9
- package/dist/{theme/index.cjs → components/shared/ui/switch/switch.module.cjs} +11 -5
- package/dist/components/shared/ui/switch/switch.module.js +11 -0
- package/dist/components/shared/ui/switch/switch.types.cjs +19 -0
- package/dist/components/shared/ui/switch/switch.types.d.ts +34 -0
- package/dist/components/shared/ui/switch/switch.types.d.ts.map +1 -0
- package/dist/components/shared/ui/switch/switch.types.js +0 -0
- package/dist/components/shared/ui/switch/switch_module.css +175 -0
- package/dist/context/consent-manager-context.d.ts.map +1 -0
- package/dist/{theme/style-keys.cjs → context/theme-context.cjs} +6 -5
- package/dist/{theme/context.d.ts → context/theme-context.d.ts} +10 -19
- package/dist/context/theme-context.d.ts.map +1 -0
- package/dist/context/theme-context.js +5 -0
- package/dist/hooks/index.cjs +81 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +2 -0
- package/dist/{common/hooks → hooks}/use-consent-manager.d.ts +0 -2
- package/dist/hooks/use-consent-manager.d.ts.map +1 -0
- package/dist/{common/store/use-consent-manager.cjs → hooks/use-theme.cjs} +18 -9
- package/dist/hooks/use-theme.d.ts +2 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/hooks/use-theme.js +22 -0
- package/dist/hooks/use-translations.d.ts.map +1 -0
- package/dist/index.cjs +29 -17
- package/dist/index.d.ts +15 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -8
- package/dist/{common/components → providers}/consent-manager-provider.cjs +18 -9
- package/dist/{common/components → providers}/consent-manager-provider.d.ts +1 -1
- package/dist/providers/consent-manager-provider.d.ts.map +1 -0
- package/dist/{common/components → providers}/consent-manager-provider.js +18 -9
- package/dist/types/consent-manager.cjs +19 -0
- package/dist/{common/types → types}/consent-manager.d.ts +13 -0
- package/dist/types/consent-manager.d.ts.map +1 -0
- package/dist/types/consent-manager.js +0 -0
- package/dist/types/theme/index.cjs +76 -0
- package/dist/types/theme/index.d.ts +3 -0
- package/dist/types/theme/index.d.ts.map +1 -0
- package/dist/types/theme/index.js +2 -0
- package/dist/types/theme/style-keys.cjs +19 -0
- package/dist/types/theme/style-keys.d.ts +14 -0
- package/dist/types/theme/style-keys.d.ts.map +1 -0
- package/dist/types/theme/style-keys.js +0 -0
- package/dist/types/theme/style-types.cjs +19 -0
- package/dist/types/theme/style-types.d.ts +34 -0
- package/dist/types/theme/style-types.d.ts.map +1 -0
- package/dist/types/theme/style-types.js +0 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/{theme/utils → utils}/merge-styles.cjs +2 -2
- package/dist/utils/merge-styles.d.ts +11 -0
- package/dist/utils/merge-styles.d.ts.map +1 -0
- package/dist/{theme/utils → utils}/merge-styles.js +2 -2
- package/dist/utils/translations.d.ts.map +1 -0
- package/dist/{theme/use-style.cjs → utils/use-styles.cjs} +5 -5
- package/dist/{theme/use-style.d.ts → utils/use-styles.d.ts} +4 -4
- package/dist/utils/use-styles.d.ts.map +1 -0
- package/dist/{theme/use-style.js → utils/use-styles.js} +5 -5
- package/package.json +31 -16
- package/dist/common/components/consent-manager-provider.d.ts.map +0 -1
- package/dist/common/context/consent-manager-context.d.ts.map +0 -1
- package/dist/common/hooks/use-consent-manager.d.ts.map +0 -1
- package/dist/common/index.d.ts +0 -7
- package/dist/common/index.d.ts.map +0 -1
- package/dist/common/index.js +0 -9
- package/dist/common/store/use-consent-manager.d.ts +0 -136
- package/dist/common/store/use-consent-manager.d.ts.map +0 -1
- package/dist/common/store/use-consent-manager.js +0 -13
- package/dist/common/store/use-translations.d.ts.map +0 -1
- package/dist/common/types/consent-manager.d.ts.map +0 -1
- package/dist/common/utils/theme.d.ts +0 -8
- package/dist/common/utils/theme.d.ts.map +0 -1
- package/dist/common/utils/theme.js +0 -14
- package/dist/common/utils/translations.d.ts.map +0 -1
- package/dist/consent-manager-dialog/__tests__/styles.spec.d.ts.map +0 -1
- package/dist/consent-manager-dialog/__tests__/utils.d.ts.map +0 -1
- package/dist/consent-manager-dialog/atoms/dialog-card.d.ts.map +0 -1
- package/dist/consent-manager-dialog/atoms/overlay.d.ts.map +0 -1
- package/dist/consent-manager-dialog/consent-manager-dialog.css +0 -82
- package/dist/consent-manager-dialog/consent-manager-dialog.d.ts.map +0 -1
- package/dist/consent-manager-dialog/index.d.ts.map +0 -1
- package/dist/consent-manager-dialog/theme.d.ts +0 -19
- package/dist/consent-manager-dialog/theme.d.ts.map +0 -1
- package/dist/consent-manager-widget/__tests__/styles.spec.d.ts.map +0 -1
- package/dist/consent-manager-widget/__tests__/utils.d.ts.map +0 -1
- package/dist/consent-manager-widget/atoms/accordion.d.ts.map +0 -1
- package/dist/consent-manager-widget/atoms/button.d.ts.map +0 -1
- package/dist/consent-manager-widget/atoms/footer.d.ts.map +0 -1
- package/dist/consent-manager-widget/atoms/footer.js +0 -34
- package/dist/consent-manager-widget/atoms/logo.d.ts.map +0 -1
- package/dist/consent-manager-widget/atoms/root.d.ts.map +0 -1
- package/dist/consent-manager-widget/atoms/root.js +0 -29
- package/dist/consent-manager-widget/consent-manager-widget.css +0 -101
- package/dist/consent-manager-widget/consent-manager-widget.d.ts.map +0 -1
- package/dist/consent-manager-widget/index.d.ts.map +0 -1
- package/dist/consent-manager-widget/theme.d.ts +0 -48
- package/dist/consent-manager-widget/theme.d.ts.map +0 -1
- package/dist/consent-manager-widget/types.d.ts.map +0 -1
- package/dist/cookie-banner/__tests__/styles.spec.d.ts.map +0 -1
- package/dist/cookie-banner/__tests__/utils.d.ts.map +0 -1
- package/dist/cookie-banner/atoms/overlay.d.ts.map +0 -1
- package/dist/cookie-banner/atoms/root.d.ts.map +0 -1
- package/dist/cookie-banner/components.d.ts.map +0 -1
- package/dist/cookie-banner/cookie-banner.css +0 -224
- package/dist/cookie-banner/cookie-banner.d.ts.map +0 -1
- package/dist/cookie-banner/error-boundary.d.ts.map +0 -1
- package/dist/cookie-banner/index.d.ts.map +0 -1
- package/dist/cookie-banner/theme.d.ts +0 -30
- package/dist/cookie-banner/theme.d.ts.map +0 -1
- package/dist/primitives/box.d.ts.map +0 -1
- package/dist/primitives/button.d.ts.map +0 -1
- package/dist/primitives/button.types.d.ts.map +0 -1
- package/dist/theme/context.d.ts.map +0 -1
- package/dist/theme/context.js +0 -9
- package/dist/theme/index.d.ts +0 -6
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/index.js +0 -6
- package/dist/theme/style-keys.d.ts +0 -77
- package/dist/theme/style-keys.d.ts.map +0 -1
- package/dist/theme/style-keys.js +0 -5
- package/dist/theme/use-style.d.ts.map +0 -1
- package/dist/theme/utils/merge-styles.d.ts +0 -3
- package/dist/theme/utils/merge-styles.d.ts.map +0 -1
- package/dist/ui/components/accordion.css +0 -158
- package/dist/ui/components/accordion.d.ts.map +0 -1
- package/dist/ui/components/button.css +0 -303
- package/dist/ui/components/button.d.ts.map +0 -1
- package/dist/ui/components/card.cjs +0 -80
- package/dist/ui/components/card.css +0 -55
- package/dist/ui/components/card.d.ts +0 -10
- package/dist/ui/components/card.d.ts.map +0 -1
- package/dist/ui/components/card.js +0 -41
- package/dist/ui/components/icon.d.ts.map +0 -1
- package/dist/ui/components/logo.d.ts.map +0 -1
- package/dist/ui/components/switch.css +0 -135
- package/dist/ui/components/switch.d.ts.map +0 -1
- package/dist/ui/libs/cn.d.ts.map +0 -1
- package/dist/ui/libs/polymorphic.d.ts.map +0 -1
- package/dist/ui/libs/recursive-clone-children.d.ts.map +0 -1
- package/dist/ui/theme/context.cjs +0 -6
- package/dist/ui/theme/context.d.ts +0 -2
- package/dist/ui/theme/context.d.ts.map +0 -1
- /package/dist/{consent-manager-dialog → components/consent-manager-dialog}/__tests__/styles.spec.d.ts +0 -0
- /package/dist/{consent-manager-dialog → components/consent-manager-dialog}/index.cjs +0 -0
- /package/dist/{consent-manager-dialog → components/consent-manager-dialog}/index.d.ts +0 -0
- /package/dist/{consent-manager-dialog → components/consent-manager-dialog}/index.js +0 -0
- /package/dist/{consent-manager-dialog → components/consent-manager-dialog}/theme.cjs +0 -0
- /package/dist/{consent-manager-dialog → components/consent-manager-dialog}/theme.js +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/__tests__/styles.spec.d.ts +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/logo.cjs +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/logo.d.ts +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/atoms/logo.js +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/theme.cjs +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/theme.js +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/types.cjs +0 -0
- /package/dist/{consent-manager-widget → components/consent-manager-widget}/types.js +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/__tests__/styles.spec.d.ts +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/atoms/overlay.d.ts +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/atoms/root.d.ts +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/error-boundary.cjs +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/error-boundary.d.ts +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/error-boundary.js +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/index.cjs +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/index.d.ts +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/index.js +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/theme.cjs +0 -0
- /package/dist/{cookie-banner → components/cookie-banner}/theme.js +0 -0
- /package/dist/{ui → components/shared}/libs/polymorphic.cjs +0 -0
- /package/dist/{ui → components/shared}/libs/polymorphic.d.ts +0 -0
- /package/dist/{ui → components/shared}/libs/polymorphic.js +0 -0
- /package/dist/{ui → components/shared}/libs/recursive-clone-children.cjs +0 -0
- /package/dist/{ui → components/shared}/libs/recursive-clone-children.d.ts +0 -0
- /package/dist/{ui → components/shared}/libs/recursive-clone-children.js +0 -0
- /package/dist/{primitives → components/shared/primitives}/button.types.cjs +0 -0
- /package/dist/{primitives → components/shared/primitives}/button.types.js +0 -0
- /package/dist/{common/types/consent-manager.cjs → components/shared/ui/accordion/accordion.types.cjs} +0 -0
- /package/dist/{common/types/consent-manager.js → components/shared/ui/accordion/accordion.types.js} +0 -0
- /package/dist/{ui/theme/context.js → components/shared/ui/button/button.types.js} +0 -0
- /package/dist/{ui/components → components/shared/ui}/icon.cjs +0 -0
- /package/dist/{ui/components → components/shared/ui}/icon.d.ts +0 -0
- /package/dist/{ui/components → components/shared/ui}/icon.js +0 -0
- /package/dist/{ui/components → components/shared/ui}/logo.cjs +0 -0
- /package/dist/{ui/components → components/shared/ui}/logo.d.ts +0 -0
- /package/dist/{ui/components → components/shared/ui}/logo.js +0 -0
- /package/dist/{common/context → context}/consent-manager-context.cjs +0 -0
- /package/dist/{common/context → context}/consent-manager-context.d.ts +0 -0
- /package/dist/{common/context → context}/consent-manager-context.js +0 -0
- /package/dist/{common/hooks → hooks}/use-consent-manager.cjs +0 -0
- /package/dist/{common/hooks → hooks}/use-consent-manager.js +0 -0
- /package/dist/{common/store → hooks}/use-translations.cjs +0 -0
- /package/dist/{common/store → hooks}/use-translations.d.ts +0 -0
- /package/dist/{common/store → hooks}/use-translations.js +0 -0
- /package/dist/{ui/libs → utils}/cn.cjs +0 -0
- /package/dist/{ui/libs → utils}/cn.d.ts +0 -0
- /package/dist/{ui/libs → utils}/cn.js +0 -0
- /package/dist/{common/utils → utils}/translations.cjs +0 -0
- /package/dist/{common/utils → utils}/translations.d.ts +0 -0
- /package/dist/{common/utils → utils}/translations.js +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type VariantProps } from 'tailwind-variants';
|
|
2
|
-
import type { PolymorphicComponentProps } from '../libs/polymorphic';
|
|
3
|
-
import './button.css';
|
|
4
1
|
import { type ButtonHTMLAttributes, type ElementType } from 'react';
|
|
2
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
3
|
+
import type { PolymorphicComponentProps } from '../../libs/polymorphic';
|
|
5
4
|
/**
|
|
6
5
|
* Button component variant styles using tailwind-variants
|
|
7
6
|
* @remarks
|
|
@@ -26,22 +25,22 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
26
25
|
};
|
|
27
26
|
size: {
|
|
28
27
|
medium: {
|
|
29
|
-
root: string;
|
|
28
|
+
root: string | undefined;
|
|
30
29
|
};
|
|
31
30
|
small: {
|
|
32
|
-
root: string;
|
|
31
|
+
root: string | undefined;
|
|
33
32
|
};
|
|
34
33
|
xsmall: {
|
|
35
|
-
root: string;
|
|
34
|
+
root: string | undefined;
|
|
36
35
|
};
|
|
37
36
|
xxsmall: {
|
|
38
|
-
root: string;
|
|
37
|
+
root: string | undefined;
|
|
39
38
|
};
|
|
40
39
|
};
|
|
41
40
|
}, {
|
|
42
|
-
root: string[];
|
|
43
|
-
icon: string[];
|
|
44
|
-
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
41
|
+
root: (string | undefined)[];
|
|
42
|
+
icon: (string | undefined)[];
|
|
43
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
45
44
|
variant: {
|
|
46
45
|
primary: {};
|
|
47
46
|
neutral: {};
|
|
@@ -54,16 +53,16 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
54
53
|
};
|
|
55
54
|
size: {
|
|
56
55
|
medium: {
|
|
57
|
-
root: string;
|
|
56
|
+
root: string | undefined;
|
|
58
57
|
};
|
|
59
58
|
small: {
|
|
60
|
-
root: string;
|
|
59
|
+
root: string | undefined;
|
|
61
60
|
};
|
|
62
61
|
xsmall: {
|
|
63
|
-
root: string;
|
|
62
|
+
root: string | undefined;
|
|
64
63
|
};
|
|
65
64
|
xxsmall: {
|
|
66
|
-
root: string;
|
|
65
|
+
root: string | undefined;
|
|
67
66
|
};
|
|
68
67
|
};
|
|
69
68
|
}, {
|
|
@@ -79,16 +78,16 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
79
78
|
};
|
|
80
79
|
size: {
|
|
81
80
|
medium: {
|
|
82
|
-
root: string;
|
|
81
|
+
root: string | undefined;
|
|
83
82
|
};
|
|
84
83
|
small: {
|
|
85
|
-
root: string;
|
|
84
|
+
root: string | undefined;
|
|
86
85
|
};
|
|
87
86
|
xsmall: {
|
|
88
|
-
root: string;
|
|
87
|
+
root: string | undefined;
|
|
89
88
|
};
|
|
90
89
|
xxsmall: {
|
|
91
|
-
root: string;
|
|
90
|
+
root: string | undefined;
|
|
92
91
|
};
|
|
93
92
|
};
|
|
94
93
|
}>, {
|
|
@@ -104,21 +103,21 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
104
103
|
};
|
|
105
104
|
size: {
|
|
106
105
|
medium: {
|
|
107
|
-
root: string;
|
|
106
|
+
root: string | undefined;
|
|
108
107
|
};
|
|
109
108
|
small: {
|
|
110
|
-
root: string;
|
|
109
|
+
root: string | undefined;
|
|
111
110
|
};
|
|
112
111
|
xsmall: {
|
|
113
|
-
root: string;
|
|
112
|
+
root: string | undefined;
|
|
114
113
|
};
|
|
115
114
|
xxsmall: {
|
|
116
|
-
root: string;
|
|
115
|
+
root: string | undefined;
|
|
117
116
|
};
|
|
118
117
|
};
|
|
119
118
|
}, {
|
|
120
|
-
root: string[];
|
|
121
|
-
icon: string[];
|
|
119
|
+
root: (string | undefined)[];
|
|
120
|
+
icon: (string | undefined)[];
|
|
122
121
|
}, import("tailwind-variants").TVReturnType<{
|
|
123
122
|
variant: {
|
|
124
123
|
primary: {};
|
|
@@ -132,22 +131,22 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
132
131
|
};
|
|
133
132
|
size: {
|
|
134
133
|
medium: {
|
|
135
|
-
root: string;
|
|
134
|
+
root: string | undefined;
|
|
136
135
|
};
|
|
137
136
|
small: {
|
|
138
|
-
root: string;
|
|
137
|
+
root: string | undefined;
|
|
139
138
|
};
|
|
140
139
|
xsmall: {
|
|
141
|
-
root: string;
|
|
140
|
+
root: string | undefined;
|
|
142
141
|
};
|
|
143
142
|
xxsmall: {
|
|
144
|
-
root: string;
|
|
143
|
+
root: string | undefined;
|
|
145
144
|
};
|
|
146
145
|
};
|
|
147
146
|
}, {
|
|
148
|
-
root: string[];
|
|
149
|
-
icon: string[];
|
|
150
|
-
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
147
|
+
root: (string | undefined)[];
|
|
148
|
+
icon: (string | undefined)[];
|
|
149
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
151
150
|
variant: {
|
|
152
151
|
primary: {};
|
|
153
152
|
neutral: {};
|
|
@@ -160,16 +159,16 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
160
159
|
};
|
|
161
160
|
size: {
|
|
162
161
|
medium: {
|
|
163
|
-
root: string;
|
|
162
|
+
root: string | undefined;
|
|
164
163
|
};
|
|
165
164
|
small: {
|
|
166
|
-
root: string;
|
|
165
|
+
root: string | undefined;
|
|
167
166
|
};
|
|
168
167
|
xsmall: {
|
|
169
|
-
root: string;
|
|
168
|
+
root: string | undefined;
|
|
170
169
|
};
|
|
171
170
|
xxsmall: {
|
|
172
|
-
root: string;
|
|
171
|
+
root: string | undefined;
|
|
173
172
|
};
|
|
174
173
|
};
|
|
175
174
|
}, {
|
|
@@ -185,16 +184,16 @@ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
|
185
184
|
};
|
|
186
185
|
size: {
|
|
187
186
|
medium: {
|
|
188
|
-
root: string;
|
|
187
|
+
root: string | undefined;
|
|
189
188
|
};
|
|
190
189
|
small: {
|
|
191
|
-
root: string;
|
|
190
|
+
root: string | undefined;
|
|
192
191
|
};
|
|
193
192
|
xsmall: {
|
|
194
|
-
root: string;
|
|
193
|
+
root: string | undefined;
|
|
195
194
|
};
|
|
196
195
|
xxsmall: {
|
|
197
|
-
root: string;
|
|
196
|
+
root: string | undefined;
|
|
198
197
|
};
|
|
199
198
|
};
|
|
200
199
|
}>, unknown, unknown, undefined>>;
|
|
@@ -236,22 +235,22 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
236
235
|
};
|
|
237
236
|
size: {
|
|
238
237
|
medium: {
|
|
239
|
-
root: string;
|
|
238
|
+
root: string | undefined;
|
|
240
239
|
};
|
|
241
240
|
small: {
|
|
242
|
-
root: string;
|
|
241
|
+
root: string | undefined;
|
|
243
242
|
};
|
|
244
243
|
xsmall: {
|
|
245
|
-
root: string;
|
|
244
|
+
root: string | undefined;
|
|
246
245
|
};
|
|
247
246
|
xxsmall: {
|
|
248
|
-
root: string;
|
|
247
|
+
root: string | undefined;
|
|
249
248
|
};
|
|
250
249
|
};
|
|
251
250
|
}, {
|
|
252
|
-
root: string[];
|
|
253
|
-
icon: string[];
|
|
254
|
-
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
251
|
+
root: (string | undefined)[];
|
|
252
|
+
icon: (string | undefined)[];
|
|
253
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
255
254
|
variant: {
|
|
256
255
|
primary: {};
|
|
257
256
|
neutral: {};
|
|
@@ -264,16 +263,16 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
264
263
|
};
|
|
265
264
|
size: {
|
|
266
265
|
medium: {
|
|
267
|
-
root: string;
|
|
266
|
+
root: string | undefined;
|
|
268
267
|
};
|
|
269
268
|
small: {
|
|
270
|
-
root: string;
|
|
269
|
+
root: string | undefined;
|
|
271
270
|
};
|
|
272
271
|
xsmall: {
|
|
273
|
-
root: string;
|
|
272
|
+
root: string | undefined;
|
|
274
273
|
};
|
|
275
274
|
xxsmall: {
|
|
276
|
-
root: string;
|
|
275
|
+
root: string | undefined;
|
|
277
276
|
};
|
|
278
277
|
};
|
|
279
278
|
}, {
|
|
@@ -289,16 +288,16 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
289
288
|
};
|
|
290
289
|
size: {
|
|
291
290
|
medium: {
|
|
292
|
-
root: string;
|
|
291
|
+
root: string | undefined;
|
|
293
292
|
};
|
|
294
293
|
small: {
|
|
295
|
-
root: string;
|
|
294
|
+
root: string | undefined;
|
|
296
295
|
};
|
|
297
296
|
xsmall: {
|
|
298
|
-
root: string;
|
|
297
|
+
root: string | undefined;
|
|
299
298
|
};
|
|
300
299
|
xxsmall: {
|
|
301
|
-
root: string;
|
|
300
|
+
root: string | undefined;
|
|
302
301
|
};
|
|
303
302
|
};
|
|
304
303
|
}>, {
|
|
@@ -314,21 +313,21 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
314
313
|
};
|
|
315
314
|
size: {
|
|
316
315
|
medium: {
|
|
317
|
-
root: string;
|
|
316
|
+
root: string | undefined;
|
|
318
317
|
};
|
|
319
318
|
small: {
|
|
320
|
-
root: string;
|
|
319
|
+
root: string | undefined;
|
|
321
320
|
};
|
|
322
321
|
xsmall: {
|
|
323
|
-
root: string;
|
|
322
|
+
root: string | undefined;
|
|
324
323
|
};
|
|
325
324
|
xxsmall: {
|
|
326
|
-
root: string;
|
|
325
|
+
root: string | undefined;
|
|
327
326
|
};
|
|
328
327
|
};
|
|
329
328
|
}, {
|
|
330
|
-
root: string[];
|
|
331
|
-
icon: string[];
|
|
329
|
+
root: (string | undefined)[];
|
|
330
|
+
icon: (string | undefined)[];
|
|
332
331
|
}, import("tailwind-variants").TVReturnType<{
|
|
333
332
|
variant: {
|
|
334
333
|
primary: {};
|
|
@@ -342,22 +341,22 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
342
341
|
};
|
|
343
342
|
size: {
|
|
344
343
|
medium: {
|
|
345
|
-
root: string;
|
|
344
|
+
root: string | undefined;
|
|
346
345
|
};
|
|
347
346
|
small: {
|
|
348
|
-
root: string;
|
|
347
|
+
root: string | undefined;
|
|
349
348
|
};
|
|
350
349
|
xsmall: {
|
|
351
|
-
root: string;
|
|
350
|
+
root: string | undefined;
|
|
352
351
|
};
|
|
353
352
|
xxsmall: {
|
|
354
|
-
root: string;
|
|
353
|
+
root: string | undefined;
|
|
355
354
|
};
|
|
356
355
|
};
|
|
357
356
|
}, {
|
|
358
|
-
root: string[];
|
|
359
|
-
icon: string[];
|
|
360
|
-
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
357
|
+
root: (string | undefined)[];
|
|
358
|
+
icon: (string | undefined)[];
|
|
359
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
361
360
|
variant: {
|
|
362
361
|
primary: {};
|
|
363
362
|
neutral: {};
|
|
@@ -370,16 +369,16 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
370
369
|
};
|
|
371
370
|
size: {
|
|
372
371
|
medium: {
|
|
373
|
-
root: string;
|
|
372
|
+
root: string | undefined;
|
|
374
373
|
};
|
|
375
374
|
small: {
|
|
376
|
-
root: string;
|
|
375
|
+
root: string | undefined;
|
|
377
376
|
};
|
|
378
377
|
xsmall: {
|
|
379
|
-
root: string;
|
|
378
|
+
root: string | undefined;
|
|
380
379
|
};
|
|
381
380
|
xxsmall: {
|
|
382
|
-
root: string;
|
|
381
|
+
root: string | undefined;
|
|
383
382
|
};
|
|
384
383
|
};
|
|
385
384
|
}, {
|
|
@@ -395,16 +394,16 @@ declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps
|
|
|
395
394
|
};
|
|
396
395
|
size: {
|
|
397
396
|
medium: {
|
|
398
|
-
root: string;
|
|
397
|
+
root: string | undefined;
|
|
399
398
|
};
|
|
400
399
|
small: {
|
|
401
|
-
root: string;
|
|
400
|
+
root: string | undefined;
|
|
402
401
|
};
|
|
403
402
|
xsmall: {
|
|
404
|
-
root: string;
|
|
403
|
+
root: string | undefined;
|
|
405
404
|
};
|
|
406
405
|
xxsmall: {
|
|
407
|
-
root: string;
|
|
406
|
+
root: string | undefined;
|
|
408
407
|
};
|
|
409
408
|
};
|
|
410
409
|
}>, unknown, unknown, undefined>>> & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/button/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAIhB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAWxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAyEzB,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAcpE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA1Bd;;OAEG;cACO,OAAO;qDAwDlB,CAAC;AAGF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,WAAW,EAAE,EAC1C,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,EAAE,EACF,SAAS,EACT,GAAG,IAAI,EACP,EAAE,yBAAyB,CAAC,CAAC,EAAE,iBAAiB,CAAC,2CAKjD;kBAZQ,UAAU;;;AAenB;;;GAGG;AACH,OAAO,EAAE,UAAU,IAAI,IAAI,EAAE,UAAU,IAAI,IAAI,EAAE,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_slot_85c2da36__ from "@radix-ui/react-slot";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_variants_6759ef11__ from "tailwind-variants";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__libs_recursive_clone_children_js_67617b1b__ from "../libs/recursive-clone-children.js";
|
|
5
|
-
import "./button.css";
|
|
6
3
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_variants_6759ef11__ from "tailwind-variants";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__libs_recursive_clone_children_js_484e82e8__ from "../../libs/recursive-clone-children.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__ from "./button.module.js";
|
|
7
7
|
const BUTTON_ROOT_NAME = 'ButtonRoot';
|
|
8
8
|
const BUTTON_ICON_NAME = 'ButtonIcon';
|
|
9
9
|
const buttonVariants = (0, __WEBPACK_EXTERNAL_MODULE_tailwind_variants_6759ef11__.tv)({
|
|
10
10
|
slots: {
|
|
11
11
|
root: [
|
|
12
|
-
|
|
12
|
+
__WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"].button
|
|
13
13
|
],
|
|
14
14
|
icon: [
|
|
15
|
-
|
|
15
|
+
__WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-icon"]
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
variants: {
|
|
@@ -28,16 +28,16 @@ const buttonVariants = (0, __WEBPACK_EXTERNAL_MODULE_tailwind_variants_6759ef11_
|
|
|
28
28
|
},
|
|
29
29
|
size: {
|
|
30
30
|
medium: {
|
|
31
|
-
root:
|
|
31
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-medium"]
|
|
32
32
|
},
|
|
33
33
|
small: {
|
|
34
|
-
root:
|
|
34
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-small"]
|
|
35
35
|
},
|
|
36
36
|
xsmall: {
|
|
37
|
-
root:
|
|
37
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-xsmall"]
|
|
38
38
|
},
|
|
39
39
|
xxsmall: {
|
|
40
|
-
root:
|
|
40
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-xxsmall"]
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
@@ -46,56 +46,56 @@ const buttonVariants = (0, __WEBPACK_EXTERNAL_MODULE_tailwind_variants_6759ef11_
|
|
|
46
46
|
variant: 'primary',
|
|
47
47
|
mode: 'filled',
|
|
48
48
|
class: {
|
|
49
|
-
root:
|
|
49
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-filled"]
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
variant: 'primary',
|
|
54
54
|
mode: 'stroke',
|
|
55
55
|
class: {
|
|
56
|
-
root:
|
|
56
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-stroke"]
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
variant: 'primary',
|
|
61
61
|
mode: 'lighter',
|
|
62
62
|
class: {
|
|
63
|
-
root:
|
|
63
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-lighter"]
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
variant: 'primary',
|
|
68
68
|
mode: 'ghost',
|
|
69
69
|
class: {
|
|
70
|
-
root:
|
|
70
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-ghost"]
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
variant: 'neutral',
|
|
75
75
|
mode: 'filled',
|
|
76
76
|
class: {
|
|
77
|
-
root:
|
|
77
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-filled"]
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
variant: 'neutral',
|
|
82
82
|
mode: 'stroke',
|
|
83
83
|
class: {
|
|
84
|
-
root:
|
|
84
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-stroke"]
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
variant: 'neutral',
|
|
89
89
|
mode: 'lighter',
|
|
90
90
|
class: {
|
|
91
|
-
root:
|
|
91
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-lighter"]
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
variant: 'neutral',
|
|
96
96
|
mode: 'ghost',
|
|
97
97
|
class: {
|
|
98
|
-
root:
|
|
98
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-ghost"]
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
],
|
|
@@ -118,7 +118,7 @@ const ButtonRoot = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRe
|
|
|
118
118
|
mode,
|
|
119
119
|
size
|
|
120
120
|
};
|
|
121
|
-
const extendedChildren = (0,
|
|
121
|
+
const extendedChildren = (0, __WEBPACK_EXTERNAL_MODULE__libs_recursive_clone_children_js_484e82e8__.recursiveCloneChildren)(children, sharedProps, [
|
|
122
122
|
BUTTON_ICON_NAME
|
|
123
123
|
], uniqueId, asChild);
|
|
124
124
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Component, {
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = function(exports1, definition) {
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = function(obj, prop) {
|
|
13
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
(()=>{
|
|
17
|
+
__webpack_require__.r = function(exports1) {
|
|
18
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
19
|
+
value: 'Module'
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
22
|
+
value: true
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
var __webpack_exports__ = {};
|
|
27
|
+
__webpack_require__.r(__webpack_exports__);
|
|
28
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
29
|
+
default: ()=>button_module_rslib_entry_
|
|
30
|
+
});
|
|
31
|
+
require("./button_module.css");
|
|
32
|
+
const button_module_rslib_entry_ = {
|
|
33
|
+
button: "c15t-button-YKOgW",
|
|
34
|
+
"button-medium": "c15t-button-medium-1Mfpj",
|
|
35
|
+
buttonMedium: "c15t-button-medium-1Mfpj",
|
|
36
|
+
"button-small": "c15t-button-small-n5LJg",
|
|
37
|
+
buttonSmall: "c15t-button-small-n5LJg",
|
|
38
|
+
"button-xsmall": "c15t-button-xsmall-ygCjx",
|
|
39
|
+
buttonXsmall: "c15t-button-xsmall-ygCjx",
|
|
40
|
+
"button-xxsmall": "c15t-button-xxsmall-r7ZLO",
|
|
41
|
+
buttonXxsmall: "c15t-button-xxsmall-r7ZLO",
|
|
42
|
+
"button-primary-filled": "c15t-button-primary-filled-YzeKk",
|
|
43
|
+
buttonPrimaryFilled: "c15t-button-primary-filled-YzeKk",
|
|
44
|
+
"button-primary-stroke": "c15t-button-primary-stroke-TWzjH",
|
|
45
|
+
buttonPrimaryStroke: "c15t-button-primary-stroke-TWzjH",
|
|
46
|
+
"button-primary-lighter": "c15t-button-primary-lighter-kAHLT",
|
|
47
|
+
buttonPrimaryLighter: "c15t-button-primary-lighter-kAHLT",
|
|
48
|
+
"button-primary-ghost": "c15t-button-primary-ghost-j0CcU",
|
|
49
|
+
buttonPrimaryGhost: "c15t-button-primary-ghost-j0CcU",
|
|
50
|
+
"button-neutral-filled": "c15t-button-neutral-filled-uvvkN",
|
|
51
|
+
buttonNeutralFilled: "c15t-button-neutral-filled-uvvkN",
|
|
52
|
+
"button-neutral-stroke": "c15t-button-neutral-stroke-EAzCC",
|
|
53
|
+
buttonNeutralStroke: "c15t-button-neutral-stroke-EAzCC",
|
|
54
|
+
"button-neutral-lighter": "c15t-button-neutral-lighter-ANBJI",
|
|
55
|
+
buttonNeutralLighter: "c15t-button-neutral-lighter-ANBJI",
|
|
56
|
+
"button-neutral-ghost": "c15t-button-neutral-ghost-x4zTl",
|
|
57
|
+
buttonNeutralGhost: "c15t-button-neutral-ghost-x4zTl",
|
|
58
|
+
"button-icon": "c15t-button-icon-ps6Fy",
|
|
59
|
+
buttonIcon: "c15t-button-icon-ps6Fy"
|
|
60
|
+
};
|
|
61
|
+
var __webpack_export_target__ = exports;
|
|
62
|
+
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
63
|
+
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
64
|
+
value: true
|
|
65
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "./button_module.css";
|
|
2
|
+
const button_module_rslib_entry_ = {
|
|
3
|
+
button: "c15t-button-YKOgW",
|
|
4
|
+
"button-medium": "c15t-button-medium-1Mfpj",
|
|
5
|
+
buttonMedium: "c15t-button-medium-1Mfpj",
|
|
6
|
+
"button-small": "c15t-button-small-n5LJg",
|
|
7
|
+
buttonSmall: "c15t-button-small-n5LJg",
|
|
8
|
+
"button-xsmall": "c15t-button-xsmall-ygCjx",
|
|
9
|
+
buttonXsmall: "c15t-button-xsmall-ygCjx",
|
|
10
|
+
"button-xxsmall": "c15t-button-xxsmall-r7ZLO",
|
|
11
|
+
buttonXxsmall: "c15t-button-xxsmall-r7ZLO",
|
|
12
|
+
"button-primary-filled": "c15t-button-primary-filled-YzeKk",
|
|
13
|
+
buttonPrimaryFilled: "c15t-button-primary-filled-YzeKk",
|
|
14
|
+
"button-primary-stroke": "c15t-button-primary-stroke-TWzjH",
|
|
15
|
+
buttonPrimaryStroke: "c15t-button-primary-stroke-TWzjH",
|
|
16
|
+
"button-primary-lighter": "c15t-button-primary-lighter-kAHLT",
|
|
17
|
+
buttonPrimaryLighter: "c15t-button-primary-lighter-kAHLT",
|
|
18
|
+
"button-primary-ghost": "c15t-button-primary-ghost-j0CcU",
|
|
19
|
+
buttonPrimaryGhost: "c15t-button-primary-ghost-j0CcU",
|
|
20
|
+
"button-neutral-filled": "c15t-button-neutral-filled-uvvkN",
|
|
21
|
+
buttonNeutralFilled: "c15t-button-neutral-filled-uvvkN",
|
|
22
|
+
"button-neutral-stroke": "c15t-button-neutral-stroke-EAzCC",
|
|
23
|
+
buttonNeutralStroke: "c15t-button-neutral-stroke-EAzCC",
|
|
24
|
+
"button-neutral-lighter": "c15t-button-neutral-lighter-ANBJI",
|
|
25
|
+
buttonNeutralLighter: "c15t-button-neutral-lighter-ANBJI",
|
|
26
|
+
"button-neutral-ghost": "c15t-button-neutral-ghost-x4zTl",
|
|
27
|
+
buttonNeutralGhost: "c15t-button-neutral-ghost-x4zTl",
|
|
28
|
+
"button-icon": "c15t-button-icon-ps6Fy",
|
|
29
|
+
buttonIcon: "c15t-button-icon-ps6Fy"
|
|
30
|
+
};
|
|
31
|
+
export { button_module_rslib_entry_ as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.r = function(exports1) {
|
|
5
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
6
|
+
value: 'Module'
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
})();
|
|
13
|
+
var __webpack_exports__ = {};
|
|
14
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15
|
+
var __webpack_export_target__ = exports;
|
|
16
|
+
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
17
|
+
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
18
|
+
value: true
|
|
19
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type ButtonCSSVariables = {
|
|
2
|
+
'--button-primary': string;
|
|
3
|
+
'--button-primary-dark': string;
|
|
4
|
+
'--button-primary-hover': string;
|
|
5
|
+
'--button-primary-hover-dark': string;
|
|
6
|
+
'--button-neutral': string;
|
|
7
|
+
'--button-neutral-dark': string;
|
|
8
|
+
'--button-neutral-hover': string;
|
|
9
|
+
'--button-neutral-hover-dark': string;
|
|
10
|
+
'--button-neutral-soft': string;
|
|
11
|
+
'--button-neutral-soft-dark': string;
|
|
12
|
+
'--button-text': string;
|
|
13
|
+
'--button-text-dark': string;
|
|
14
|
+
'--button-background-color': string;
|
|
15
|
+
'--button-background-color-dark': string;
|
|
16
|
+
'--button-background-color-hover': string;
|
|
17
|
+
'--button-background-color-hover-dark': string;
|
|
18
|
+
'--button-border': string;
|
|
19
|
+
'--button-border-dark': string;
|
|
20
|
+
'--button-hover-overlay': string;
|
|
21
|
+
'--button-hover-overlay-dark': string;
|
|
22
|
+
'--button-font': string;
|
|
23
|
+
'--button-border-width': string;
|
|
24
|
+
'--button-border-style': string;
|
|
25
|
+
'--button-border-color': string;
|
|
26
|
+
'--button-border-radius': string;
|
|
27
|
+
'--button-font-weight': string | number;
|
|
28
|
+
'--button-font-size': string;
|
|
29
|
+
'--button-line-height': string;
|
|
30
|
+
'--button-transition': string;
|
|
31
|
+
'--button-cursor': string;
|
|
32
|
+
'--button-shadow': string;
|
|
33
|
+
'--button-shadow-dark': string;
|
|
34
|
+
'--button-shadow-primary-focus': string;
|
|
35
|
+
'--button-shadow-neutral-focus': string;
|
|
36
|
+
'--button-shadow-primary': string;
|
|
37
|
+
'--button-shadow-primary-dark': string;
|
|
38
|
+
'--button-shadow-primary-hover': string;
|
|
39
|
+
'--button-shadow-primary-hover-dark': string;
|
|
40
|
+
'--button-shadow-neutral': string;
|
|
41
|
+
'--button-shadow-neutral-dark': string;
|
|
42
|
+
'--button-shadow-neutral-hover': string;
|
|
43
|
+
'--button-shadow-neutral-hover-dark': string;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=button.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/ui/button/button.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAEhC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,6BAA6B,EAAE,MAAM,CAAC;IAGtC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,6BAA6B,EAAE,MAAM,CAAC;IACtC,uBAAuB,EAAE,MAAM,CAAC;IAChC,4BAA4B,EAAE,MAAM,CAAC;IAGrC,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,2BAA2B,EAAE,MAAM,CAAC;IACpC,gCAAgC,EAAE,MAAM,CAAC;IACzC,iCAAiC,EAAE,MAAM,CAAC;IAC1C,sCAAsC,EAAE,MAAM,CAAC;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,6BAA6B,EAAE,MAAM,CAAC;IAGtC,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,sBAAsB,EAAE,MAAM,GAAG,MAAM,CAAC;IACxC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAG1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,+BAA+B,EAAE,MAAM,CAAC;IACxC,+BAA+B,EAAE,MAAM,CAAC;IACxC,yBAAyB,EAAE,MAAM,CAAC;IAClC,8BAA8B,EAAE,MAAM,CAAC;IACvC,+BAA+B,EAAE,MAAM,CAAC;IACxC,oCAAoC,EAAE,MAAM,CAAC;IAC7C,yBAAyB,EAAE,MAAM,CAAC;IAClC,8BAA8B,EAAE,MAAM,CAAC;IACvC,+BAA+B,EAAE,MAAM,CAAC;IACxC,oCAAoC,EAAE,MAAM,CAAC;CAC7C,CAAC"}
|