@tpc-mare/mare-ui-components-react 0.1.23 → 0.1.25

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 (50) hide show
  1. package/dist/accordion/index.js +1 -1
  2. package/dist/banner/index.js +1 -1
  3. package/dist/button/Button.d.ts +1 -1
  4. package/dist/button/Button.types.d.ts +6 -0
  5. package/dist/button/index.js +1 -1
  6. package/dist/combobox/index.js +1 -1
  7. package/dist/confirm-dialog/index.js +1 -1
  8. package/dist/counter/index.js +1 -1
  9. package/dist/dialog/index.js +1 -1
  10. package/dist/drawer/index.js +1 -1
  11. package/dist/expandable-counter/index.js +1 -1
  12. package/dist/filter-chip-dropdown-single/index.js +1 -1
  13. package/dist/floating-action-button/FloatingActionButton.d.ts +2 -0
  14. package/dist/floating-action-button/FloatingActionButton.types.d.ts +9 -0
  15. package/dist/floating-action-button/index.d.ts +2 -0
  16. package/dist/floating-action-button/index.js +4 -0
  17. package/dist/index/index.d.ts +2 -0
  18. package/dist/index/index.js +93 -91
  19. package/dist/message/index.js +1 -1
  20. package/dist/multi-select/index.js +1 -1
  21. package/dist/overlay-badge/index.js +1 -1
  22. package/dist/paginator/index.js +1 -1
  23. package/dist/segmented-control/index.js +1 -1
  24. package/dist/select-field/index.js +1 -1
  25. package/dist/shared/{Accordion-BLQ1mWZZ.js → Accordion-BSmOrxH6.js} +4 -4
  26. package/dist/shared/{Banner-DXftmx9P.js → Banner-C4wLe6N0.js} +2 -2
  27. package/dist/shared/{Button-AfMqNCme.js → Button-DwJ5RTfQ.js} +37 -33
  28. package/dist/shared/{Combobox-SkrEe5He.js → Combobox-CcmWgRYZ.js} +1 -0
  29. package/dist/shared/{ConfirmDialog-Bvk8KZ0M.js → ConfirmDialog-DLHY-c70.js} +1 -1
  30. package/dist/shared/{Counter-DpOtUolN.js → Counter-DjIoe4h3.js} +1 -1
  31. package/dist/shared/{DialogHeader-RzfQm-pi.js → DialogHeader-M5Bfyxos.js} +1 -1
  32. package/dist/shared/{DrawerFooter-BxOEFQ-W.js → DrawerFooter-B9-Vrgd3.js} +1 -1
  33. package/dist/shared/{ExpandableCounter-BEMcnTGQ.js → ExpandableCounter-DZxbdqRa.js} +2 -2
  34. package/dist/shared/FilterChipDropdownSingle-C7ahD-_3.js +138 -0
  35. package/dist/shared/FloatingActionButton-D4FK6uSs.js +19 -0
  36. package/dist/shared/{Message-BjC8CCSI.js → Message-BNsFuQU1.js} +1 -1
  37. package/dist/shared/{MultiSelect-DtsCymNB.js → MultiSelect-Dowp0_FX.js} +57 -55
  38. package/dist/shared/OverlayBadge-DLskqll7.js +70 -0
  39. package/dist/shared/{Paginator-Bp2nghqW.js → Paginator-DxZdCXSC.js} +2 -2
  40. package/dist/shared/SegmentedControl-Ct5ZLXpN.js +100 -0
  41. package/dist/shared/{SelectField-CvKaukCG.js → SelectField-B-g52vHx.js} +5 -5
  42. package/dist/shared/{Snackbar-C29nLHO9.js → Snackbar-CjTqCOaV.js} +1 -1
  43. package/dist/shared/{Switch-D6E2OmgE.js → Switch-DNCn0xjb.js} +3 -3
  44. package/dist/snackbar/index.js +1 -1
  45. package/dist/styles.css +1 -1
  46. package/dist/switch/index.js +1 -1
  47. package/package.json +1 -1
  48. package/dist/shared/FilterChipDropdownSingle-4G5LDRCw.js +0 -135
  49. package/dist/shared/OverlayBadge-jHzuklUb.js +0 -60
  50. package/dist/shared/SegmentedControl-BpH7DANc.js +0 -94
@@ -1,4 +1,4 @@
1
- import { A as c } from "../shared/Accordion-BLQ1mWZZ.js";
1
+ import { A as c } from "../shared/Accordion-BSmOrxH6.js";
2
2
  export {
3
3
  c as Accordion
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as e } from "../shared/Banner-DXftmx9P.js";
1
+ import { B as e } from "../shared/Banner-C4wLe6N0.js";
2
2
  export {
3
3
  e as Banner
4
4
  };
@@ -1,2 +1,2 @@
1
1
  import { ButtonProperties } from './Button.types';
2
- export declare function Button({ label, severity, size, variant, iconOnly, disabled, loading, link, linkAnimation, icon, iconPos, children, type, ...native }: ButtonProperties): import("react").JSX.Element;
2
+ export declare function Button({ label, severity, size, variant, iconOnly, disabled, loading, link, linkAnimation, raised, rounded, icon, iconPos, children, type, ...native }: ButtonProperties): import("react").JSX.Element;
@@ -12,6 +12,12 @@ export interface ButtonProperties extends ForwardedNativeProperties {
12
12
  loading?: boolean;
13
13
  link?: boolean;
14
14
  linkAnimation?: boolean;
15
+ /** Elevation shadow + the taller raised sizing (what makes a FAB a FAB).
16
+ * @default false */
17
+ raised?: boolean;
18
+ /** Fully rounded corners — pill with a label, circle with iconOnly.
19
+ * @default false */
20
+ rounded?: boolean;
15
21
  icon?: ReactNode;
16
22
  iconPos?: IconPosition;
17
23
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { B as r } from "../shared/Button-AfMqNCme.js";
1
+ import { B as r } from "../shared/Button-DwJ5RTfQ.js";
2
2
  export {
3
3
  r as Button
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as m } from "../shared/Combobox-SkrEe5He.js";
1
+ import { C as m } from "../shared/Combobox-CcmWgRYZ.js";
2
2
  export {
3
3
  m as Combobox
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as a } from "../shared/ConfirmDialog-Bvk8KZ0M.js";
1
+ import { C as a } from "../shared/ConfirmDialog-DLHY-c70.js";
2
2
  export {
3
3
  a as ConfirmDialog
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as e } from "../shared/Counter-DpOtUolN.js";
1
+ import { C as e } from "../shared/Counter-DjIoe4h3.js";
2
2
  export {
3
3
  e as Counter
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { D as r, a as e } from "../shared/DialogFooter-DyltZzK-.js";
2
- import { D as g } from "../shared/DialogHeader-RzfQm-pi.js";
2
+ import { D as g } from "../shared/DialogHeader-M5Bfyxos.js";
3
3
  export {
4
4
  r as Dialog,
5
5
  e as DialogFooter,
@@ -1,4 +1,4 @@
1
- import { D as e, a as o, b as D } from "../shared/DrawerFooter-BxOEFQ-W.js";
1
+ import { D as e, a as o, b as D } from "../shared/DrawerFooter-B9-Vrgd3.js";
2
2
  export {
3
3
  e as Drawer,
4
4
  o as DrawerFooter,
@@ -1,4 +1,4 @@
1
- import { E as o } from "../shared/ExpandableCounter-BEMcnTGQ.js";
1
+ import { E as o } from "../shared/ExpandableCounter-DZxbdqRa.js";
2
2
  export {
3
3
  o as ExpandableCounter
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F as e } from "../shared/FilterChipDropdownSingle-4G5LDRCw.js";
1
+ import { F as e } from "../shared/FilterChipDropdownSingle-C7ahD-_3.js";
2
2
  export {
3
3
  e as FilterChipDropdownSingle
4
4
  };
@@ -0,0 +1,2 @@
1
+ import { FloatingActionButtonProperties } from './FloatingActionButton.types';
2
+ export declare function FloatingActionButton({ severity, ...rest }: FloatingActionButtonProperties): import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { ButtonProperties } from '../Button';
2
+ import { FloatingActionButtonSeverity } from '@tpc-development/mare-ui-components-core/floating-action-button';
3
+ export type { FloatingActionButtonSeverity } from '@tpc-development/mare-ui-components-core/floating-action-button';
4
+ type ForwardedButtonProperties = Omit<ButtonProperties, 'severity' | 'raised' | 'rounded'>;
5
+ export interface FloatingActionButtonProperties extends ForwardedButtonProperties {
6
+ /** Visual hierarchy. Unlike Button, 'ghost' and 'danger' are excluded.
7
+ * @default 'primary' */
8
+ severity?: FloatingActionButtonSeverity;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { FloatingActionButton } from './FloatingActionButton';
2
+ export type { FloatingActionButtonProperties, FloatingActionButtonSeverity, } from './FloatingActionButton.types';
@@ -0,0 +1,4 @@
1
+ import { F as n } from "../shared/FloatingActionButton-D4FK6uSs.js";
2
+ export {
3
+ n as FloatingActionButton
4
+ };
@@ -24,6 +24,8 @@ export { Message } from '../message';
24
24
  export type { MessageProperties, MessageSeverity, MessageVariant, } from '../message';
25
25
  export { Button } from '../button';
26
26
  export type { ButtonProperties, ButtonSeverity, ButtonSize, ButtonVariant, IconPosition, } from '../button';
27
+ export { FloatingActionButton } from '../floating-action-button';
28
+ export type { FloatingActionButtonProperties, FloatingActionButtonSeverity, } from '../floating-action-button';
27
29
  export { Breadcrumbs } from '../breadcrumbs';
28
30
  export type { BreadcrumbsProperties, BreadcrumbItemData, } from '../breadcrumbs';
29
31
  export { SelectField } from '../select-field';
@@ -1,107 +1,109 @@
1
- import { A as e } from "../shared/Accordion-BLQ1mWZZ.js";
1
+ import { A as e } from "../shared/Accordion-BSmOrxH6.js";
2
2
  import { A as t } from "../shared/Avatar-D3QlO3Tz.js";
3
3
  import { B as p } from "../shared/Badge-WC6my4Aw.js";
4
- import { O as x } from "../shared/OverlayBadge-jHzuklUb.js";
4
+ import { O as x } from "../shared/OverlayBadge-DLskqll7.js";
5
5
  import { T as i } from "../shared/Tag-BtbmgIwL.js";
6
- import { T as n } from "../shared/TagChip-Bs7srjIL.js";
6
+ import { T as l } from "../shared/TagChip-Bs7srjIL.js";
7
7
  import { F as d } from "../shared/FilterChip-eECL3oO7.js";
8
- import { F } from "../shared/FilterChipGroup-BzE-EQsA.js";
9
- import { F as D } from "../shared/FilterChipDropdownSingle-4G5LDRCw.js";
10
- import { F as u } from "../shared/FilterChipDropdownMultiple-D2eMYXyS.js";
11
- import { B as P } from "../shared/Banner-DXftmx9P.js";
12
- import { M as B } from "../shared/Message-BjC8CCSI.js";
13
- import { B as h } from "../shared/Button-AfMqNCme.js";
14
- import { B as M } from "../shared/Breadcrumbs-Cqr3Jitd.js";
15
- import { S as A } from "../shared/SelectField-CvKaukCG.js";
16
- import { C as v } from "../shared/Combobox-SkrEe5He.js";
17
- import { M as E } from "../shared/MultiSelect-DtsCymNB.js";
18
- import { T as R } from "../shared/Tabs-BqIorZYD.js";
19
- import { P as L } from "../shared/ProgressSpinner-B-lrS-tu.js";
20
- import { P as j } from "../shared/ProgressBar-Dxm0L3-R.js";
21
- import { I as z, a as J } from "../shared/IconField-Dh6j6SL1.js";
22
- import { C as Q, F as U, a as V, H as W } from "../shared/HelperText-CVWWvLCI.js";
23
- import { T as Y } from "../shared/Textarea-iJhYTZos.js";
24
- import { S as _ } from "../shared/SearchField-DjJHDaR4.js";
25
- import { P as rr, a as or } from "../shared/Password-BMKy8dAy.js";
26
- import { I as ar } from "../shared/InputNumber-D48wsE-o.js";
27
- import { I as sr } from "../shared/InputOtp-CUXXVP2E.js";
28
- import { C as mr } from "../shared/Counter-DpOtUolN.js";
29
- import { E as fr } from "../shared/ExpandableCounter-BEMcnTGQ.js";
30
- import { C as lr } from "../shared/Checkbox-BXnSN2vK.js";
31
- import { R as Sr } from "../shared/RadioGroup-lw27DCoV.js";
32
- import { S as Cr } from "../shared/Switch-D6E2OmgE.js";
33
- import { D as gr, a as Dr } from "../shared/DialogFooter-DyltZzK-.js";
34
- import { D as ur } from "../shared/DialogHeader-RzfQm-pi.js";
35
- import { C as Pr } from "../shared/ConfirmDialog-Bvk8KZ0M.js";
36
- import { D as Br, a as Tr, b as hr } from "../shared/DrawerFooter-BxOEFQ-W.js";
37
- import { M as Mr } from "../shared/Menu-Cv9dU1iA.js";
38
- import { P as Ar } from "../shared/PanelMenu-BpjNM7O_.js";
39
- import { S as vr, c as Or } from "../shared/Snackbar-C29nLHO9.js";
40
- import { S as Gr } from "../shared/Stepper-By8M5bs0.js";
41
- import { D as yr } from "../shared/DatePicker-CwAISvNc.js";
42
- import { P as Nr } from "../shared/Paginator-Bp2nghqW.js";
43
- import { I as qr } from "../shared/ImageItem-BBy5fOl3.js";
44
- import { I as Jr } from "../shared/ImageSlider-Bgb1kNQ4.js";
45
- import { S as Qr } from "../shared/SegmentedControl-BpH7DANc.js";
46
- import { S as Vr } from "../shared/Skeleton-CAjoF-T2.js";
47
- import { S as Xr } from "../shared/Slider-CXFkperZ.js";
48
- import { D as Zr } from "../shared/Divider-UgKI7dtK.js";
8
+ import { F as C } from "../shared/FilterChipGroup-BzE-EQsA.js";
9
+ import { F as c } from "../shared/FilterChipDropdownSingle-C7ahD-_3.js";
10
+ import { F as D } from "../shared/FilterChipDropdownMultiple-D2eMYXyS.js";
11
+ import { B as P } from "../shared/Banner-C4wLe6N0.js";
12
+ import { M as B } from "../shared/Message-BNsFuQU1.js";
13
+ import { B as h } from "../shared/Button-DwJ5RTfQ.js";
14
+ import { F as M } from "../shared/FloatingActionButton-D4FK6uSs.js";
15
+ import { B as A } from "../shared/Breadcrumbs-Cqr3Jitd.js";
16
+ import { S as v } from "../shared/SelectField-B-g52vHx.js";
17
+ import { C as E } from "../shared/Combobox-CcmWgRYZ.js";
18
+ import { M as R } from "../shared/MultiSelect-Dowp0_FX.js";
19
+ import { T as L } from "../shared/Tabs-BqIorZYD.js";
20
+ import { P as j } from "../shared/ProgressSpinner-B-lrS-tu.js";
21
+ import { P as z } from "../shared/ProgressBar-Dxm0L3-R.js";
22
+ import { I as K, a as Q } from "../shared/IconField-Dh6j6SL1.js";
23
+ import { C as V, F as W, a as X, H as Y } from "../shared/HelperText-CVWWvLCI.js";
24
+ import { T as _ } from "../shared/Textarea-iJhYTZos.js";
25
+ import { S as rr } from "../shared/SearchField-DjJHDaR4.js";
26
+ import { P as er, a as ar } from "../shared/Password-BMKy8dAy.js";
27
+ import { I as sr } from "../shared/InputNumber-D48wsE-o.js";
28
+ import { I as mr } from "../shared/InputOtp-CUXXVP2E.js";
29
+ import { C as fr } from "../shared/Counter-DjIoe4h3.js";
30
+ import { E as nr } from "../shared/ExpandableCounter-DZxbdqRa.js";
31
+ import { C as Sr } from "../shared/Checkbox-BXnSN2vK.js";
32
+ import { R as Fr } from "../shared/RadioGroup-lw27DCoV.js";
33
+ import { S as gr } from "../shared/Switch-DNCn0xjb.js";
34
+ import { D as ur, a as Dr } from "../shared/DialogFooter-DyltZzK-.js";
35
+ import { D as Pr } from "../shared/DialogHeader-M5Bfyxos.js";
36
+ import { C as Br } from "../shared/ConfirmDialog-DLHY-c70.js";
37
+ import { D as hr, a as wr, b as Mr } from "../shared/DrawerFooter-B9-Vrgd3.js";
38
+ import { M as Ar } from "../shared/Menu-Cv9dU1iA.js";
39
+ import { P as vr } from "../shared/PanelMenu-BpjNM7O_.js";
40
+ import { S as Er, c as Gr } from "../shared/Snackbar-CjTqCOaV.js";
41
+ import { S as yr } from "../shared/Stepper-By8M5bs0.js";
42
+ import { D as Nr } from "../shared/DatePicker-CwAISvNc.js";
43
+ import { P as qr } from "../shared/Paginator-DxZdCXSC.js";
44
+ import { I as Jr } from "../shared/ImageItem-BBy5fOl3.js";
45
+ import { I as Qr } from "../shared/ImageSlider-Bgb1kNQ4.js";
46
+ import { S as Vr } from "../shared/SegmentedControl-Ct5ZLXpN.js";
47
+ import { S as Xr } from "../shared/Skeleton-CAjoF-T2.js";
48
+ import { S as Zr } from "../shared/Slider-CXFkperZ.js";
49
+ import { D as $r } from "../shared/Divider-UgKI7dtK.js";
49
50
  export {
50
51
  e as Accordion,
51
52
  t as Avatar,
52
53
  p as Badge,
53
54
  P as Banner,
54
- M as Breadcrumbs,
55
+ A as Breadcrumbs,
55
56
  h as Button,
56
- Q as CharacterCount,
57
- lr as Checkbox,
58
- v as Combobox,
59
- Pr as ConfirmDialog,
60
- mr as Counter,
61
- yr as DatePicker,
62
- gr as Dialog,
57
+ V as CharacterCount,
58
+ Sr as Checkbox,
59
+ E as Combobox,
60
+ Br as ConfirmDialog,
61
+ fr as Counter,
62
+ Nr as DatePicker,
63
+ ur as Dialog,
63
64
  Dr as DialogFooter,
64
- ur as DialogHeader,
65
- Zr as Divider,
66
- Br as Drawer,
67
- Tr as DrawerFooter,
68
- hr as DrawerHeader,
69
- fr as ExpandableCounter,
65
+ Pr as DialogHeader,
66
+ $r as Divider,
67
+ hr as Drawer,
68
+ wr as DrawerFooter,
69
+ Mr as DrawerHeader,
70
+ nr as ExpandableCounter,
70
71
  d as FilterChip,
71
- u as FilterChipDropdownMultiple,
72
- D as FilterChipDropdownSingle,
73
- F as FilterChipGroup,
74
- U as FloatLabel,
75
- V as FormField,
76
- W as HelperText,
77
- z as IconField,
78
- qr as ImageItem,
79
- Jr as ImageSlider,
80
- ar as InputNumber,
81
- sr as InputOtp,
82
- J as InputText,
83
- Mr as Menu,
72
+ D as FilterChipDropdownMultiple,
73
+ c as FilterChipDropdownSingle,
74
+ C as FilterChipGroup,
75
+ W as FloatLabel,
76
+ M as FloatingActionButton,
77
+ X as FormField,
78
+ Y as HelperText,
79
+ K as IconField,
80
+ Jr as ImageItem,
81
+ Qr as ImageSlider,
82
+ sr as InputNumber,
83
+ mr as InputOtp,
84
+ Q as InputText,
85
+ Ar as Menu,
84
86
  B as Message,
85
- E as MultiSelect,
87
+ R as MultiSelect,
86
88
  x as OverlayBadge,
87
- Nr as Paginator,
88
- Ar as PanelMenu,
89
- rr as Password,
90
- or as PasswordFooterItem,
91
- j as ProgressBar,
92
- L as ProgressSpinner,
93
- Sr as RadioGroup,
94
- _ as SearchField,
95
- Qr as SegmentedControl,
96
- A as SelectField,
97
- Vr as Skeleton,
98
- Xr as Slider,
99
- vr as Snackbar,
100
- Gr as Stepper,
101
- Cr as Switch,
102
- R as Tabs,
89
+ qr as Paginator,
90
+ vr as PanelMenu,
91
+ er as Password,
92
+ ar as PasswordFooterItem,
93
+ z as ProgressBar,
94
+ j as ProgressSpinner,
95
+ Fr as RadioGroup,
96
+ rr as SearchField,
97
+ Vr as SegmentedControl,
98
+ v as SelectField,
99
+ Xr as Skeleton,
100
+ Zr as Slider,
101
+ Er as Snackbar,
102
+ yr as Stepper,
103
+ gr as Switch,
104
+ L as Tabs,
103
105
  i as Tag,
104
- n as TagChip,
105
- Y as Textarea,
106
- Or as createSnackbar
106
+ l as TagChip,
107
+ _ as Textarea,
108
+ Gr as createSnackbar
107
109
  };
@@ -1,4 +1,4 @@
1
- import { M as a } from "../shared/Message-BjC8CCSI.js";
1
+ import { M as a } from "../shared/Message-BNsFuQU1.js";
2
2
  export {
3
3
  a as Message
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as l } from "../shared/MultiSelect-DtsCymNB.js";
1
+ import { M as l } from "../shared/MultiSelect-Dowp0_FX.js";
2
2
  export {
3
3
  l as MultiSelect
4
4
  };
@@ -1,4 +1,4 @@
1
- import { O as r } from "../shared/OverlayBadge-jHzuklUb.js";
1
+ import { O as r } from "../shared/OverlayBadge-DLskqll7.js";
2
2
  export {
3
3
  r as OverlayBadge
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as r } from "../shared/Paginator-Bp2nghqW.js";
1
+ import { P as r } from "../shared/Paginator-DxZdCXSC.js";
2
2
  export {
3
3
  r as Paginator
4
4
  };
@@ -1,4 +1,4 @@
1
- import { S as r } from "../shared/SegmentedControl-BpH7DANc.js";
1
+ import { S as r } from "../shared/SegmentedControl-Ct5ZLXpN.js";
2
2
  export {
3
3
  r as SegmentedControl
4
4
  };
@@ -1,4 +1,4 @@
1
- import { S as o } from "../shared/SelectField-CvKaukCG.js";
1
+ import { S as o } from "../shared/SelectField-B-g52vHx.js";
2
2
  export {
3
3
  o as SelectField
4
4
  };
@@ -14,11 +14,11 @@ const d = "mare:w-full", u = (t) => `
14
14
  `, p = "mare:flex mare:flex-col mare:items-start mare:gap-0.5 mare:text-left", b = "mare:tpc-typography-body-s mare:text-weak", h = `
15
15
  mare:flex mare:items-center mare:justify-center mare:shrink-0 mare:text-default
16
16
  mare:transition-transform mare:ark-open:rotate-180 mare:[&>svg]:size-5
17
- `, x = `
18
- mare:overflow-hidden mare:pb-4
17
+ `, v = `
18
+ mare:overflow-hidden
19
19
  mare:ark-open:[animation:mare-panel-menu-branch-open_250ms_ease-out]
20
20
  mare:ark-closed:[animation:mare-panel-menu-branch-close_200ms_ease-in]
21
- `;
21
+ `, x = "mare:pb-4";
22
22
  function w({
23
23
  items: t,
24
24
  value: n,
@@ -50,7 +50,7 @@ function w({
50
50
  ] }),
51
51
  /* @__PURE__ */ a(r.ItemIndicator, { className: h, children: /* @__PURE__ */ a(c, {}) })
52
52
  ] }),
53
- /* @__PURE__ */ a(r.ItemContent, { className: x, children: e.content })
53
+ /* @__PURE__ */ a(r.ItemContent, { className: v, children: /* @__PURE__ */ a("div", { className: x, children: e.content }) })
54
54
  ]
55
55
  },
56
56
  e.value
@@ -1,5 +1,5 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
- import { B as d } from "./Button-AfMqNCme.js";
2
+ import { B as d } from "./Button-DwJ5RTfQ.js";
3
3
  import { I as o } from "./IconX-CpPADKjZ.js";
4
4
  const c = `
5
5
  mare:w-full mare:max-w-md mare:rounded-tpc-container-s mare:p-4
@@ -9,7 +9,7 @@ const c = `
9
9
  mare:data-severity-positive:bg-positive-weak
10
10
  mare:data-severity-warning:bg-warning-weak
11
11
  mare:data-severity-danger:bg-danger-weak
12
- `, p = "mare:flex mare:grow mare:items-start mare:gap-4", g = "mare:shrink-0 mare:text-default mare:[&>svg]:size-3.5", f = "mare:flex mare:grow mare:flex-col mare:gap-2", v = "mare:tpc-typography-label-m mare:text-default", y = (e) => `mare:tpc-typography-body-s ${e ? "mare:text-disabled" : "mare:text-default"}`, x = (e, r) => r ? "disabled" : e;
12
+ `, p = "mare:flex mare:grow mare:items-start mare:gap-4", g = "mare:flex mare:shrink-0 mare:items-center mare:justify-center mare:text-default mare:[&>svg]:size-6", f = "mare:flex mare:grow mare:flex-col mare:gap-2", v = "mare:tpc-typography-label-m mare:text-default", y = (e) => `mare:tpc-typography-body-s ${e ? "mare:text-disabled" : "mare:text-default"}`, x = (e, r) => r ? "disabled" : e;
13
13
  function h({
14
14
  severity: e = "neutral",
15
15
  title: r,
@@ -1,20 +1,18 @@
1
- import { jsxs as f, jsx as m } from "react/jsx-runtime";
2
- import { P as z } from "./ProgressSpinner-B-lrS-tu.js";
3
- const x = {
1
+ import { jsxs as x, jsx as m } from "react/jsx-runtime";
2
+ import { P as k } from "./ProgressSpinner-B-lrS-tu.js";
3
+ const w = {
4
4
  left: "mare:-order-1",
5
5
  right: "mare:order-1",
6
6
  top: "mare:-order-1",
7
7
  bottom: "mare:order-1"
8
- }, k = {
8
+ }, $ = {
9
9
  primary: "mare:stroke-on-accent",
10
10
  secondary: "mare:stroke-default",
11
11
  ghost: "mare:stroke-default",
12
- danger: "mare:stroke-on-danger",
13
- neutral: "mare:stroke-default"
14
- }, w = (e) => e === "bordered" ? `mare:data-severity-neutral:border mare:data-severity-neutral:border-strong
15
- mare:data-severity-ghost:border mare:data-severity-ghost:border-strong mare:not-p-disabled:data-severity-ghost:hover:bg-transparent` : `
12
+ danger: "mare:stroke-on-danger"
13
+ }, _ = (e) => e === "bordered" ? "mare:data-severity-ghost:border mare:data-severity-ghost:border-strong mare:not-p-disabled:data-severity-ghost:hover:bg-transparent" : `
16
14
  mare:not-p-disabled:not-data-link:[&[data-severity~='ghost']:active]:bg-active
17
- mare:not-p-disabled:not-data-link:[&[data-severity~='danger']:active]:bg-danger-active`, $ = (e, a) => `
15
+ mare:not-p-disabled:not-data-link:[&[data-severity~='danger']:active]:bg-danger-active`, L = (e, a) => `
18
16
  mare:group/button
19
17
  mare:relative
20
18
  mare:rounded-button mare:flex mare:items-center mare:justify-center
@@ -39,8 +37,7 @@ const x = {
39
37
  mare:not-p-disabled:not-data-link:[&[data-severity~='secondary']:active]:bg-active
40
38
  mare:not-p-disabled:not-data-link:[&[data-severity~='danger']:active]:bg-danger-active
41
39
 
42
- mare:data-severity-neutral:bg-default mare:data-severity-neutral:text-default
43
- ${w(e)}
40
+ ${_(e)}
44
41
  mare:data-size-small:py-2.5 mare:data-size-small:px-3.5 mare:data-size-small:gap-1
45
42
  mare:data-size-small:icon-only:rounded:p-2.5 mare:data-size-small:h-10 mare:data-size-small:icon-only:w-10 mare:data-size-small:icon-only:min-w-10
46
43
 
@@ -67,6 +64,8 @@ const x = {
67
64
  mare:icon-only:rounded-full!
68
65
  mare:rounded:rounded-full
69
66
  mare:p-raised:shadow-[0_4px_16px_0_rgba(0,0,0,0.16)]
67
+ mare:p-raised:data-severity-secondary:bg-raised mare:p-raised:data-severity-secondary:border-default
68
+ mare:p-raised:data-size-medium:px-7 mare:p-raised:data-size-medium:py-3 mare:p-raised:data-size-medium:gap-2 mare:p-raised:data-size-medium:h-14 mare:p-raised:data-size-medium:icon-only:w-14 mare:p-raised:data-size-medium:icon-only:min-w-14
70
69
 
71
70
  mare:data-link:bg-transparent
72
71
  mare:data-link:border-0
@@ -91,21 +90,22 @@ const x = {
91
90
 
92
91
  mare:data-link:data-size-large:h-auto
93
92
  mare:data-link:data-size-large:gap-2
94
- `, _ = "mare:relative mare:inline-block mare:no-underline! mare:after:content-[''] mare:after:absolute mare:after:left-0 mare:after:-bottom-[4px] mare:after:h-[1px] mare:after:w-full mare:after:bg-inverse mare:after:origin-left mare:after:scale-x-[1] mare:after:transform-gpu mare:after:will-change-transform mare:after:transition-transform mare:after:duration-[500ms] mare:after:ease-[cubic-bezier(0.19,1,0.22,1)] mare:hover:after:scale-x-0 mare:hover:after:origin-right", L = (e) => {
93
+ `, j = "mare:relative mare:inline-block mare:no-underline! mare:after:content-[''] mare:after:absolute mare:after:left-0 mare:after:-bottom-[4px] mare:after:h-[1px] mare:after:w-full mare:after:bg-inverse mare:after:origin-left mare:after:scale-x-[1] mare:after:transform-gpu mare:after:will-change-transform mare:after:transition-transform mare:after:duration-[500ms] mare:after:ease-[cubic-bezier(0.19,1,0.22,1)] mare:hover:after:scale-x-0 mare:hover:after:origin-right", N = (e) => {
95
94
  const { isLink: a, animateLink: r, hiddenLabel: s, loading: d } = e;
96
95
  return `mare:relative
96
+ mare:group-[[data-raised]]/button:tpc-typography-label-m!
97
97
  ${a ? "mare:data-size-xsmall:tpc-typography-label-s-underline" : "mare:data-size-xsmall:tpc-typography-label-s"}
98
98
  ${a ? "mare:data-size-small:tpc-typography-label-s-underline" : "mare:data-size-small:tpc-typography-label-s"}
99
99
  ${a ? "mare:data-size-medium:tpc-typography-label-m-underline" : "mare:data-size-medium:tpc-typography-label-m"}
100
100
  ${a ? "mare:data-size-large:tpc-typography-label-m-underline" : "mare:data-size-large:tpc-typography-label-m"}
101
- ${r && a ? _ : ""}
101
+ ${r && a ? j : ""}
102
102
  ${s ? "mare:hidden" : ""} ${a ? "" : "mare:px-0.5"} ${d ? "mare:opacity-0" : ""}
103
103
  `;
104
- }, j = (e, a, r) => a ? e === "xsmall" || e === "small" ? "small" : "medium" : e === "xsmall" ? r ? "medium" : "small" : "medium", N = {
104
+ }, P = (e, a, r) => a ? e === "xsmall" || e === "small" ? "small" : "medium" : e === "xsmall" ? r ? "medium" : "small" : "medium", B = {
105
105
  small: 16,
106
106
  medium: 20
107
107
  };
108
- function S({
108
+ function q({
109
109
  label: e,
110
110
  severity: a = "primary",
111
111
  size: r = "medium",
@@ -113,41 +113,45 @@ function S({
113
113
  iconOnly: d = !1,
114
114
  disabled: l = !1,
115
115
  loading: t = !1,
116
- link: c = !1,
117
- linkAnimation: y = !1,
116
+ link: y = !1,
117
+ linkAnimation: c = !1,
118
+ raised: g = !1,
119
+ rounded: b = !1,
118
120
  icon: n,
119
- iconPos: g = "left",
121
+ iconPos: u = "left",
120
122
  children: o,
121
- type: b = "button",
122
- ...u
123
+ type: v = "button",
124
+ ...h
123
125
  }) {
124
- const i = c, v = !!e || !!o, h = d && !!n, p = N[j(r, i, d)];
125
- return /* @__PURE__ */ f(
126
+ const i = y, z = !!e || !!o, f = d && !!n, p = B[P(r, i, d)];
127
+ return /* @__PURE__ */ x(
126
128
  "button",
127
129
  {
128
- type: b,
129
- className: $(s, i),
130
+ type: v,
131
+ className: L(s, i),
130
132
  "data-severity": a,
131
133
  "data-size": r,
132
134
  "data-icon-only": d ? "true" : void 0,
133
135
  "data-disabled": l ? "true" : void 0,
134
136
  "data-loading": t ? "true" : void 0,
135
137
  "data-link": i ? "true" : void 0,
138
+ "data-raised": g ? "true" : void 0,
139
+ "data-rounded": b ? "true" : void 0,
136
140
  disabled: l || t,
137
141
  "aria-busy": t || void 0,
138
- ...u,
142
+ ...h,
139
143
  children: [
140
144
  t && /* @__PURE__ */ m("span", { className: "mare:absolute mare:inset-0 mare:flex mare:items-center mare:justify-center", children: /* @__PURE__ */ m(
141
- z,
145
+ k,
142
146
  {
143
- circleClass: k[a],
147
+ circleClass: $[a],
144
148
  className: "mare:size-5"
145
149
  }
146
150
  ) }),
147
151
  n && /* @__PURE__ */ m(
148
152
  "span",
149
153
  {
150
- className: `mare:inline-flex mare:shrink-0 mare:items-center mare:justify-center mare:[&>svg]:size-full! ${x[g]} ${t ? "mare:opacity-0" : ""}`,
154
+ className: `mare:inline-flex mare:shrink-0 mare:items-center mare:justify-center mare:[&>svg]:size-full! ${w[u]} ${t ? "mare:opacity-0" : ""}`,
151
155
  style: {
152
156
  width: `${p}px`,
153
157
  height: `${p}px`
@@ -156,13 +160,13 @@ function S({
156
160
  children: n
157
161
  }
158
162
  ),
159
- v && /* @__PURE__ */ m(
163
+ z && /* @__PURE__ */ m(
160
164
  "span",
161
165
  {
162
- className: L({
166
+ className: N({
163
167
  isLink: i,
164
- animateLink: y,
165
- hiddenLabel: h,
168
+ animateLink: c,
169
+ hiddenLabel: f,
166
170
  loading: t
167
171
  }),
168
172
  children: o ?? e
@@ -173,5 +177,5 @@ function S({
173
177
  );
174
178
  }
175
179
  export {
176
- S as B
180
+ q as B
177
181
  };
@@ -35,6 +35,7 @@ const G = {
35
35
  mare:max-h-72 mare:overflow-y-auto
36
36
  mare:min-w-[var(--reference-width)]
37
37
  mare:z-50
38
+ mare:[&[hidden]]:hidden
38
39
  `, ee = `
39
40
  mare:group/option mare:flex mare:items-center mare:justify-between mare:gap-2
40
41
  mare:w-full mare:min-h-8 mare:py-2 mare:px-3 mare:cursor-pointer mare:rounded-menu-item
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as t } from "react/jsx-runtime";
2
2
  import { D as g, a as h } from "./DialogFooter-DyltZzK-.js";
3
- import { B as n } from "./Button-AfMqNCme.js";
3
+ import { B as n } from "./Button-DwJ5RTfQ.js";
4
4
  const u = (e) => `
5
5
  mare:w-full mare:h-full
6
6
  ${e === "column" ? "mare:pt-10 mare:pb-4" : "mare:pt-8"}
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
2
  import { NumberInput as a } from "@ark-ui/react/number-input";
3
- import { B as i } from "./Button-AfMqNCme.js";
3
+ import { B as i } from "./Button-DwJ5RTfQ.js";
4
4
  import { I as x } from "./IconMinus-fS_GL0Et.js";
5
5
  import { c as I } from "./createReactComponent-Cb6Pzf10.js";
6
6
  const v = [["path", { d: "M12 5l0 14", key: "svg-0" }], ["path", { d: "M5 12l14 0", key: "svg-1" }]], C = I("outline", "plus", "Plus", v), N = {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, jsx as s } from "react/jsx-runtime";
2
2
  import { Dialog as l } from "@ark-ui/react/dialog";
3
3
  import { l as h, i as o, n as d, s as u } from "./DialogFooter-DyltZzK-.js";
4
- import { B as r } from "./Button-AfMqNCme.js";
4
+ import { B as r } from "./Button-DwJ5RTfQ.js";
5
5
  import { I as p } from "./IconX-CpPADKjZ.js";
6
6
  function y({
7
7
  title: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
2
  import { Dialog as t } from "@ark-ui/react/dialog";
3
3
  import { Portal as g } from "@ark-ui/react/portal";
4
- import { B as d } from "./Button-AfMqNCme.js";
4
+ import { B as d } from "./Button-DwJ5RTfQ.js";
5
5
  import { I as y } from "./IconX-CpPADKjZ.js";
6
6
  const _ = (e) => {
7
7
  switch (e) {