@cck-ui/core 0.18.0 → 0.18.2

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.
Files changed (46) hide show
  1. package/cjs/components/action-icon/action-icon-group/action-icon-group.cjs +401 -0
  2. package/cjs/components/action-icon/action-icon-group/action-icon-group.cjs.map +1 -0
  3. package/cjs/components/action-icon/action-icon-group/action-icon-group.utils.cjs +8 -0
  4. package/cjs/components/action-icon/action-icon-group/action-icon-group.utils.cjs.map +1 -0
  5. package/cjs/components/action-icon/action-icon-group-section/action-icon-group-section.cjs +407 -0
  6. package/cjs/components/action-icon/action-icon-group-section/action-icon-group-section.cjs.map +1 -0
  7. package/cjs/components/action-icon/action-icon-group-section/action-icon-group-section.utils.cjs +25 -0
  8. package/cjs/components/action-icon/action-icon-group-section/action-icon-group-section.utils.cjs.map +1 -0
  9. package/cjs/components/action-icon/action-icon.cjs +486 -0
  10. package/cjs/components/action-icon/action-icon.cjs.map +1 -0
  11. package/cjs/components/action-icon/action-icon.module.cjs +13 -0
  12. package/cjs/components/action-icon/action-icon.module.cjs.map +1 -0
  13. package/cjs/components/action-icon/action-icon.utils.cjs +25 -0
  14. package/cjs/components/action-icon/action-icon.utils.cjs.map +1 -0
  15. package/cjs/components/action-icon/index.cjs +27 -0
  16. package/cjs/components/action-icon/index.cjs.map +1 -0
  17. package/cjs/components/button/button.cjs +2 -2
  18. package/cjs/components/semi-circle-progress/semi-circle-progress.cjs +1 -1
  19. package/cjs/index.cjs +84 -77
  20. package/cjs/index.cjs.map +1 -1
  21. package/esm/components/action-icon/action-icon-group/action-icon-group.mjs +401 -0
  22. package/esm/components/action-icon/action-icon-group/action-icon-group.mjs.map +1 -0
  23. package/esm/components/action-icon/action-icon-group/action-icon-group.utils.mjs +9 -0
  24. package/esm/components/action-icon/action-icon-group/action-icon-group.utils.mjs.map +1 -0
  25. package/esm/components/action-icon/action-icon-group-section/action-icon-group-section.mjs +407 -0
  26. package/esm/components/action-icon/action-icon-group-section/action-icon-group-section.mjs.map +1 -0
  27. package/esm/components/action-icon/action-icon-group-section/action-icon-group-section.utils.mjs +26 -0
  28. package/esm/components/action-icon/action-icon-group-section/action-icon-group-section.utils.mjs.map +1 -0
  29. package/esm/components/action-icon/action-icon.mjs +486 -0
  30. package/esm/components/action-icon/action-icon.mjs.map +1 -0
  31. package/esm/components/action-icon/action-icon.module.mjs +13 -0
  32. package/esm/components/action-icon/action-icon.module.mjs.map +1 -0
  33. package/esm/components/action-icon/action-icon.utils.mjs +26 -0
  34. package/esm/components/action-icon/action-icon.utils.mjs.map +1 -0
  35. package/esm/components/action-icon/index.mjs +24 -0
  36. package/esm/components/action-icon/index.mjs.map +1 -0
  37. package/esm/components/button/button.mjs +2 -2
  38. package/esm/components/semi-circle-progress/semi-circle-progress.mjs +1 -1
  39. package/esm/index.mjs +8 -4
  40. package/esm/index.mjs.map +1 -1
  41. package/lib/components/index.d.ts +1 -0
  42. package/package.json +1 -1
  43. package/styles/action-icon.css +1 -1
  44. package/styles/action-icon.layer.css +1 -1
  45. package/styles.css +1 -1
  46. package/styles.layer.css +1 -1
@@ -0,0 +1,486 @@
1
+ "use client";
2
+ import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.mjs";
3
+ import { useComponentProps } from "../../core/config-provider/use-component-props/use-component-props.mjs";
4
+ import { CBox } from "../../core/box/index.mjs";
5
+ import { useStyles } from "../../core/styles-api/use-styles/use-styles.mjs";
6
+ import action_icon_module_default from "./action-icon.module.mjs";
7
+ import { UnstyledButton } from "../unstyled-button/index.mjs";
8
+ import { CLoader } from "../loader/index.mjs";
9
+ import { CTransition } from "../transition/index.mjs";
10
+ import { varsResolver } from "./action-icon.utils.mjs";
11
+ import { computed, createBlock, createCommentVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useAttrs, withCtx } from "vue";
12
+ //#region packages/@cck-ui/core/src/components/action-icon/action-icon.vue
13
+ const _sfc_main = /*@__PURE__*/ defineComponent({
14
+ name: "CActionIcon",
15
+ __name: "action-icon",
16
+ props: {
17
+ dataDisabled: {
18
+ type: Boolean,
19
+ required: false
20
+ },
21
+ __staticSelector: {
22
+ type: String,
23
+ required: false
24
+ },
25
+ loading: {
26
+ type: Boolean,
27
+ required: false
28
+ },
29
+ loaderProps: {
30
+ type: Object,
31
+ required: false
32
+ },
33
+ size: {
34
+ type: null,
35
+ required: false
36
+ },
37
+ color: {
38
+ type: null,
39
+ required: false
40
+ },
41
+ radius: {
42
+ type: null,
43
+ required: false
44
+ },
45
+ gradient: {
46
+ type: Object,
47
+ required: false
48
+ },
49
+ disabled: {
50
+ type: Boolean,
51
+ required: false
52
+ },
53
+ autoContrast: {
54
+ type: Boolean,
55
+ required: false
56
+ },
57
+ className: {
58
+ type: String,
59
+ required: false
60
+ },
61
+ style: {
62
+ type: [
63
+ Object,
64
+ Function,
65
+ Array
66
+ ],
67
+ required: false,
68
+ skipCheck: true
69
+ },
70
+ __vars: {
71
+ type: null,
72
+ required: false
73
+ },
74
+ __size: {
75
+ type: String,
76
+ required: false
77
+ },
78
+ hiddenFrom: {
79
+ type: null,
80
+ required: false
81
+ },
82
+ visibleFrom: {
83
+ type: null,
84
+ required: false
85
+ },
86
+ lightHidden: {
87
+ type: Boolean,
88
+ required: false
89
+ },
90
+ darkHidden: {
91
+ type: Boolean,
92
+ required: false
93
+ },
94
+ mod: {
95
+ type: [
96
+ Object,
97
+ String,
98
+ Array
99
+ ],
100
+ required: false
101
+ },
102
+ m: {
103
+ type: null,
104
+ required: false
105
+ },
106
+ my: {
107
+ type: null,
108
+ required: false
109
+ },
110
+ mx: {
111
+ type: null,
112
+ required: false
113
+ },
114
+ mt: {
115
+ type: null,
116
+ required: false
117
+ },
118
+ mb: {
119
+ type: null,
120
+ required: false
121
+ },
122
+ ms: {
123
+ type: null,
124
+ required: false
125
+ },
126
+ me: {
127
+ type: null,
128
+ required: false
129
+ },
130
+ mis: {
131
+ type: null,
132
+ required: false
133
+ },
134
+ mie: {
135
+ type: null,
136
+ required: false
137
+ },
138
+ ml: {
139
+ type: null,
140
+ required: false
141
+ },
142
+ mr: {
143
+ type: null,
144
+ required: false
145
+ },
146
+ p: {
147
+ type: null,
148
+ required: false
149
+ },
150
+ py: {
151
+ type: null,
152
+ required: false
153
+ },
154
+ px: {
155
+ type: null,
156
+ required: false
157
+ },
158
+ pt: {
159
+ type: null,
160
+ required: false
161
+ },
162
+ pb: {
163
+ type: null,
164
+ required: false
165
+ },
166
+ ps: {
167
+ type: null,
168
+ required: false
169
+ },
170
+ pe: {
171
+ type: null,
172
+ required: false
173
+ },
174
+ pis: {
175
+ type: null,
176
+ required: false
177
+ },
178
+ pie: {
179
+ type: null,
180
+ required: false
181
+ },
182
+ pl: {
183
+ type: null,
184
+ required: false
185
+ },
186
+ pr: {
187
+ type: null,
188
+ required: false
189
+ },
190
+ bd: {
191
+ type: null,
192
+ required: false
193
+ },
194
+ bdrs: {
195
+ type: null,
196
+ required: false
197
+ },
198
+ bg: {
199
+ type: null,
200
+ required: false
201
+ },
202
+ c: {
203
+ type: null,
204
+ required: false
205
+ },
206
+ opacity: {
207
+ type: [
208
+ String,
209
+ Object,
210
+ Number
211
+ ],
212
+ required: false
213
+ },
214
+ ff: {
215
+ type: [String, Object],
216
+ required: false
217
+ },
218
+ fz: {
219
+ type: null,
220
+ required: false
221
+ },
222
+ fw: {
223
+ type: null,
224
+ required: false
225
+ },
226
+ lts: {
227
+ type: null,
228
+ required: false
229
+ },
230
+ ta: {
231
+ type: [String, Object],
232
+ required: false
233
+ },
234
+ lh: {
235
+ type: null,
236
+ required: false
237
+ },
238
+ fs: {
239
+ type: null,
240
+ required: false
241
+ },
242
+ tt: {
243
+ type: [String, Object],
244
+ required: false
245
+ },
246
+ td: {
247
+ type: null,
248
+ required: false
249
+ },
250
+ w: {
251
+ type: null,
252
+ required: false
253
+ },
254
+ miw: {
255
+ type: null,
256
+ required: false
257
+ },
258
+ maw: {
259
+ type: null,
260
+ required: false
261
+ },
262
+ h: {
263
+ type: null,
264
+ required: false
265
+ },
266
+ mih: {
267
+ type: null,
268
+ required: false
269
+ },
270
+ mah: {
271
+ type: null,
272
+ required: false
273
+ },
274
+ bgsz: {
275
+ type: null,
276
+ required: false
277
+ },
278
+ bgp: {
279
+ type: null,
280
+ required: false
281
+ },
282
+ bgr: {
283
+ type: null,
284
+ required: false
285
+ },
286
+ bga: {
287
+ type: null,
288
+ required: false
289
+ },
290
+ pos: {
291
+ type: [String, Object],
292
+ required: false
293
+ },
294
+ top: {
295
+ type: null,
296
+ required: false
297
+ },
298
+ left: {
299
+ type: null,
300
+ required: false
301
+ },
302
+ bottom: {
303
+ type: null,
304
+ required: false
305
+ },
306
+ right: {
307
+ type: null,
308
+ required: false
309
+ },
310
+ inset: {
311
+ type: null,
312
+ required: false
313
+ },
314
+ display: {
315
+ type: null,
316
+ required: false
317
+ },
318
+ flex: {
319
+ type: null,
320
+ required: false
321
+ },
322
+ unstyled: {
323
+ type: Boolean,
324
+ required: false
325
+ },
326
+ variant: {
327
+ type: null,
328
+ required: false
329
+ },
330
+ classNames: {
331
+ type: null,
332
+ required: false
333
+ },
334
+ styles: {
335
+ type: null,
336
+ required: false
337
+ },
338
+ vars: {
339
+ type: Function,
340
+ required: false
341
+ },
342
+ attributes: {
343
+ type: null,
344
+ required: false
345
+ }
346
+ },
347
+ setup(__props, { expose: __expose }) {
348
+ const _root = ref(null);
349
+ const _inner = ref(null);
350
+ const attrs = useAttrs();
351
+ const rawProps = __props;
352
+ const props = useComponentProps({
353
+ component: "CActionIcon",
354
+ defaultProps: {},
355
+ props: rawProps
356
+ });
357
+ const knownProps = [
358
+ "className",
359
+ "classNames",
360
+ "style",
361
+ "styles",
362
+ "unstyled",
363
+ "loading",
364
+ "loaderProps",
365
+ "size",
366
+ "color",
367
+ "radius",
368
+ "__staticSelector",
369
+ "gradient",
370
+ "vars",
371
+ "disabled",
372
+ "dataDisabled",
373
+ "autoContrast",
374
+ "mod",
375
+ "attributes"
376
+ ];
377
+ const getStyles = useStyles({
378
+ name: ["ActionIcon", props.value.__staticSelector],
379
+ props: {
380
+ ...props.value,
381
+ ...attrs
382
+ },
383
+ classes: action_icon_module_default,
384
+ className: props.value.className,
385
+ style: props.value.style,
386
+ classNames: props.value.classNames,
387
+ styles: props.value.styles,
388
+ unstyled: props.value.unstyled,
389
+ attributes: props.value.attributes,
390
+ vars: props.value.vars,
391
+ varsResolver
392
+ });
393
+ const modList = computed(() => [{ disabled: props.value.disabled || props.value.dataDisabled }, { loading: props.value.loading }]);
394
+ const rootAttrs = computed(() => getStyles("root", { active: !props.value.disabled && !props.value.loading && !props.value.dataDisabled }));
395
+ const mergedRootAttrs = computed(() => {
396
+ const others = {};
397
+ const propsValue = props.value;
398
+ for (const key in propsValue) if (!knownProps.includes(key)) others[key] = propsValue[key];
399
+ const userMod = props.value.mod;
400
+ const mergedMod = [...Array.isArray(userMod) ? userMod : [userMod].filter(Boolean), ...modList.value || []];
401
+ return {
402
+ ...others,
403
+ mod: mergedMod,
404
+ ...rootAttrs.value
405
+ };
406
+ });
407
+ __expose({
408
+ root: computed(() => _root.value?.root ?? null),
409
+ inner: computed(() => _inner.value?.root ?? null)
410
+ });
411
+ const __returned__ = {
412
+ _root,
413
+ _inner,
414
+ attrs,
415
+ rawProps,
416
+ props,
417
+ knownProps,
418
+ getStyles,
419
+ modList,
420
+ rootAttrs,
421
+ mergedRootAttrs,
422
+ get UnstyledButton() {
423
+ return UnstyledButton;
424
+ },
425
+ get CLoader() {
426
+ return CLoader;
427
+ },
428
+ get CTransition() {
429
+ return CTransition;
430
+ },
431
+ get CBox() {
432
+ return CBox;
433
+ }
434
+ };
435
+ Object.defineProperty(__returned__, "__isScriptSetup", {
436
+ enumerable: false,
437
+ value: true
438
+ });
439
+ return __returned__;
440
+ }
441
+ });
442
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
443
+ return openBlock(), createBlock($setup["UnstyledButton"], mergeProps({ ref: "_root" }, $setup.mergedRootAttrs, {
444
+ "aria-busy": $setup.props.loading || void 0,
445
+ disabled: $setup.props.disabled || $props.loading,
446
+ size: $setup.props.size,
447
+ unstyled: $setup.props.unstyled
448
+ }), {
449
+ default: withCtx(() => [typeof $setup.props.loading === "boolean" ? (openBlock(), createBlock($setup["CTransition"], {
450
+ key: 0,
451
+ transition: "slide-down",
452
+ duration: 150,
453
+ mounted: $setup.props.loading
454
+ }, {
455
+ default: withCtx(({ styles }) => [createVNode($setup["CBox"], mergeProps({
456
+ "aria-hidden": "true",
457
+ ref: "_inner",
458
+ tag: "span"
459
+ }, $setup.getStyles("loader", { style: styles })), {
460
+ default: withCtx(() => [createVNode($setup["CLoader"], mergeProps({
461
+ color: "var(--ai-color)",
462
+ size: "calc(var(--ai-size) * 0.55)"
463
+ }, $setup.props.loaderProps), {
464
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
465
+ _: 3
466
+ }, 16)]),
467
+ _: 3
468
+ }, 16)]),
469
+ _: 3
470
+ }, 8, ["mounted"])) : createCommentVNode("v-if", true), createVNode($setup["CBox"], mergeProps({ tag: "span" }, $setup.getStyles("icon"), { mod: { loading: $setup.props.loading } }), {
471
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
472
+ _: 3
473
+ }, 16, ["mod"])]),
474
+ _: 3
475
+ }, 16, [
476
+ "aria-busy",
477
+ "disabled",
478
+ "size",
479
+ "unstyled"
480
+ ]);
481
+ }
482
+ var action_icon_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/cck-ui/cck-ui/packages/@cck-ui/core/src/components/action-icon/action-icon.vue"]]);
483
+ //#endregion
484
+ export { action_icon_default as default };
485
+
486
+ //# sourceMappingURL=action-icon.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-icon.mjs","names":[],"sources":["../../../src/components/action-icon/action-icon.vue"],"sourcesContent":["<template>\n <unstyled-button\n ref=\"_root\"\n v-bind=\"mergedRootAttrs\"\n :aria-busy=\"props.loading || undefined\"\n :disabled=\"props.disabled || loading\"\n :size=\"props.size\"\n :unstyled=\"props.unstyled\"\n >\n <c-transition\n transition=\"slide-down\"\n v-if=\"typeof props.loading === 'boolean'\"\n :duration=\"150\"\n :mounted=\"props.loading\"\n >\n <template #default=\"{ styles }\">\n <c-box\n aria-hidden=\"true\"\n ref=\"_inner\"\n tag=\"span\"\n v-bind=\"getStyles('loader', { style: styles })\"\n >\n <c-loader\n color=\"var(--ai-color)\"\n size=\"calc(var(--ai-size) * 0.55)\"\n v-bind=\"props.loaderProps\"\n >\n <slot />\n </c-loader>\n </c-box>\n </template>\n </c-transition>\n\n <c-box tag=\"span\" v-bind=\"getStyles('icon')\" :mod=\"{ loading: props.loading }\">\n <slot />\n </c-box>\n </unstyled-button>\n</template>\n\n<script setup lang=\"ts\">\nimport UnstyledButton from '../unstyled-button'\nimport { CLoader } from '../loader'\nimport { CTransition } from '../transition'\nimport { computed, ref, useAttrs } from 'vue'\nimport { ActionIconFactory, ActionIconProps } from './action-icon.types'\nimport { CBox, useComponentProps, useStyles } from '../../core'\nimport classes from './action-icon.module.css'\nimport { varsResolver } from './action-icon.utils'\n\ndefineOptions({\n name: 'CActionIcon',\n})\n\nconst _root = ref<InstanceType<typeof UnstyledButton> | null>(null)\nconst _inner = ref<InstanceType<typeof CBox> | null>(null)\n\nconst attrs = useAttrs()\n\nconst rawProps = defineProps<ActionIconProps>()\n\nconst props = useComponentProps({\n component: 'CActionIcon',\n defaultProps: {},\n props: rawProps,\n})\n\nconst knownProps = [\n 'className',\n 'classNames',\n 'style',\n 'styles',\n 'unstyled',\n 'loading',\n 'loaderProps',\n 'size',\n 'color',\n 'radius',\n '__staticSelector',\n 'gradient',\n 'vars',\n 'disabled',\n 'dataDisabled',\n 'autoContrast',\n 'mod',\n 'attributes',\n]\n\nconst getStyles = useStyles<ActionIconFactory>({\n name: ['ActionIcon', props.value.__staticSelector],\n props: { ...props.value, ...attrs } as ActionIconProps,\n classes,\n className: props.value.className,\n style: props.value.style,\n classNames: props.value.classNames,\n styles: props.value.styles,\n unstyled: props.value.unstyled,\n attributes: props.value.attributes,\n vars: props.value.vars,\n varsResolver,\n})\n\nconst modList = computed(() => [\n { disabled: props.value.disabled || props.value.dataDisabled },\n { loading: props.value.loading },\n])\n\nconst rootAttrs = computed(() =>\n getStyles('root', {\n active: !props.value.disabled && !props.value.loading && !props.value.dataDisabled,\n })\n)\n\nconst mergedRootAttrs = computed(() => {\n const others: Record<string, any> = {}\n const propsValue = props.value\n for (const key in propsValue) {\n if (!knownProps.includes(key)) {\n others[key] = propsValue[key as keyof typeof propsValue]\n }\n }\n const userMod = props.value.mod\n const mergedMod = [\n ...(Array.isArray(userMod) ? userMod : [userMod].filter(Boolean)),\n ...(modList.value || []),\n ]\n return { ...others, mod: mergedMod, ...rootAttrs.value }\n})\n\ndefineExpose({\n root: computed(() => _root.value?.root ?? null),\n inner: computed(() => _inner.value?.root ?? null),\n})\n</script>\n"],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ //#region packages/@cck-ui/core/src/components/action-icon/action-icon.module.css
3
+ var action_icon_module_default = {
4
+ "root": "m_cfeededf",
5
+ "icon": "m_cfea9a76",
6
+ "loader": "m_856f02d0",
7
+ "group": "m_2d535822",
8
+ "groupSection": "m_cb49b463"
9
+ };
10
+ //#endregion
11
+ export { action_icon_module_default as default };
12
+
13
+ //# sourceMappingURL=action-icon.module.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-icon.module.mjs","names":[],"sources":["../../../src/components/action-icon/action-icon.module.css"],"sourcesContent":[".root {\n --ai-size-xs: 18px;\n --ai-size-sm: 22px;\n --ai-size-md: 28px;\n --ai-size-lg: 34px;\n --ai-size-xl: 44px;\n\n --ai-size-input-xs: 30px;\n --ai-size-input-sm: 36px;\n --ai-size-input-md: 42px;\n --ai-size-input-lg: 50px;\n --ai-size-input-xl: 60px;\n\n --ai-size: var(--ai-size-md);\n --ai-color: var(--c-color-white);\n\n line-height: 1;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n user-select: none;\n overflow: hidden;\n\n width: var(--ai-size);\n height: var(--ai-size);\n min-width: var(--ai-size);\n min-height: var(--ai-size);\n border-radius: var(--ai-radius, var(--c-radius-default));\n background: var(--ai-bg, var(--c-color-default));\n color: var(--ai-color, var(--c-color-default-border));\n border: var(--ai-bd, rem(1px) solid var(--c-color-default-color));\n cursor: pointer;\n\n @mixin hover {\n &:where(:not([data-loading], :disabled, [data-disabled])) {\n background-color: var(--ai-hover, var(--c-color-default-hover));\n color: var(--ai-hover-color, var(--ai-color));\n }\n }\n\n &[data-loading] {\n cursor: not-allowed;\n\n & .icon {\n opacity: 0;\n transform: translateY(100%);\n }\n }\n\n &:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {\n cursor: not-allowed;\n border: 1px solid transparent;\n color: var(--c-color-disabled-color);\n background: var(--c-color-disabled);\n\n &:active {\n transform: none;\n }\n }\n}\n\n.loader {\n inset: -1px;\n position: absolute;\n border-radius: var(--ai-radius, var(--c-radius-default));\n display: flex;\n align-items: center;\n justify-content: center;\n\n @mixin where-light {\n background-color: rgba(255, 255, 255, 0.15);\n }\n\n @mixin where-dark {\n background-color: rgba(0, 0, 0, 0.15);\n }\n}\n\n.group {\n --ai-border-width: 1px;\n display: flex;\n\n & :where(*) {\n &:focus {\n position: relative;\n z-index: 1;\n }\n }\n\n &[data-orientation='horizontal'] {\n flex-direction: row;\n\n & .root,\n & .groupSection {\n &:not(:only-child):first-child {\n border-end-end-radius: 0;\n border-start-end-radius: 0;\n border-inline-end-width: calc(var(--ai-border-width) / 2);\n }\n\n &:not(:only-child):last-child {\n border-end-start-radius: 0;\n border-start-start-radius: 0;\n border-inline-start-width: calc(var(--ai-border-width) / 2);\n }\n\n &:not(:only-child):not(:first-child):not(:last-child) {\n border-radius: 0;\n border-inline-width: calc(var(--ai-border-width) / 2);\n }\n }\n }\n\n &[data-orientation='vertical'] {\n flex-direction: column;\n\n & .root,\n & .groupSection {\n &:not(:only-child):first-child {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n border-bottom-width: calc(var(--ai-border-width) / 2);\n }\n\n &:not(:only-child):last-child {\n border-start-start-radius: 0;\n border-start-end-radius: 0;\n border-top-width: calc(var(--ai-border-width) / 2);\n }\n\n &:not(:only-child):not(:first-child):not(:last-child) {\n border-radius: 0;\n border-bottom-width: calc(var(--ai-border-width) / 2);\n border-top-width: calc(var(--ai-border-width) / 2);\n }\n }\n }\n}\n\n.icon {\n display: flex;\n align-items: center;\n justify-content: center;\n transition:\n transform 150ms ease,\n opacity 100ms ease;\n width: 100%;\n height: 100%;\n}\n\n.groupSection {\n --section-height-xs: 18px;\n --section-height-sm: 22px;\n --section-height-md: 28px;\n --section-height-lg: 34px;\n --section-height-xl: 44px;\n\n --section-height-input-xs: 30px;\n --section-height-input-sm: 36px;\n --section-height-input-md: 42px;\n --section-height-input-lg: 50px;\n --section-height-input-xl: 60px;\n\n --section-padding-x-xs: 6px;\n --section-padding-x-sm: 8px;\n --section-padding-x-md: 10px;\n --section-padding-x-lg: 12px;\n --section-padding-x-xl: 16px;\n\n --section-height: var(--section-height-sm);\n --section-padding-x: var(--section-padding-x-sm);\n --section-color: var(--c-color-white);\n\n font-weight: var(--c-font-weight-medium);\n width: auto;\n border-radius: var(--section-radius, var(--c-radius-default));\n\n font-size: var(--section-fz, var(--c-font-size-sm));\n background: var(--section-bg, var(--c-primary-color-filled));\n border: var(--section-bd, rem(1px) solid transparent);\n color: var(--section-color, var(--c-color-white));\n height: var(--section-height, var(--section-height-sm));\n padding-inline: var(--section-padding-x, var(--section-padding-x-sm));\n vertical-align: middle;\n line-height: 1;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n"],"mappings":";;AAAA,IAAA,6BAAe;CAAC,QAAO;CAAa,QAAO;CAAa,UAAS;CAAa,SAAQ;CAAa,gBAAe;AAAY"}
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { getRadius, getSize } from "../../core/utils/get-size/get-size.mjs";
3
+ import { createVarsResolver } from "../../core/styles-api/create-vars-resolver/create-vars-resolver.mjs";
4
+ //#region packages/@cck-ui/core/src/components/action-icon/action-icon.utils.ts
5
+ const varsResolver = createVarsResolver((theme, { size, radius, variant, gradient, color, autoContrast }) => {
6
+ const colors = theme.variantColorResolver({
7
+ color: color || theme.primaryColor,
8
+ theme,
9
+ gradient,
10
+ variant: variant || "default",
11
+ autoContrast
12
+ });
13
+ return { root: {
14
+ "--ai-bd": color || variant ? colors.border : void 0,
15
+ "--ai-bg": color || variant ? colors.background : void 0,
16
+ "--ai-color": colors.color,
17
+ "--ai-hover": color || variant ? colors.hover : void 0,
18
+ "--ai-hover-color": color || variant ? colors.hoverColor : void 0,
19
+ "--ai-radius": radius === void 0 ? void 0 : getRadius(radius),
20
+ "--ai-size": getSize(size, "ai-size")
21
+ } };
22
+ });
23
+ //#endregion
24
+ export { varsResolver };
25
+
26
+ //# sourceMappingURL=action-icon.utils.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-icon.utils.mjs","names":[],"sources":["../../../src/components/action-icon/action-icon.utils.ts"],"sourcesContent":["import { createVarsResolver, getRadius, getSize } from '../../core'\nimport { ActionIconFactory } from './action-icon.types'\n\nexport const varsResolver = createVarsResolver<ActionIconFactory>(\n (theme, { size, radius, variant, gradient, color, autoContrast }) => {\n const colors = theme.variantColorResolver({\n color: color || theme.primaryColor,\n theme,\n gradient,\n variant: variant || 'default',\n autoContrast,\n })\n return {\n root: {\n '--ai-bd': color || variant ? colors.border : undefined,\n '--ai-bg': color || variant ? colors.background : undefined,\n '--ai-color': colors.color,\n '--ai-hover': color || variant ? colors.hover : undefined,\n '--ai-hover-color': color || variant ? colors.hoverColor : undefined,\n '--ai-radius': radius === undefined ? undefined : getRadius(radius),\n '--ai-size': getSize(size, 'ai-size'),\n },\n }\n }\n)\n"],"mappings":";;;;AAGA,MAAa,eAAe,oBACzB,OAAO,EAAE,MAAM,QAAQ,SAAS,UAAU,OAAO,mBAAmB;CACnE,MAAM,SAAS,MAAM,qBAAqB;EACxC,OAAO,SAAS,MAAM;EACtB;EACA;EACA,SAAS,WAAW;EACpB;CACF,CAAC;CACD,OAAO,EACL,MAAM;EACJ,WAAW,SAAS,UAAU,OAAO,SAAS,KAAA;EAC9C,WAAW,SAAS,UAAU,OAAO,aAAa,KAAA;EAClD,cAAc,OAAO;EACrB,cAAc,SAAS,UAAU,OAAO,QAAQ,KAAA;EAChD,oBAAoB,SAAS,UAAU,OAAO,aAAa,KAAA;EAC3D,eAAe,WAAW,KAAA,IAAY,KAAA,IAAY,UAAU,MAAM;EAClE,aAAa,QAAQ,MAAM,SAAS;CACtC,EACF;AACF,CACF"}
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { withInstall } from "../../core/utils/vue/install.mjs";
3
+ import { withClasses, withExtend, withPropsFactory, withVarsResolver } from "../../core/utils/vue/statics.mjs";
4
+ import action_icon_module_default from "./action-icon.module.mjs";
5
+ import { varsResolver } from "./action-icon-group/action-icon-group.utils.mjs";
6
+ import action_icon_group_default from "./action-icon-group/action-icon-group.mjs";
7
+ import { varsResolver as varsResolver$1 } from "./action-icon-group-section/action-icon-group-section.utils.mjs";
8
+ import action_icon_group_section_default from "./action-icon-group-section/action-icon-group-section.mjs";
9
+ import { varsResolver as varsResolver$2 } from "./action-icon.utils.mjs";
10
+ import action_icon_default from "./action-icon.mjs";
11
+ //#region packages/@cck-ui/core/src/components/action-icon/index.ts
12
+ const ActionIconGroupSectionWithStatic = withPropsFactory(withExtend(withVarsResolver(withClasses(action_icon_group_section_default, action_icon_module_default), varsResolver)));
13
+ const ActionIconGroupWithStatic = withPropsFactory(withExtend(withVarsResolver(withClasses(action_icon_group_default, action_icon_module_default), varsResolver$1)));
14
+ const ActionIconWithStatic = withPropsFactory(withExtend(withVarsResolver(withClasses(action_icon_default, action_icon_module_default), varsResolver$2)));
15
+ const CActionIconGroup = withInstall(ActionIconGroupWithStatic);
16
+ const CActionIconGroupSection = withInstall(ActionIconGroupSectionWithStatic);
17
+ const CActionIcon = withInstall(ActionIconWithStatic, {
18
+ CActionIconGroup,
19
+ CActionIconGroupSection
20
+ });
21
+ //#endregion
22
+ export { CActionIcon, CActionIcon as default, CActionIconGroup, CActionIconGroupSection };
23
+
24
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":["ActionIconGroupSection","classes","sectionVarsResolver","ActionIconGroup","groupVarsResolver","ActionIcon","varsResolver"],"sources":["../../../src/components/action-icon/index.ts"],"sourcesContent":["import ActionIconGroup from './action-icon-group/action-icon-group.vue'\nimport ActionIconGroupSection from './action-icon-group-section/action-icon-group-section.vue'\nimport ActionIcon from './action-icon.vue'\nimport classes from './action-icon.module.css'\n\nimport { varsResolver as sectionVarsResolver } from './action-icon-group/action-icon-group.utils'\nimport { varsResolver as groupVarsResolver } from './action-icon-group-section/action-icon-group-section.utils'\nimport { varsResolver } from './action-icon.utils'\nimport {\n SFCWithInstallAndClasses,\n withClasses,\n withExtend,\n withInstall,\n withPropsFactory,\n withVarsResolver,\n} from '../../core'\n\nconst ActionIconGroupSectionWithStatic = withPropsFactory(\n withExtend(withVarsResolver(withClasses(ActionIconGroupSection, classes), sectionVarsResolver))\n)\nconst ActionIconGroupWithStatic = withPropsFactory(\n withExtend(withVarsResolver(withClasses(ActionIconGroup, classes), groupVarsResolver))\n)\nconst ActionIconWithStatic = withPropsFactory(\n withExtend(withVarsResolver(withClasses(ActionIcon, classes), varsResolver))\n)\n\nexport const CActionIconGroup: SFCWithInstallAndClasses<typeof ActionIconGroup, typeof classes> =\n withInstall(ActionIconGroupWithStatic)\nexport const CActionIconGroupSection: SFCWithInstallAndClasses<\n typeof ActionIconGroupSection,\n typeof classes\n> = withInstall(ActionIconGroupSectionWithStatic)\nexport const CActionIcon: SFCWithInstallAndClasses<typeof ActionIcon, typeof classes> & {\n CActionIconGroup: typeof CActionIconGroup\n CActionIconGroupSection: typeof CActionIconGroupSection\n} = withInstall(ActionIconWithStatic, {\n CActionIconGroup,\n CActionIconGroupSection,\n})\n\nexport default CActionIcon\n\nexport * from './action-icon-group/action-icon-group.types'\nexport * from './action-icon-group-section/action-icon-group-section.types'\nexport * from './action-icon.types'\n"],"mappings":";;;;;;;;;;;AAiBA,MAAM,mCAAmC,iBACvC,WAAW,iBAAiB,YAAYA,mCAAwBC,0BAAO,GAAGC,YAAmB,CAAC,CAChG;AACA,MAAM,4BAA4B,iBAChC,WAAW,iBAAiB,YAAYC,2BAAiBF,0BAAO,GAAGG,cAAiB,CAAC,CACvF;AACA,MAAM,uBAAuB,iBAC3B,WAAW,iBAAiB,YAAYC,qBAAYJ,0BAAO,GAAGK,cAAY,CAAC,CAC7E;AAEA,MAAa,mBACX,YAAY,yBAAyB;AACvC,MAAa,0BAGT,YAAY,gCAAgC;AAChD,MAAa,cAGT,YAAY,sBAAsB;CACpC;CACA;AACF,CAAC"}
@@ -5,10 +5,10 @@ import { useComponentProps } from "../../core/config-provider/use-component-prop
5
5
  import { CBox } from "../../core/box/index.mjs";
6
6
  import { useStyles } from "../../core/styles-api/use-styles/use-styles.mjs";
7
7
  import { UnstyledButton } from "../unstyled-button/index.mjs";
8
- import button_module_default from "./button.module.mjs";
9
- import { varsResolver } from "./button.utils.mjs";
10
8
  import { CLoader } from "../loader/index.mjs";
11
9
  import { CTransition } from "../transition/index.mjs";
10
+ import button_module_default from "./button.module.mjs";
11
+ import { varsResolver } from "./button.utils.mjs";
12
12
  import { computed, createBlock, createCommentVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, resolveDynamicComponent, useAttrs, useSlots, withCtx } from "vue";
13
13
  //#region packages/@cck-ui/core/src/components/button/button.vue
14
14
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -5,8 +5,8 @@ import { CBox } from "../../core/box/index.mjs";
5
5
  import { useStyles } from "../../core/styles-api/use-styles/use-styles.mjs";
6
6
  import semi_circle_progress_module_default from "./semi-circle-progress.module.mjs";
7
7
  import { varsResolver } from "./semi-circle-progress.utils.mjs";
8
- import { clamp } from "es-toolkit";
9
8
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useAttrs, withCtx } from "vue";
9
+ import { clamp } from "es-toolkit";
10
10
  //#region packages/@cck-ui/core/src/components/semi-circle-progress/semi-circle-progress.vue
11
11
  const _sfc_main = /*@__PURE__*/ defineComponent({
12
12
  name: "CSemiCircleProgress",
package/esm/index.mjs CHANGED
@@ -51,13 +51,14 @@ import { resolveStyles } from "./core/styles-api/use-styles/get-style/resolve-st
51
51
  import { FOCUS_CLASS_NAMES } from "./core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.mjs";
52
52
  import { useStyles } from "./core/styles-api/use-styles/use-styles.mjs";
53
53
  import { UnstyledButton } from "./components/unstyled-button/index.mjs";
54
- import { CCloseButton } from "./components/close-button/index.mjs";
55
- import { CAlert } from "./components/alert/index.mjs";
56
- import { CAspectRatio } from "./components/aspect-ratio/index.mjs";
57
54
  import { CDefaultLoaders, CLoader } from "./components/loader/index.mjs";
58
55
  import { transitions } from "./components/transition/transitions.mjs";
59
56
  import { getTransitionProps } from "./components/transition/get-transition-props/get-transition-props.mjs";
60
57
  import { CTransition } from "./components/transition/index.mjs";
58
+ import { CActionIcon, CActionIconGroup, CActionIconGroupSection } from "./components/action-icon/index.mjs";
59
+ import { CCloseButton } from "./components/close-button/index.mjs";
60
+ import { CAlert } from "./components/alert/index.mjs";
61
+ import { CAspectRatio } from "./components/aspect-ratio/index.mjs";
61
62
  import { CButton, CButtonGroup, CButtonGroupSection } from "./components/button/index.mjs";
62
63
  import { CCenter } from "./components/center/index.mjs";
63
64
  import { CContainer } from "./components/container/index.mjs";
@@ -78,6 +79,9 @@ const INSTALLED_KEY = Symbol("INSTALLED_KEY");
78
79
  const components = [
79
80
  CckConfigProvider,
80
81
  CBox,
82
+ CActionIcon,
83
+ CActionIconGroup,
84
+ CActionIconGroupSection,
81
85
  CAlert,
82
86
  CAspectRatio,
83
87
  CButton,
@@ -116,6 +120,6 @@ const CckUI = { install(app) {
116
120
  });
117
121
  } };
118
122
  //#endregion
119
- export { CAlert, CAspectRatio, CBox, CButton, CButtonGroup, CButtonGroupSection, transitions as CCK_TRANSITIONS, CCenter, CCloseButton, CCol, CContainer, CDefaultLoaders, CEmptyState, CEmptyStateActions, CEmptyStateDescription, CEmptyStateIndicator, CEmptyStateTitle, CFlex, CGrid, CGroup, CLoader, CONFIG_KEY, CPaper, CSemiCircleProgress, CSimpleGrid, CSkeleton, CSpace, CSplitter, CSplitterPane, CStack, CText, CTransition, CckConfigProvider, CckUI, CckUI as default, DEFAULT_THEME, FOCUS_CLASS_NAMES, STYLE_PROPS_DATA, THEME_KEY, UnstyledButton, alpha, camelToKebabCase, colorsTuple, createTheme, createVarsResolver, darken, deepMerge, defaultCssVariablesResolver, defaultVariantColorsResolver, em, extractStyleProps, filterProps, getBaseValue, getBreakpointValue, getCSSColorVariables, getComponentName, getFontSize, getGradient, getLineHeight, getPrimaryShade, getRadius, getShadow, getSize, getSortedBreakpoints, getSpacing, getThemeColor, getTransitionProps, hashStyleProps, isLightColor, isNumber, isNumberLike, isString, isStringNumber, isUndefined, isVirtualColor, keys, luminance, mergeThemeOverrides, normalizeNumberLikeStringProp, numberLikeStringToNumber, parseStyleProps, parseThemeColor, px, rem, resolveClassNames, resolveStyles, responsiveStyleManager, rgb, rgba, stylesToString, toRgba, useCckClassNamesPrefix, useCckColorScheme, useCckCssVariablesResolver, useCckEnv, useCckIsHeadless, useCckStyleNonce, useCckStylesTransform, useCckSxTransform, useCckTheme, useCckWithStaticClasses, useComponentProps, useConfigContext, useProviderColorScheme, useRandomClassName, useStyles, virtualColor, withClasses, withExtend, withInstall, withPropsDefaultSetter, withPropsFactory, withVarsResolver };
123
+ export { CActionIcon, CActionIconGroup, CActionIconGroupSection, CAlert, CAspectRatio, CBox, CButton, CButtonGroup, CButtonGroupSection, transitions as CCK_TRANSITIONS, CCenter, CCloseButton, CCol, CContainer, CDefaultLoaders, CEmptyState, CEmptyStateActions, CEmptyStateDescription, CEmptyStateIndicator, CEmptyStateTitle, CFlex, CGrid, CGroup, CLoader, CONFIG_KEY, CPaper, CSemiCircleProgress, CSimpleGrid, CSkeleton, CSpace, CSplitter, CSplitterPane, CStack, CText, CTransition, CckConfigProvider, CckUI, CckUI as default, DEFAULT_THEME, FOCUS_CLASS_NAMES, STYLE_PROPS_DATA, THEME_KEY, UnstyledButton, alpha, camelToKebabCase, colorsTuple, createTheme, createVarsResolver, darken, deepMerge, defaultCssVariablesResolver, defaultVariantColorsResolver, em, extractStyleProps, filterProps, getBaseValue, getBreakpointValue, getCSSColorVariables, getComponentName, getFontSize, getGradient, getLineHeight, getPrimaryShade, getRadius, getShadow, getSize, getSortedBreakpoints, getSpacing, getThemeColor, getTransitionProps, hashStyleProps, isLightColor, isNumber, isNumberLike, isString, isStringNumber, isUndefined, isVirtualColor, keys, luminance, mergeThemeOverrides, normalizeNumberLikeStringProp, numberLikeStringToNumber, parseStyleProps, parseThemeColor, px, rem, resolveClassNames, resolveStyles, responsiveStyleManager, rgb, rgba, stylesToString, toRgba, useCckClassNamesPrefix, useCckColorScheme, useCckCssVariablesResolver, useCckEnv, useCckIsHeadless, useCckStyleNonce, useCckStylesTransform, useCckSxTransform, useCckTheme, useCckWithStaticClasses, useComponentProps, useConfigContext, useProviderColorScheme, useRandomClassName, useStyles, virtualColor, withClasses, withExtend, withInstall, withPropsDefaultSetter, withPropsFactory, withVarsResolver };
120
124
 
121
125
  //# sourceMappingURL=index.mjs.map
package/esm/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\nimport {\n CAlert,\n CAspectRatio,\n CButton,\n CButtonGroup,\n CButtonGroupSection,\n CCenter,\n CCloseButton,\n CCol,\n CContainer,\n CEmptyState,\n CEmptyStateActions,\n CEmptyStateDescription,\n CEmptyStateIndicator,\n CEmptyStateTitle,\n CFlex,\n CGrid,\n CGroup,\n CLoader,\n CPaper,\n CSemiCircleProgress,\n CSimpleGrid,\n CSkeleton,\n CSpace,\n CSplitter,\n CSplitterPane,\n CStack,\n CText,\n CTransition,\n UnstyledButton,\n} from './components'\nimport { CckConfigProvider, CBox } from './core'\n\nconst INSTALLED_KEY = Symbol('INSTALLED_KEY')\n\nconst components = [\n CckConfigProvider,\n CBox,\n CAlert,\n CAspectRatio,\n CButton,\n CButtonGroup,\n CButtonGroupSection,\n CCenter,\n CCloseButton,\n CCol,\n CContainer,\n CEmptyState,\n CEmptyStateActions,\n CEmptyStateDescription,\n CEmptyStateIndicator,\n CEmptyStateTitle,\n CFlex,\n CGrid,\n CGroup,\n CLoader,\n CPaper,\n CSemiCircleProgress,\n CSimpleGrid,\n CSkeleton,\n CSpace,\n CSplitter,\n CSplitterPane,\n CStack,\n CText,\n CTransition,\n UnstyledButton,\n]\n\nconst CckUI: Plugin = {\n install(app: App) {\n if ((app as any)[INSTALLED_KEY]) {\n return\n }\n ;(app as any)[INSTALLED_KEY] = true\n components.forEach((c) => {\n if (c.name) {\n app.component(c.name, c)\n }\n })\n },\n}\n\nexport default CckUI\nexport { CckUI }\n\nexport * from './components'\nexport * from './core'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,MAAM,gBAAgB,OAAO,eAAe;AAE5C,MAAM,aAAa;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAM,QAAgB,EACpB,QAAQ,KAAU;CAChB,IAAK,IAAY,gBACf;CAED,IAAa,iBAAiB;CAC/B,WAAW,SAAS,MAAM;EACxB,IAAI,EAAE,MACJ,IAAI,UAAU,EAAE,MAAM,CAAC;CAE3B,CAAC;AACH,EACF"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\nimport {\n CActionIcon,\n CActionIconGroup,\n CActionIconGroupSection,\n CAlert,\n CAspectRatio,\n CButton,\n CButtonGroup,\n CButtonGroupSection,\n CCenter,\n CCloseButton,\n CCol,\n CContainer,\n CEmptyState,\n CEmptyStateActions,\n CEmptyStateDescription,\n CEmptyStateIndicator,\n CEmptyStateTitle,\n CFlex,\n CGrid,\n CGroup,\n CLoader,\n CPaper,\n CSemiCircleProgress,\n CSimpleGrid,\n CSkeleton,\n CSpace,\n CSplitter,\n CSplitterPane,\n CStack,\n CText,\n CTransition,\n UnstyledButton,\n} from './components'\nimport { CckConfigProvider, CBox } from './core'\n\nconst INSTALLED_KEY = Symbol('INSTALLED_KEY')\n\nconst components = [\n CckConfigProvider,\n CBox,\n CActionIcon,\n CActionIconGroup,\n CActionIconGroupSection,\n CAlert,\n CAspectRatio,\n CButton,\n CButtonGroup,\n CButtonGroupSection,\n CCenter,\n CCloseButton,\n CCol,\n CContainer,\n CEmptyState,\n CEmptyStateActions,\n CEmptyStateDescription,\n CEmptyStateIndicator,\n CEmptyStateTitle,\n CFlex,\n CGrid,\n CGroup,\n CLoader,\n CPaper,\n CSemiCircleProgress,\n CSimpleGrid,\n CSkeleton,\n CSpace,\n CSplitter,\n CSplitterPane,\n CStack,\n CText,\n CTransition,\n UnstyledButton,\n]\n\nconst CckUI: Plugin = {\n install(app: App) {\n if ((app as any)[INSTALLED_KEY]) {\n return\n }\n ;(app as any)[INSTALLED_KEY] = true\n components.forEach((c) => {\n if (c.name) {\n app.component(c.name, c)\n }\n })\n },\n}\n\nexport default CckUI\nexport { CckUI }\n\nexport * from './components'\nexport * from './core'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,MAAM,gBAAgB,OAAO,eAAe;AAE5C,MAAM,aAAa;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAM,QAAgB,EACpB,QAAQ,KAAU;CAChB,IAAK,IAAY,gBACf;CAED,IAAa,iBAAiB;CAC/B,WAAW,SAAS,MAAM;EACxB,IAAI,EAAE,MACJ,IAAI,UAAU,EAAE,MAAM,CAAC;CAE3B,CAAC;AACH,EACF"}
@@ -1,3 +1,4 @@
1
+ export * from './action-icon';
1
2
  export * from './alert';
2
3
  export * from './aspect-ratio';
3
4
  export * from './button';