@c15t/react 0.0.1-rc.10
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.md +595 -0
- package/README.md +55 -0
- package/dist/components/consent-manager-dialog/__tests__/styles.spec.cjs +223 -0
- package/dist/components/consent-manager-dialog/__tests__/styles.spec.d.ts +2 -0
- package/dist/components/consent-manager-dialog/__tests__/styles.spec.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/__tests__/styles.spec.js +188 -0
- package/dist/components/consent-manager-dialog/__tests__/utils.cjs +68 -0
- package/dist/components/consent-manager-dialog/__tests__/utils.d.ts +13 -0
- package/dist/components/consent-manager-dialog/__tests__/utils.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/__tests__/utils.js +34 -0
- package/dist/components/consent-manager-dialog/atoms/dialog-card.cjs +154 -0
- package/dist/components/consent-manager-dialog/atoms/dialog-card.d.ts +90 -0
- package/dist/components/consent-manager-dialog/atoms/dialog-card.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/atoms/dialog-card.js +95 -0
- package/dist/components/consent-manager-dialog/atoms/overlay.cjs +86 -0
- package/dist/components/consent-manager-dialog/atoms/overlay.d.ts +71 -0
- package/dist/components/consent-manager-dialog/atoms/overlay.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/atoms/overlay.js +37 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog.cjs +148 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog.d.ts +40 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog.js +100 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog.module.cjs +50 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog.module.js +16 -0
- package/dist/components/consent-manager-dialog/consent-manager-dialog_module.css +202 -0
- package/dist/components/consent-manager-dialog/index.cjs +51 -0
- package/dist/components/consent-manager-dialog/index.d.ts +4 -0
- package/dist/components/consent-manager-dialog/index.d.ts.map +1 -0
- package/dist/components/consent-manager-dialog/index.js +18 -0
- package/dist/components/consent-manager-dialog/theme.cjs +19 -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/components/consent-manager-dialog/theme.js +0 -0
- package/dist/components/consent-manager-widget/__tests__/styles.spec.cjs +228 -0
- package/dist/components/consent-manager-widget/__tests__/styles.spec.d.ts +2 -0
- package/dist/components/consent-manager-widget/__tests__/styles.spec.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/__tests__/styles.spec.js +193 -0
- package/dist/components/consent-manager-widget/__tests__/utils.cjs +68 -0
- package/dist/components/consent-manager-widget/__tests__/utils.d.ts +13 -0
- package/dist/components/consent-manager-widget/__tests__/utils.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/__tests__/utils.js +34 -0
- package/dist/components/consent-manager-widget/atoms/accordion.cjs +169 -0
- package/dist/components/consent-manager-widget/atoms/accordion.d.ts +57 -0
- package/dist/components/consent-manager-widget/atoms/accordion.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/atoms/accordion.js +106 -0
- package/dist/components/consent-manager-widget/atoms/button.cjs +93 -0
- package/dist/components/consent-manager-widget/atoms/button.d.ts +27 -0
- package/dist/components/consent-manager-widget/atoms/button.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/atoms/button.js +52 -0
- package/dist/components/consent-manager-widget/atoms/footer.cjs +74 -0
- package/dist/components/consent-manager-widget/atoms/footer.d.ts +15 -0
- 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.cjs +101 -0
- package/dist/components/consent-manager-widget/atoms/logo.d.ts +8 -0
- package/dist/components/consent-manager-widget/atoms/logo.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/atoms/logo.js +67 -0
- package/dist/components/consent-manager-widget/atoms/root.cjs +60 -0
- package/dist/components/consent-manager-widget/atoms/root.d.ts +82 -0
- 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/components/consent-manager-widget/consent-manager-widget.cjs +96 -0
- package/dist/components/consent-manager-widget/consent-manager-widget.d.ts +44 -0
- package/dist/components/consent-manager-widget/consent-manager-widget.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/consent-manager-widget.js +62 -0
- 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/components/consent-manager-widget/index.cjs +69 -0
- package/dist/components/consent-manager-widget/index.d.ts +11 -0
- package/dist/components/consent-manager-widget/index.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/index.js +36 -0
- package/dist/components/consent-manager-widget/theme.cjs +19 -0
- 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/components/consent-manager-widget/theme.js +0 -0
- package/dist/components/consent-manager-widget/types.cjs +19 -0
- package/dist/components/consent-manager-widget/types.d.ts +18 -0
- package/dist/components/consent-manager-widget/types.d.ts.map +1 -0
- package/dist/components/consent-manager-widget/types.js +0 -0
- package/dist/components/cookie-banner/__tests__/styles.spec.cjs +241 -0
- package/dist/components/cookie-banner/__tests__/styles.spec.d.ts +2 -0
- package/dist/components/cookie-banner/__tests__/styles.spec.d.ts.map +1 -0
- package/dist/components/cookie-banner/__tests__/styles.spec.js +206 -0
- package/dist/components/cookie-banner/__tests__/utils.cjs +67 -0
- package/dist/components/cookie-banner/__tests__/utils.d.ts +13 -0
- package/dist/components/cookie-banner/__tests__/utils.d.ts.map +1 -0
- package/dist/components/cookie-banner/__tests__/utils.js +33 -0
- package/dist/components/cookie-banner/atoms/overlay.cjs +89 -0
- package/dist/components/cookie-banner/atoms/overlay.d.ts +46 -0
- package/dist/components/cookie-banner/atoms/overlay.d.ts.map +1 -0
- package/dist/components/cookie-banner/atoms/overlay.js +40 -0
- package/dist/components/cookie-banner/atoms/root.cjs +132 -0
- package/dist/components/cookie-banner/atoms/root.d.ts +93 -0
- package/dist/components/cookie-banner/atoms/root.d.ts.map +1 -0
- package/dist/components/cookie-banner/atoms/root.js +83 -0
- package/dist/components/cookie-banner/components.cjs +186 -0
- package/dist/components/cookie-banner/components.d.ts +136 -0
- package/dist/components/cookie-banner/components.d.ts.map +1 -0
- package/dist/components/cookie-banner/components.js +121 -0
- package/dist/components/cookie-banner/cookie-banner.cjs +100 -0
- package/dist/components/cookie-banner/cookie-banner.d.ts +144 -0
- package/dist/components/cookie-banner/cookie-banner.d.ts.map +1 -0
- package/dist/components/cookie-banner/cookie-banner.js +66 -0
- package/dist/components/cookie-banner/cookie-banner.module.cjs +55 -0
- 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.cjs +68 -0
- package/dist/components/cookie-banner/error-boundary.d.ts +56 -0
- package/dist/components/cookie-banner/error-boundary.d.ts.map +1 -0
- package/dist/components/cookie-banner/error-boundary.js +34 -0
- package/dist/components/cookie-banner/index.cjs +59 -0
- package/dist/components/cookie-banner/index.d.ts +52 -0
- package/dist/components/cookie-banner/index.d.ts.map +1 -0
- package/dist/components/cookie-banner/index.js +26 -0
- package/dist/components/cookie-banner/theme.cjs +19 -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/cookie-banner/theme.js +0 -0
- package/dist/components/shared/libs/polymorphic.cjs +19 -0
- package/dist/components/shared/libs/polymorphic.d.ts +15 -0
- package/dist/components/shared/libs/polymorphic.d.ts.map +1 -0
- package/dist/components/shared/libs/polymorphic.js +0 -0
- package/dist/components/shared/libs/recursive-clone-children.cjs +49 -0
- package/dist/components/shared/libs/recursive-clone-children.d.ts +14 -0
- package/dist/components/shared/libs/recursive-clone-children.d.ts.map +1 -0
- package/dist/components/shared/libs/recursive-clone-children.js +15 -0
- package/dist/components/shared/primitives/box.cjs +54 -0
- package/dist/components/shared/primitives/box.d.ts +47 -0
- package/dist/components/shared/primitives/box.d.ts.map +1 -0
- package/dist/components/shared/primitives/box.js +20 -0
- package/dist/components/shared/primitives/button.cjs +96 -0
- package/dist/components/shared/primitives/button.d.ts +207 -0
- package/dist/components/shared/primitives/button.d.ts.map +1 -0
- package/dist/components/shared/primitives/button.js +62 -0
- package/dist/components/shared/primitives/button.types.cjs +19 -0
- package/dist/components/shared/primitives/button.types.d.ts +35 -0
- package/dist/components/shared/primitives/button.types.d.ts.map +1 -0
- package/dist/components/shared/primitives/button.types.js +0 -0
- package/dist/components/shared/ui/accordion/accordion.cjs +219 -0
- package/dist/components/shared/ui/accordion/accordion.d.ts +44 -0
- package/dist/components/shared/ui/accordion/accordion.d.ts.map +1 -0
- package/dist/components/shared/ui/accordion/accordion.js +165 -0
- package/dist/components/shared/ui/accordion/accordion.module.cjs +49 -0
- package/dist/components/shared/ui/accordion/accordion.module.js +15 -0
- package/dist/components/shared/ui/accordion/accordion.types.cjs +19 -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.types.js +0 -0
- package/dist/components/shared/ui/accordion/accordion_module.css +197 -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/components/shared/ui/button/button.cjs +199 -0
- package/dist/components/shared/ui/button/button.d.ts +444 -0
- package/dist/components/shared/ui/button/button.d.ts.map +1 -0
- package/dist/components/shared/ui/button/button.js +149 -0
- 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.types.js +0 -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.cjs +57 -0
- package/dist/components/shared/ui/icon.d.ts +8 -0
- package/dist/components/shared/ui/icon.d.ts.map +1 -0
- package/dist/components/shared/ui/icon.js +23 -0
- package/dist/components/shared/ui/logo.cjs +101 -0
- package/dist/components/shared/ui/logo.d.ts +8 -0
- package/dist/components/shared/ui/logo.d.ts.map +1 -0
- package/dist/components/shared/ui/logo.js +67 -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/components/shared/ui/switch/switch.cjs +95 -0
- package/dist/components/shared/ui/switch/switch.d.ts +24 -0
- package/dist/components/shared/ui/switch/switch.d.ts.map +1 -0
- package/dist/components/shared/ui/switch/switch.js +47 -0
- package/dist/components/shared/ui/switch/switch.module.cjs +45 -0
- 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 +183 -0
- package/dist/context/consent-manager-context.cjs +38 -0
- package/dist/context/consent-manager-context.d.ts +13 -0
- package/dist/context/consent-manager-context.d.ts.map +1 -0
- package/dist/context/consent-manager-context.js +4 -0
- package/dist/context/theme-context.cjs +40 -0
- package/dist/context/theme-context.d.ts +102 -0
- package/dist/context/theme-context.d.ts.map +1 -0
- package/dist/context/theme-context.js +5 -0
- package/dist/hooks/index.cjs +94 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/use-consent-manager.cjs +45 -0
- package/dist/hooks/use-consent-manager.d.ts +61 -0
- package/dist/hooks/use-consent-manager.d.ts.map +1 -0
- package/dist/hooks/use-consent-manager.js +11 -0
- package/dist/hooks/use-focus-trap.cjs +76 -0
- package/dist/hooks/use-focus-trap.d.ts +15 -0
- package/dist/hooks/use-focus-trap.d.ts.map +1 -0
- package/dist/hooks/use-focus-trap.js +42 -0
- package/dist/hooks/use-scroll-lock.cjs +55 -0
- package/dist/hooks/use-scroll-lock.d.ts +26 -0
- package/dist/hooks/use-scroll-lock.d.ts.map +1 -0
- package/dist/hooks/use-scroll-lock.js +21 -0
- package/dist/hooks/use-theme.cjs +56 -0
- 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.cjs +58 -0
- package/dist/hooks/use-translations.d.ts +29 -0
- package/dist/hooks/use-translations.d.ts.map +1 -0
- package/dist/hooks/use-translations.js +24 -0
- package/dist/index.cjs +101 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/providers/consent-manager-provider.cjs +110 -0
- package/dist/providers/consent-manager-provider.d.ts +16 -0
- package/dist/providers/consent-manager-provider.d.ts.map +1 -0
- package/dist/providers/consent-manager-provider.js +76 -0
- package/dist/types/consent-manager.cjs +19 -0
- package/dist/types/consent-manager.d.ts +120 -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.cjs +55 -0
- package/dist/utils/cn.d.ts +11 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +6 -0
- package/dist/utils/merge-styles.cjs +62 -0
- package/dist/utils/merge-styles.d.ts +11 -0
- package/dist/utils/merge-styles.d.ts.map +1 -0
- package/dist/utils/merge-styles.js +28 -0
- package/dist/utils/translations.cjs +86 -0
- package/dist/utils/translations.d.ts +14 -0
- package/dist/utils/translations.d.ts.map +1 -0
- package/dist/utils/translations.js +50 -0
- package/dist/utils/use-styles.cjs +95 -0
- package/dist/utils/use-styles.d.ts +32 -0
- package/dist/utils/use-styles.d.ts.map +1 -0
- package/dist/utils/use-styles.js +61 -0
- package/package.json +90 -0
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ElementType } from 'react';
|
|
2
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
3
|
+
import type { PolymorphicComponentProps } from '../../libs/polymorphic';
|
|
4
|
+
/**
|
|
5
|
+
* Button component variant styles using tailwind-variants
|
|
6
|
+
* @remarks
|
|
7
|
+
* Defines the core styling variants for the Button component including:
|
|
8
|
+
* - Base styles for the button and icon
|
|
9
|
+
* - Variant styles (primary, neutral, error)
|
|
10
|
+
* - Mode styles (filled, stroke, lighter, ghost)
|
|
11
|
+
* - Size variants (medium, small, xsmall, xxsmall)
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
16
|
+
variant: {
|
|
17
|
+
primary: {};
|
|
18
|
+
neutral: {};
|
|
19
|
+
};
|
|
20
|
+
mode: {
|
|
21
|
+
filled: {};
|
|
22
|
+
stroke: {};
|
|
23
|
+
lighter: {};
|
|
24
|
+
ghost: {};
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
medium: {
|
|
28
|
+
root: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
small: {
|
|
31
|
+
root: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
xsmall: {
|
|
34
|
+
root: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
xxsmall: {
|
|
37
|
+
root: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
root: (string | undefined)[];
|
|
42
|
+
icon: (string | undefined)[];
|
|
43
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
44
|
+
variant: {
|
|
45
|
+
primary: {};
|
|
46
|
+
neutral: {};
|
|
47
|
+
};
|
|
48
|
+
mode: {
|
|
49
|
+
filled: {};
|
|
50
|
+
stroke: {};
|
|
51
|
+
lighter: {};
|
|
52
|
+
ghost: {};
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
medium: {
|
|
56
|
+
root: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
small: {
|
|
59
|
+
root: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
xsmall: {
|
|
62
|
+
root: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
xxsmall: {
|
|
65
|
+
root: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
variant: {
|
|
70
|
+
primary: {};
|
|
71
|
+
neutral: {};
|
|
72
|
+
};
|
|
73
|
+
mode: {
|
|
74
|
+
filled: {};
|
|
75
|
+
stroke: {};
|
|
76
|
+
lighter: {};
|
|
77
|
+
ghost: {};
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
medium: {
|
|
81
|
+
root: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
small: {
|
|
84
|
+
root: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
xsmall: {
|
|
87
|
+
root: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
xxsmall: {
|
|
90
|
+
root: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}>, {
|
|
94
|
+
variant: {
|
|
95
|
+
primary: {};
|
|
96
|
+
neutral: {};
|
|
97
|
+
};
|
|
98
|
+
mode: {
|
|
99
|
+
filled: {};
|
|
100
|
+
stroke: {};
|
|
101
|
+
lighter: {};
|
|
102
|
+
ghost: {};
|
|
103
|
+
};
|
|
104
|
+
size: {
|
|
105
|
+
medium: {
|
|
106
|
+
root: string | undefined;
|
|
107
|
+
};
|
|
108
|
+
small: {
|
|
109
|
+
root: string | undefined;
|
|
110
|
+
};
|
|
111
|
+
xsmall: {
|
|
112
|
+
root: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
xxsmall: {
|
|
115
|
+
root: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}, {
|
|
119
|
+
root: (string | undefined)[];
|
|
120
|
+
icon: (string | undefined)[];
|
|
121
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
122
|
+
variant: {
|
|
123
|
+
primary: {};
|
|
124
|
+
neutral: {};
|
|
125
|
+
};
|
|
126
|
+
mode: {
|
|
127
|
+
filled: {};
|
|
128
|
+
stroke: {};
|
|
129
|
+
lighter: {};
|
|
130
|
+
ghost: {};
|
|
131
|
+
};
|
|
132
|
+
size: {
|
|
133
|
+
medium: {
|
|
134
|
+
root: string | undefined;
|
|
135
|
+
};
|
|
136
|
+
small: {
|
|
137
|
+
root: string | undefined;
|
|
138
|
+
};
|
|
139
|
+
xsmall: {
|
|
140
|
+
root: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
xxsmall: {
|
|
143
|
+
root: string | undefined;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
root: (string | undefined)[];
|
|
148
|
+
icon: (string | undefined)[];
|
|
149
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
150
|
+
variant: {
|
|
151
|
+
primary: {};
|
|
152
|
+
neutral: {};
|
|
153
|
+
};
|
|
154
|
+
mode: {
|
|
155
|
+
filled: {};
|
|
156
|
+
stroke: {};
|
|
157
|
+
lighter: {};
|
|
158
|
+
ghost: {};
|
|
159
|
+
};
|
|
160
|
+
size: {
|
|
161
|
+
medium: {
|
|
162
|
+
root: string | undefined;
|
|
163
|
+
};
|
|
164
|
+
small: {
|
|
165
|
+
root: string | undefined;
|
|
166
|
+
};
|
|
167
|
+
xsmall: {
|
|
168
|
+
root: string | undefined;
|
|
169
|
+
};
|
|
170
|
+
xxsmall: {
|
|
171
|
+
root: string | undefined;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
}, {
|
|
175
|
+
variant: {
|
|
176
|
+
primary: {};
|
|
177
|
+
neutral: {};
|
|
178
|
+
};
|
|
179
|
+
mode: {
|
|
180
|
+
filled: {};
|
|
181
|
+
stroke: {};
|
|
182
|
+
lighter: {};
|
|
183
|
+
ghost: {};
|
|
184
|
+
};
|
|
185
|
+
size: {
|
|
186
|
+
medium: {
|
|
187
|
+
root: string | undefined;
|
|
188
|
+
};
|
|
189
|
+
small: {
|
|
190
|
+
root: string | undefined;
|
|
191
|
+
};
|
|
192
|
+
xsmall: {
|
|
193
|
+
root: string | undefined;
|
|
194
|
+
};
|
|
195
|
+
xxsmall: {
|
|
196
|
+
root: string | undefined;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
}>, unknown, unknown, undefined>>;
|
|
200
|
+
/**
|
|
201
|
+
* Type definitions for button props
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
export type ButtonSharedProps = VariantProps<typeof buttonVariants>;
|
|
205
|
+
/**
|
|
206
|
+
* The root component for the Button compound component
|
|
207
|
+
*
|
|
208
|
+
* @remarks
|
|
209
|
+
* ButtonRoot is the main container component that provides the core button functionality.
|
|
210
|
+
* It supports various style variants, modes, and sizes through the buttonVariants configuration.
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* ```tsx
|
|
214
|
+
* <ButtonRoot variant="primary" mode="filled" size="medium">
|
|
215
|
+
* <ButtonIcon as={IconComponent} />
|
|
216
|
+
* Click me
|
|
217
|
+
* </ButtonRoot>
|
|
218
|
+
* ```
|
|
219
|
+
*
|
|
220
|
+
* @param props - Component props including variant styles, mode, size, and standard button attributes
|
|
221
|
+
* @param ref - Forward ref to access the underlying button element
|
|
222
|
+
*
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
declare const ButtonRoot: import("react").ForwardRefExoticComponent<VariantProps<import("tailwind-variants").TVReturnType<{
|
|
226
|
+
variant: {
|
|
227
|
+
primary: {};
|
|
228
|
+
neutral: {};
|
|
229
|
+
};
|
|
230
|
+
mode: {
|
|
231
|
+
filled: {};
|
|
232
|
+
stroke: {};
|
|
233
|
+
lighter: {};
|
|
234
|
+
ghost: {};
|
|
235
|
+
};
|
|
236
|
+
size: {
|
|
237
|
+
medium: {
|
|
238
|
+
root: string | undefined;
|
|
239
|
+
};
|
|
240
|
+
small: {
|
|
241
|
+
root: string | undefined;
|
|
242
|
+
};
|
|
243
|
+
xsmall: {
|
|
244
|
+
root: string | undefined;
|
|
245
|
+
};
|
|
246
|
+
xxsmall: {
|
|
247
|
+
root: string | undefined;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
}, {
|
|
251
|
+
root: (string | undefined)[];
|
|
252
|
+
icon: (string | undefined)[];
|
|
253
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
254
|
+
variant: {
|
|
255
|
+
primary: {};
|
|
256
|
+
neutral: {};
|
|
257
|
+
};
|
|
258
|
+
mode: {
|
|
259
|
+
filled: {};
|
|
260
|
+
stroke: {};
|
|
261
|
+
lighter: {};
|
|
262
|
+
ghost: {};
|
|
263
|
+
};
|
|
264
|
+
size: {
|
|
265
|
+
medium: {
|
|
266
|
+
root: string | undefined;
|
|
267
|
+
};
|
|
268
|
+
small: {
|
|
269
|
+
root: string | undefined;
|
|
270
|
+
};
|
|
271
|
+
xsmall: {
|
|
272
|
+
root: string | undefined;
|
|
273
|
+
};
|
|
274
|
+
xxsmall: {
|
|
275
|
+
root: string | undefined;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
}, {
|
|
279
|
+
variant: {
|
|
280
|
+
primary: {};
|
|
281
|
+
neutral: {};
|
|
282
|
+
};
|
|
283
|
+
mode: {
|
|
284
|
+
filled: {};
|
|
285
|
+
stroke: {};
|
|
286
|
+
lighter: {};
|
|
287
|
+
ghost: {};
|
|
288
|
+
};
|
|
289
|
+
size: {
|
|
290
|
+
medium: {
|
|
291
|
+
root: string | undefined;
|
|
292
|
+
};
|
|
293
|
+
small: {
|
|
294
|
+
root: string | undefined;
|
|
295
|
+
};
|
|
296
|
+
xsmall: {
|
|
297
|
+
root: string | undefined;
|
|
298
|
+
};
|
|
299
|
+
xxsmall: {
|
|
300
|
+
root: string | undefined;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
}>, {
|
|
304
|
+
variant: {
|
|
305
|
+
primary: {};
|
|
306
|
+
neutral: {};
|
|
307
|
+
};
|
|
308
|
+
mode: {
|
|
309
|
+
filled: {};
|
|
310
|
+
stroke: {};
|
|
311
|
+
lighter: {};
|
|
312
|
+
ghost: {};
|
|
313
|
+
};
|
|
314
|
+
size: {
|
|
315
|
+
medium: {
|
|
316
|
+
root: string | undefined;
|
|
317
|
+
};
|
|
318
|
+
small: {
|
|
319
|
+
root: string | undefined;
|
|
320
|
+
};
|
|
321
|
+
xsmall: {
|
|
322
|
+
root: string | undefined;
|
|
323
|
+
};
|
|
324
|
+
xxsmall: {
|
|
325
|
+
root: string | undefined;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
}, {
|
|
329
|
+
root: (string | undefined)[];
|
|
330
|
+
icon: (string | undefined)[];
|
|
331
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
332
|
+
variant: {
|
|
333
|
+
primary: {};
|
|
334
|
+
neutral: {};
|
|
335
|
+
};
|
|
336
|
+
mode: {
|
|
337
|
+
filled: {};
|
|
338
|
+
stroke: {};
|
|
339
|
+
lighter: {};
|
|
340
|
+
ghost: {};
|
|
341
|
+
};
|
|
342
|
+
size: {
|
|
343
|
+
medium: {
|
|
344
|
+
root: string | undefined;
|
|
345
|
+
};
|
|
346
|
+
small: {
|
|
347
|
+
root: string | undefined;
|
|
348
|
+
};
|
|
349
|
+
xsmall: {
|
|
350
|
+
root: string | undefined;
|
|
351
|
+
};
|
|
352
|
+
xxsmall: {
|
|
353
|
+
root: string | undefined;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
}, {
|
|
357
|
+
root: (string | undefined)[];
|
|
358
|
+
icon: (string | undefined)[];
|
|
359
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
360
|
+
variant: {
|
|
361
|
+
primary: {};
|
|
362
|
+
neutral: {};
|
|
363
|
+
};
|
|
364
|
+
mode: {
|
|
365
|
+
filled: {};
|
|
366
|
+
stroke: {};
|
|
367
|
+
lighter: {};
|
|
368
|
+
ghost: {};
|
|
369
|
+
};
|
|
370
|
+
size: {
|
|
371
|
+
medium: {
|
|
372
|
+
root: string | undefined;
|
|
373
|
+
};
|
|
374
|
+
small: {
|
|
375
|
+
root: string | undefined;
|
|
376
|
+
};
|
|
377
|
+
xsmall: {
|
|
378
|
+
root: string | undefined;
|
|
379
|
+
};
|
|
380
|
+
xxsmall: {
|
|
381
|
+
root: string | undefined;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
}, {
|
|
385
|
+
variant: {
|
|
386
|
+
primary: {};
|
|
387
|
+
neutral: {};
|
|
388
|
+
};
|
|
389
|
+
mode: {
|
|
390
|
+
filled: {};
|
|
391
|
+
stroke: {};
|
|
392
|
+
lighter: {};
|
|
393
|
+
ghost: {};
|
|
394
|
+
};
|
|
395
|
+
size: {
|
|
396
|
+
medium: {
|
|
397
|
+
root: string | undefined;
|
|
398
|
+
};
|
|
399
|
+
small: {
|
|
400
|
+
root: string | undefined;
|
|
401
|
+
};
|
|
402
|
+
xsmall: {
|
|
403
|
+
root: string | undefined;
|
|
404
|
+
};
|
|
405
|
+
xxsmall: {
|
|
406
|
+
root: string | undefined;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
}>, unknown, unknown, undefined>>> & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
410
|
+
/**
|
|
411
|
+
* When true, the component will render its children directly without wrapping them in a button element
|
|
412
|
+
*/
|
|
413
|
+
asChild?: boolean;
|
|
414
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
415
|
+
/**
|
|
416
|
+
* The icon component for the Button compound component
|
|
417
|
+
*
|
|
418
|
+
* @remarks
|
|
419
|
+
* ButtonIcon is a polymorphic component that can render any icon component while maintaining
|
|
420
|
+
* consistent styling with the parent button. It inherits variant properties from ButtonRoot.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* ```tsx
|
|
424
|
+
* <ButtonRoot>
|
|
425
|
+
* <ButtonIcon as={MyIcon} />
|
|
426
|
+
* Button with Icon
|
|
427
|
+
* </ButtonRoot>
|
|
428
|
+
* ```
|
|
429
|
+
*
|
|
430
|
+
* @typeParam T - The element type to render the icon as
|
|
431
|
+
* @param props - Component props including the polymorphic 'as' prop and shared button variant props
|
|
432
|
+
*
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
declare function ButtonIcon<T extends ElementType>({ variant, mode, size, as, className, ...rest }: PolymorphicComponentProps<T, ButtonSharedProps>): import("react/jsx-runtime").JSX.Element;
|
|
436
|
+
declare namespace ButtonIcon {
|
|
437
|
+
var displayName: string;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Export the compound components
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export { ButtonRoot as Root, ButtonIcon as Icon };
|
|
444
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -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"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_slot_85c2da36__ from "@radix-ui/react-slot";
|
|
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
|
+
const BUTTON_ROOT_NAME = 'ButtonRoot';
|
|
8
|
+
const BUTTON_ICON_NAME = 'ButtonIcon';
|
|
9
|
+
const buttonVariants = (0, __WEBPACK_EXTERNAL_MODULE_tailwind_variants_6759ef11__.tv)({
|
|
10
|
+
slots: {
|
|
11
|
+
root: [
|
|
12
|
+
__WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"].button
|
|
13
|
+
],
|
|
14
|
+
icon: [
|
|
15
|
+
__WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-icon"]
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
variants: {
|
|
19
|
+
variant: {
|
|
20
|
+
primary: {},
|
|
21
|
+
neutral: {}
|
|
22
|
+
},
|
|
23
|
+
mode: {
|
|
24
|
+
filled: {},
|
|
25
|
+
stroke: {},
|
|
26
|
+
lighter: {},
|
|
27
|
+
ghost: {}
|
|
28
|
+
},
|
|
29
|
+
size: {
|
|
30
|
+
medium: {
|
|
31
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-medium"]
|
|
32
|
+
},
|
|
33
|
+
small: {
|
|
34
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-small"]
|
|
35
|
+
},
|
|
36
|
+
xsmall: {
|
|
37
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-xsmall"]
|
|
38
|
+
},
|
|
39
|
+
xxsmall: {
|
|
40
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-xxsmall"]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
compoundVariants: [
|
|
45
|
+
{
|
|
46
|
+
variant: 'primary',
|
|
47
|
+
mode: 'filled',
|
|
48
|
+
class: {
|
|
49
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-filled"]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
variant: 'primary',
|
|
54
|
+
mode: 'stroke',
|
|
55
|
+
class: {
|
|
56
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-stroke"]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
variant: 'primary',
|
|
61
|
+
mode: 'lighter',
|
|
62
|
+
class: {
|
|
63
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-lighter"]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
variant: 'primary',
|
|
68
|
+
mode: 'ghost',
|
|
69
|
+
class: {
|
|
70
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-primary-ghost"]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
variant: 'neutral',
|
|
75
|
+
mode: 'filled',
|
|
76
|
+
class: {
|
|
77
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-filled"]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
variant: 'neutral',
|
|
82
|
+
mode: 'stroke',
|
|
83
|
+
class: {
|
|
84
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-stroke"]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
variant: 'neutral',
|
|
89
|
+
mode: 'lighter',
|
|
90
|
+
class: {
|
|
91
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-lighter"]
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
variant: 'neutral',
|
|
96
|
+
mode: 'ghost',
|
|
97
|
+
class: {
|
|
98
|
+
root: __WEBPACK_EXTERNAL_MODULE__button_module_js_521bc953__["default"]["button-neutral-ghost"]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
defaultVariants: {
|
|
103
|
+
variant: 'primary',
|
|
104
|
+
mode: 'filled',
|
|
105
|
+
size: 'medium'
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
const ButtonRoot = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(({ children, variant, mode, size, asChild, className, ...rest }, forwardedRef)=>{
|
|
109
|
+
const uniqueId = (0, __WEBPACK_EXTERNAL_MODULE_react__.useId)();
|
|
110
|
+
const Component = asChild ? __WEBPACK_EXTERNAL_MODULE__radix_ui_react_slot_85c2da36__.Slot : 'button';
|
|
111
|
+
const { root } = buttonVariants({
|
|
112
|
+
variant,
|
|
113
|
+
mode,
|
|
114
|
+
size
|
|
115
|
+
});
|
|
116
|
+
const sharedProps = {
|
|
117
|
+
variant,
|
|
118
|
+
mode,
|
|
119
|
+
size
|
|
120
|
+
};
|
|
121
|
+
const extendedChildren = (0, __WEBPACK_EXTERNAL_MODULE__libs_recursive_clone_children_js_484e82e8__.recursiveCloneChildren)(children, sharedProps, [
|
|
122
|
+
BUTTON_ICON_NAME
|
|
123
|
+
], uniqueId, asChild);
|
|
124
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Component, {
|
|
125
|
+
ref: forwardedRef,
|
|
126
|
+
className: root({
|
|
127
|
+
class: className
|
|
128
|
+
}),
|
|
129
|
+
...rest,
|
|
130
|
+
children: extendedChildren
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
ButtonRoot.displayName = BUTTON_ROOT_NAME;
|
|
134
|
+
function ButtonIcon({ variant, mode, size, as, className, ...rest }) {
|
|
135
|
+
const Component = as || 'div';
|
|
136
|
+
const { icon } = buttonVariants({
|
|
137
|
+
mode,
|
|
138
|
+
variant,
|
|
139
|
+
size
|
|
140
|
+
});
|
|
141
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Component, {
|
|
142
|
+
className: icon({
|
|
143
|
+
class: className
|
|
144
|
+
}),
|
|
145
|
+
...rest
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
ButtonIcon.displayName = BUTTON_ICON_NAME;
|
|
149
|
+
export { ButtonIcon as Icon, ButtonRoot as Root, buttonVariants };
|
|
@@ -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 };
|