@misael703/ui 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/{chunk-BBZESXFJ.mjs → chunk-2I7NE7QR.mjs} +2 -2
  2. package/dist/chunk-2I7NE7QR.mjs.map +1 -0
  3. package/dist/{chunk-N5D6AC6M.mjs → chunk-4QHE5H36.mjs} +34 -3
  4. package/dist/chunk-4QHE5H36.mjs.map +1 -0
  5. package/dist/{chunk-BGIX6G5V.mjs → chunk-5A3MAGA3.mjs} +48 -10
  6. package/dist/chunk-5A3MAGA3.mjs.map +1 -0
  7. package/dist/{chunk-DHCJMYFD.mjs → chunk-B4I6BMNS.mjs} +7 -3
  8. package/dist/chunk-B4I6BMNS.mjs.map +1 -0
  9. package/dist/{chunk-62F5E5NQ.js → chunk-DGBVPXGW.js} +14 -14
  10. package/dist/{chunk-62F5E5NQ.js.map → chunk-DGBVPXGW.js.map} +1 -1
  11. package/dist/{chunk-Y6AYAE4O.mjs → chunk-E462CF6P.mjs} +19 -21
  12. package/dist/chunk-E462CF6P.mjs.map +1 -0
  13. package/dist/{chunk-TIO7MIUN.js → chunk-FS42XEU7.js} +49 -9
  14. package/dist/chunk-FS42XEU7.js.map +1 -0
  15. package/dist/{chunk-OXX5RSZQ.js → chunk-IZELILHK.js} +2 -2
  16. package/dist/chunk-IZELILHK.js.map +1 -0
  17. package/dist/{chunk-DY3DCHWD.mjs → chunk-L4ITC2U6.mjs} +3 -3
  18. package/dist/{chunk-DY3DCHWD.mjs.map → chunk-L4ITC2U6.mjs.map} +1 -1
  19. package/dist/{chunk-D7RM4AY4.js → chunk-MJ6UOTWQ.js} +13 -13
  20. package/dist/{chunk-D7RM4AY4.js.map → chunk-MJ6UOTWQ.js.map} +1 -1
  21. package/dist/{chunk-HHEYTMBY.js → chunk-MVJITG75.js} +37 -2
  22. package/dist/chunk-MVJITG75.js.map +1 -0
  23. package/dist/{chunk-YL2IWHUZ.mjs → chunk-PKCLA2FD.mjs} +3 -3
  24. package/dist/{chunk-YL2IWHUZ.mjs.map → chunk-PKCLA2FD.mjs.map} +1 -1
  25. package/dist/{chunk-AZBX7UFI.js → chunk-PRECODB3.js} +8 -2
  26. package/dist/chunk-PRECODB3.js.map +1 -0
  27. package/dist/{chunk-7LCZ6ABE.js → chunk-SZWROXKE.js} +19 -21
  28. package/dist/chunk-SZWROXKE.js.map +1 -0
  29. package/dist/{chunk-ZMRN4DMC.js → chunk-XCZVZVYJ.js} +9 -9
  30. package/dist/{chunk-ZMRN4DMC.js.map → chunk-XCZVZVYJ.js.map} +1 -1
  31. package/dist/{chunk-5MIN6LUP.mjs → chunk-YNU45Y5T.mjs} +3 -3
  32. package/dist/{chunk-5MIN6LUP.mjs.map → chunk-YNU45Y5T.mjs.map} +1 -1
  33. package/dist/components/AdvancedPickers.js +6 -6
  34. package/dist/components/AdvancedPickers.mjs +2 -2
  35. package/dist/components/AppShell.d.mts +66 -21
  36. package/dist/components/AppShell.d.ts +66 -21
  37. package/dist/components/AppShell.js +3 -3
  38. package/dist/components/AppShell.mjs +1 -1
  39. package/dist/components/Display.d.mts +4 -3
  40. package/dist/components/Display.d.ts +4 -3
  41. package/dist/components/Display.js +12 -12
  42. package/dist/components/Display.mjs +1 -1
  43. package/dist/components/Display3.js +8 -8
  44. package/dist/components/Display3.mjs +2 -2
  45. package/dist/components/Layout.d.mts +32 -2
  46. package/dist/components/Layout.d.ts +32 -2
  47. package/dist/components/Layout.js +26 -18
  48. package/dist/components/Layout.mjs +1 -1
  49. package/dist/components/Pickers.js +7 -7
  50. package/dist/components/Pickers.mjs +2 -2
  51. package/dist/components/Toggle.d.mts +17 -1
  52. package/dist/components/Toggle.d.ts +17 -1
  53. package/dist/components/Toggle.js +12 -4
  54. package/dist/components/Toggle.mjs +1 -1
  55. package/dist/index.d.mts +5 -5
  56. package/dist/index.d.ts +5 -5
  57. package/dist/index.js +98 -66
  58. package/dist/index.mjs +9 -9
  59. package/dist/styles.css +1 -1
  60. package/dist/tokens.css +1 -1
  61. package/dist/utils/dateFormat.d.mts +24 -1
  62. package/dist/utils/dateFormat.d.ts +24 -1
  63. package/dist/utils/dateFormat.js +26 -10
  64. package/dist/utils/dateFormat.mjs +1 -1
  65. package/package.json +1 -1
  66. package/dist/chunk-7LCZ6ABE.js.map +0 -1
  67. package/dist/chunk-AZBX7UFI.js.map +0 -1
  68. package/dist/chunk-BBZESXFJ.mjs.map +0 -1
  69. package/dist/chunk-BGIX6G5V.mjs.map +0 -1
  70. package/dist/chunk-DHCJMYFD.mjs.map +0 -1
  71. package/dist/chunk-HHEYTMBY.js.map +0 -1
  72. package/dist/chunk-N5D6AC6M.mjs.map +0 -1
  73. package/dist/chunk-OXX5RSZQ.js.map +0 -1
  74. package/dist/chunk-TIO7MIUN.js.map +0 -1
  75. package/dist/chunk-Y6AYAE4O.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkTIO7MIUN_js = require('../chunk-TIO7MIUN.js');
4
+ var chunkFS42XEU7_js = require('../chunk-FS42XEU7.js');
5
5
  require('../chunk-7I5LFBQR.js');
6
6
  require('../chunk-WAGWB35Q.js');
7
7
  require('../chunk-EUB4PHPI.js');
@@ -10,73 +10,81 @@ require('../chunk-PASF6T4H.js');
10
10
 
11
11
 
12
12
 
13
+ Object.defineProperty(exports, "Cluster", {
14
+ enumerable: true,
15
+ get: function () { return chunkFS42XEU7_js.Cluster; }
16
+ });
13
17
  Object.defineProperty(exports, "Container", {
14
18
  enumerable: true,
15
- get: function () { return chunkTIO7MIUN_js.Container; }
19
+ get: function () { return chunkFS42XEU7_js.Container; }
16
20
  });
17
21
  Object.defineProperty(exports, "Divider", {
18
22
  enumerable: true,
19
- get: function () { return chunkTIO7MIUN_js.Divider; }
23
+ get: function () { return chunkFS42XEU7_js.Divider; }
20
24
  });
21
25
  Object.defineProperty(exports, "Grid", {
22
26
  enumerable: true,
23
- get: function () { return chunkTIO7MIUN_js.Grid; }
27
+ get: function () { return chunkFS42XEU7_js.Grid; }
24
28
  });
25
29
  Object.defineProperty(exports, "HStack", {
26
30
  enumerable: true,
27
- get: function () { return chunkTIO7MIUN_js.HStack; }
31
+ get: function () { return chunkFS42XEU7_js.HStack; }
28
32
  });
29
33
  Object.defineProperty(exports, "KeyValue", {
30
34
  enumerable: true,
31
- get: function () { return chunkTIO7MIUN_js.KeyValue; }
35
+ get: function () { return chunkFS42XEU7_js.KeyValue; }
32
36
  });
33
37
  Object.defineProperty(exports, "KeyValueRow", {
34
38
  enumerable: true,
35
- get: function () { return chunkTIO7MIUN_js.KeyValueRow; }
39
+ get: function () { return chunkFS42XEU7_js.KeyValueRow; }
36
40
  });
37
41
  Object.defineProperty(exports, "ListGroup", {
38
42
  enumerable: true,
39
- get: function () { return chunkTIO7MIUN_js.ListGroup; }
43
+ get: function () { return chunkFS42XEU7_js.ListGroup; }
40
44
  });
41
45
  Object.defineProperty(exports, "ListGroupItem", {
42
46
  enumerable: true,
43
- get: function () { return chunkTIO7MIUN_js.ListGroupItem; }
47
+ get: function () { return chunkFS42XEU7_js.ListGroupItem; }
48
+ });
49
+ Object.defineProperty(exports, "Spacer", {
50
+ enumerable: true,
51
+ get: function () { return chunkFS42XEU7_js.Spacer; }
44
52
  });
45
53
  Object.defineProperty(exports, "Stack", {
46
54
  enumerable: true,
47
- get: function () { return chunkTIO7MIUN_js.Stack; }
55
+ get: function () { return chunkFS42XEU7_js.Stack; }
48
56
  });
49
57
  Object.defineProperty(exports, "Stepper", {
50
58
  enumerable: true,
51
- get: function () { return chunkTIO7MIUN_js.Stepper; }
59
+ get: function () { return chunkFS42XEU7_js.Stepper; }
52
60
  });
53
61
  Object.defineProperty(exports, "Tab", {
54
62
  enumerable: true,
55
- get: function () { return chunkTIO7MIUN_js.Tab; }
63
+ get: function () { return chunkFS42XEU7_js.Tab; }
56
64
  });
57
65
  Object.defineProperty(exports, "TabList", {
58
66
  enumerable: true,
59
- get: function () { return chunkTIO7MIUN_js.TabList; }
67
+ get: function () { return chunkFS42XEU7_js.TabList; }
60
68
  });
61
69
  Object.defineProperty(exports, "TabPanel", {
62
70
  enumerable: true,
63
- get: function () { return chunkTIO7MIUN_js.TabPanel; }
71
+ get: function () { return chunkFS42XEU7_js.TabPanel; }
64
72
  });
65
73
  Object.defineProperty(exports, "Table", {
66
74
  enumerable: true,
67
- get: function () { return chunkTIO7MIUN_js.Table; }
75
+ get: function () { return chunkFS42XEU7_js.Table; }
68
76
  });
69
77
  Object.defineProperty(exports, "Tabs", {
70
78
  enumerable: true,
71
- get: function () { return chunkTIO7MIUN_js.Tabs; }
79
+ get: function () { return chunkFS42XEU7_js.Tabs; }
72
80
  });
73
81
  Object.defineProperty(exports, "Tooltip", {
74
82
  enumerable: true,
75
- get: function () { return chunkTIO7MIUN_js.Tooltip; }
83
+ get: function () { return chunkFS42XEU7_js.Tooltip; }
76
84
  });
77
85
  Object.defineProperty(exports, "VStack", {
78
86
  enumerable: true,
79
- get: function () { return chunkTIO7MIUN_js.VStack; }
87
+ get: function () { return chunkFS42XEU7_js.VStack; }
80
88
  });
81
89
  //# sourceMappingURL=Layout.js.map
82
90
  //# sourceMappingURL=Layout.js.map
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- export { Container, Divider, Grid, HStack, KeyValue, KeyValueRow, ListGroup, ListGroupItem, Stack, Stepper, Tab, TabList, TabPanel, Table, Tabs, Tooltip, VStack } from '../chunk-BGIX6G5V.mjs';
2
+ export { Cluster, Container, Divider, Grid, HStack, KeyValue, KeyValueRow, ListGroup, ListGroupItem, Spacer, Stack, Stepper, Tab, TabList, TabPanel, Table, Tabs, Tooltip, VStack } from '../chunk-5A3MAGA3.mjs';
3
3
  import '../chunk-PRML6VEF.mjs';
4
4
  import '../chunk-FKBQYQQD.mjs';
5
5
  import '../chunk-IEPKSPBX.mjs';
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk62F5E5NQ_js = require('../chunk-62F5E5NQ.js');
5
- require('../chunk-HHEYTMBY.js');
4
+ var chunkDGBVPXGW_js = require('../chunk-DGBVPXGW.js');
5
+ require('../chunk-MVJITG75.js');
6
6
  require('../chunk-XMLBKK7X.js');
7
7
  require('../chunk-7I5LFBQR.js');
8
8
  require('../chunk-WAGWB35Q.js');
@@ -15,23 +15,23 @@ require('../chunk-PASF6T4H.js');
15
15
 
16
16
  Object.defineProperty(exports, "Combobox", {
17
17
  enumerable: true,
18
- get: function () { return chunk62F5E5NQ_js.Combobox; }
18
+ get: function () { return chunkDGBVPXGW_js.Combobox; }
19
19
  });
20
20
  Object.defineProperty(exports, "DatePicker", {
21
21
  enumerable: true,
22
- get: function () { return chunk62F5E5NQ_js.DatePicker; }
22
+ get: function () { return chunkDGBVPXGW_js.DatePicker; }
23
23
  });
24
24
  Object.defineProperty(exports, "FileUpload", {
25
25
  enumerable: true,
26
- get: function () { return chunk62F5E5NQ_js.FileUpload; }
26
+ get: function () { return chunkDGBVPXGW_js.FileUpload; }
27
27
  });
28
28
  Object.defineProperty(exports, "MonthPicker", {
29
29
  enumerable: true,
30
- get: function () { return chunk62F5E5NQ_js.MonthPicker; }
30
+ get: function () { return chunkDGBVPXGW_js.MonthPicker; }
31
31
  });
32
32
  Object.defineProperty(exports, "YearPicker", {
33
33
  enumerable: true,
34
- get: function () { return chunk62F5E5NQ_js.YearPicker; }
34
+ get: function () { return chunkDGBVPXGW_js.YearPicker; }
35
35
  });
36
36
  //# sourceMappingURL=Pickers.js.map
37
37
  //# sourceMappingURL=Pickers.js.map
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { Combobox, DatePicker, FileUpload, MonthPicker, YearPicker } from '../chunk-5MIN6LUP.mjs';
3
- import '../chunk-N5D6AC6M.mjs';
2
+ export { Combobox, DatePicker, FileUpload, MonthPicker, YearPicker } from '../chunk-YNU45Y5T.mjs';
3
+ import '../chunk-4QHE5H36.mjs';
4
4
  import '../chunk-6P2TKRTL.mjs';
5
5
  import '../chunk-PRML6VEF.mjs';
6
6
  import '../chunk-FKBQYQQD.mjs';
@@ -34,9 +34,25 @@ interface ToggleGroupMultipleProps extends ToggleGroupBaseProps {
34
34
  }
35
35
  type ToggleGroupProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
36
36
  declare function ToggleGroup(props: ToggleGroupProps): react_jsx_runtime.JSX.Element;
37
+ /**
38
+ * `SegmentedControl` — a single-select `ToggleGroup` with equal-width
39
+ * segments. The common case (view switcher, filter mode, on/off pair) is
40
+ * `type="single"`; this drops the discriminant so you can't trip the
41
+ * cryptic union error from forgetting `type`. Use `SegmentedControlItem`
42
+ * (alias of `ToggleGroupItem`) for the options.
43
+ *
44
+ * <SegmentedControl value={view} onChange={setView} ariaLabel="Vista">
45
+ * <SegmentedControlItem value="list">Lista</SegmentedControlItem>
46
+ * <SegmentedControlItem value="grid">Tarjetas</SegmentedControlItem>
47
+ * </SegmentedControl>
48
+ */
49
+ type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'>;
50
+ declare function SegmentedControl({ className, ...rest }: SegmentedControlProps): react_jsx_runtime.JSX.Element;
37
51
  interface ToggleGroupItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
38
52
  value: string;
39
53
  }
40
54
  declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
55
+ /** Alias of `ToggleGroupItem` for use inside `SegmentedControl`. */
56
+ declare const SegmentedControlItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
41
57
 
42
- export { Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleProps, type ToggleSize, type ToggleVariant };
58
+ export { SegmentedControl, SegmentedControlItem, type SegmentedControlProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleProps, type ToggleSize, type ToggleVariant };
@@ -34,9 +34,25 @@ interface ToggleGroupMultipleProps extends ToggleGroupBaseProps {
34
34
  }
35
35
  type ToggleGroupProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
36
36
  declare function ToggleGroup(props: ToggleGroupProps): react_jsx_runtime.JSX.Element;
37
+ /**
38
+ * `SegmentedControl` — a single-select `ToggleGroup` with equal-width
39
+ * segments. The common case (view switcher, filter mode, on/off pair) is
40
+ * `type="single"`; this drops the discriminant so you can't trip the
41
+ * cryptic union error from forgetting `type`. Use `SegmentedControlItem`
42
+ * (alias of `ToggleGroupItem`) for the options.
43
+ *
44
+ * <SegmentedControl value={view} onChange={setView} ariaLabel="Vista">
45
+ * <SegmentedControlItem value="list">Lista</SegmentedControlItem>
46
+ * <SegmentedControlItem value="grid">Tarjetas</SegmentedControlItem>
47
+ * </SegmentedControl>
48
+ */
49
+ type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'>;
50
+ declare function SegmentedControl({ className, ...rest }: SegmentedControlProps): react_jsx_runtime.JSX.Element;
37
51
  interface ToggleGroupItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
38
52
  value: string;
39
53
  }
40
54
  declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
55
+ /** Alias of `ToggleGroupItem` for use inside `SegmentedControl`. */
56
+ declare const SegmentedControlItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
41
57
 
42
- export { Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleProps, type ToggleSize, type ToggleVariant };
58
+ export { SegmentedControl, SegmentedControlItem, type SegmentedControlProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleProps, type ToggleSize, type ToggleVariant };
@@ -1,22 +1,30 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkAZBX7UFI_js = require('../chunk-AZBX7UFI.js');
4
+ var chunkPRECODB3_js = require('../chunk-PRECODB3.js');
5
5
  require('../chunk-PASF6T4H.js');
6
6
 
7
7
 
8
8
 
9
+ Object.defineProperty(exports, "SegmentedControl", {
10
+ enumerable: true,
11
+ get: function () { return chunkPRECODB3_js.SegmentedControl; }
12
+ });
13
+ Object.defineProperty(exports, "SegmentedControlItem", {
14
+ enumerable: true,
15
+ get: function () { return chunkPRECODB3_js.SegmentedControlItem; }
16
+ });
9
17
  Object.defineProperty(exports, "Toggle", {
10
18
  enumerable: true,
11
- get: function () { return chunkAZBX7UFI_js.Toggle; }
19
+ get: function () { return chunkPRECODB3_js.Toggle; }
12
20
  });
13
21
  Object.defineProperty(exports, "ToggleGroup", {
14
22
  enumerable: true,
15
- get: function () { return chunkAZBX7UFI_js.ToggleGroup; }
23
+ get: function () { return chunkPRECODB3_js.ToggleGroup; }
16
24
  });
17
25
  Object.defineProperty(exports, "ToggleGroupItem", {
18
26
  enumerable: true,
19
- get: function () { return chunkAZBX7UFI_js.ToggleGroupItem; }
27
+ get: function () { return chunkPRECODB3_js.ToggleGroupItem; }
20
28
  });
21
29
  //# sourceMappingURL=Toggle.js.map
22
30
  //# sourceMappingURL=Toggle.js.map
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- export { Toggle, ToggleGroup, ToggleGroupItem } from '../chunk-DHCJMYFD.mjs';
2
+ export { SegmentedControl, SegmentedControlItem, Toggle, ToggleGroup, ToggleGroupItem } from '../chunk-B4I6BMNS.mjs';
3
3
  import '../chunk-IEPCH3JB.mjs';
4
4
  //# sourceMappingURL=Toggle.mjs.map
5
5
  //# sourceMappingURL=Toggle.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  export { BRAND_DEFAULTS, BrandDefaults, configureBrand, getBrand, resetBrand } from './brand.mjs';
2
2
  export { cx } from './utils/cx.mjs';
3
- export { DateFormat, ResolvedDateFormat, addMonths, buildMonthGrid, dateFormatPlaceholder, detectFormatFromLocale, formatDate, isSameDay, parseDate, resolveDateFormat, startOfMonth } from './utils/dateFormat.mjs';
3
+ export { DateFormat, RelativeDayOptions, ResolvedDateFormat, addMonths, buildMonthGrid, dateFormatPlaceholder, detectFormatFromLocale, formatDate, formatRelativeDay, isSameDay, isToday, isTomorrow, isYesterday, parseDate, resolveDateFormat, startOfMonth } from './utils/dateFormat.mjs';
4
4
  export { Extensible } from './utils/types.mjs';
5
5
  export { LocaleProvider, LocaleProviderProps, UiKitMessages, esMessages, format, useLocale } from './locale/index.mjs';
6
6
  export { Button, ButtonGroup, ButtonProps, ButtonSize, ButtonVariant } from './components/Button.mjs';
7
7
  export { Checkbox, CheckboxProps, FormField, FormFieldProps, Input, InputGroup, InputGroupAddon, InputProps, Label, LabelProps, Radio, RadioProps, Select, SelectProps, Switch, SwitchProps, Textarea, TextareaProps } from './components/Form.mjs';
8
- export { Alert, AlertProps, AlertVariant, Badge, BadgeProps, BadgeVariant, Card, CardAccent, CardBody, CardFooter, CardHeader, CardProps, Chip, ChipGroup, ChipProps, ProductCard, ProductCardProps, Skeleton, SkeletonProps, Spinner, SpinnerProps } from './components/Display.mjs';
8
+ export { Alert, AlertProps, AlertVariant, Badge, BadgeProps, BadgeVariant, Card, CardAccent, CardBody, CardFooter, CardHeader, CardProps, CategoryAccent, Chip, ChipGroup, ChipProps, ProductCard, ProductCardProps, Skeleton, SkeletonProps, Spinner, SpinnerProps } from './components/Display.mjs';
9
9
  export { Drawer, DrawerProps, Modal, OverlayProps } from './components/Overlay.mjs';
10
- export { Container, ContainerProps, Divider, DividerProps, Grid, GridProps, HStack, KeyValue, KeyValueProps, KeyValueRow, KeyValueRowProps, ListGroup, ListGroupItem, ListGroupItemProps, Stack, StackProps, Stepper, StepperProps, Tab, TabList, TabPanel, TabProps, Table, Tabs, TabsProps, Tooltip, TooltipProps, VStack } from './components/Layout.mjs';
10
+ export { Cluster, Container, ContainerProps, Divider, DividerProps, Grid, GridProps, HStack, KeyValue, KeyValueProps, KeyValueRow, KeyValueRowProps, ListGroup, ListGroupItem, ListGroupItemProps, ResponsiveColumns, Spacer, SpacerProps, Stack, StackProps, Stepper, StepperProps, Tab, TabList, TabPanel, TabProps, Table, Tabs, TabsProps, Tooltip, TooltipProps, VStack } from './components/Layout.mjs';
11
11
  export { ToastItem, ToastProvider, useToast } from './components/Toast.mjs';
12
12
  export { EmptyState, EmptyStateProps, Kpi, KpiProps, NumberInput, NumberInputProps, Pagination, PaginationProps } from './components/Inputs.mjs';
13
13
  export { Combobox, ComboboxOption, ComboboxProps, DatePicker, DatePickerProps, FileUpload, FileUploadProps, MonthPicker, MonthPickerProps, YearPicker, YearPickerProps } from './components/Pickers.mjs';
@@ -15,7 +15,7 @@ export { Accordion, AccordionItem, AccordionProps, BreadcrumbItem, Breadcrumbs,
15
15
  export { CheckboxGroup, CheckboxGroupProps, MoneyInput, MoneyInputProps, OptionItem, PhoneInput, PhoneInputProps, Progress, ProgressCircle, ProgressCircleProps, ProgressProps, RadioGroup, RadioGroupProps, Slider, SliderProps, TagInput, TagInputProps, TimePicker, TimePickerProps } from './components/InputsExtra.mjs';
16
16
  export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Menu, MenuItemProps, MenuProps, Stat, StatProps } from './components/Display2.mjs';
17
17
  export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, useCommandPalette } from './components/AdvancedPickers.mjs';
18
- export { AppShell, AppShellHeader, AppShellHeaderLayout, AppShellProps, AppShellTheme, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.mjs';
18
+ export { AppShell, AppShellBaseProps, AppShellHeader, AppShellHeaderLayout, AppShellProps, AppShellSideProps, AppShellTheme, AppShellTopProps, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.mjs';
19
19
  export { AreaChart, AreaChartProps, BarChart, BarChartProps, BaseChartProps, DonutChart, DonutChartProps, LineChart, LineChartProps, RechartsLike, Sparkline, SparklineProps } from './components/Charts.mjs';
20
20
  export { AlertCircle, AlertTriangle, AlignCenter, AlignLeft, AlignRight, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Bell, Bold, Building, CalendarIcon, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, Copy, CreditCard, Download, Edit, ExternalLink, Eye, EyeOff, FileText, Filter, Folder, Globe, Heart, Home, IconProps, Info, Italic, Link, Loader, Lock, LogOut, Mail, MapPin, MenuIcon, Minus, Moon, MoreHorizontal, MoreVertical, Package, Phone, Plus, RefreshCw, Search, Settings, ShoppingCart, Star, Sun, Tag, Tool, Trash, Truck, Underline, Unlock, Upload, User, Users, Wrench, X } from './components/Icons.mjs';
21
21
  export { Logo, LogoBg, LogoFormat, LogoProps, LogoVariant } from './components/Logo.mjs';
@@ -32,7 +32,7 @@ export { CategoryItem, CategoryNav, CategoryNavProps, Hero, HeroProps, Testimoni
32
32
  export { Popover, PopoverPlacement, PopoverProps } from './components/Popover.mjs';
33
33
  export { HoverCard, HoverCardPlacement, HoverCardProps } from './components/HoverCard.mjs';
34
34
  export { ContextMenu, ContextMenuItem, ContextMenuProps } from './components/ContextMenu.mjs';
35
- export { Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupProps, ToggleGroupSingleProps, ToggleProps, ToggleSize, ToggleVariant } from './components/Toggle.mjs';
35
+ export { SegmentedControl, SegmentedControlItem, SegmentedControlProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupProps, ToggleGroupSingleProps, ToggleProps, ToggleSize, ToggleVariant } from './components/Toggle.mjs';
36
36
  export { InputOTP, InputOTPProps } from './components/InputOTP.mjs';
37
37
  export { AspectRatio, AspectRatioProps, ScrollArea, ScrollAreaProps, Separator, SeparatorProps, Slot, SlotProps, Slottable } from './components/Primitives.mjs';
38
38
  export { Carousel, CarouselProps } from './components/Carousel.mjs';
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  export { BRAND_DEFAULTS, BrandDefaults, configureBrand, getBrand, resetBrand } from './brand.js';
2
2
  export { cx } from './utils/cx.js';
3
- export { DateFormat, ResolvedDateFormat, addMonths, buildMonthGrid, dateFormatPlaceholder, detectFormatFromLocale, formatDate, isSameDay, parseDate, resolveDateFormat, startOfMonth } from './utils/dateFormat.js';
3
+ export { DateFormat, RelativeDayOptions, ResolvedDateFormat, addMonths, buildMonthGrid, dateFormatPlaceholder, detectFormatFromLocale, formatDate, formatRelativeDay, isSameDay, isToday, isTomorrow, isYesterday, parseDate, resolveDateFormat, startOfMonth } from './utils/dateFormat.js';
4
4
  export { Extensible } from './utils/types.js';
5
5
  export { LocaleProvider, LocaleProviderProps, UiKitMessages, esMessages, format, useLocale } from './locale/index.js';
6
6
  export { Button, ButtonGroup, ButtonProps, ButtonSize, ButtonVariant } from './components/Button.js';
7
7
  export { Checkbox, CheckboxProps, FormField, FormFieldProps, Input, InputGroup, InputGroupAddon, InputProps, Label, LabelProps, Radio, RadioProps, Select, SelectProps, Switch, SwitchProps, Textarea, TextareaProps } from './components/Form.js';
8
- export { Alert, AlertProps, AlertVariant, Badge, BadgeProps, BadgeVariant, Card, CardAccent, CardBody, CardFooter, CardHeader, CardProps, Chip, ChipGroup, ChipProps, ProductCard, ProductCardProps, Skeleton, SkeletonProps, Spinner, SpinnerProps } from './components/Display.js';
8
+ export { Alert, AlertProps, AlertVariant, Badge, BadgeProps, BadgeVariant, Card, CardAccent, CardBody, CardFooter, CardHeader, CardProps, CategoryAccent, Chip, ChipGroup, ChipProps, ProductCard, ProductCardProps, Skeleton, SkeletonProps, Spinner, SpinnerProps } from './components/Display.js';
9
9
  export { Drawer, DrawerProps, Modal, OverlayProps } from './components/Overlay.js';
10
- export { Container, ContainerProps, Divider, DividerProps, Grid, GridProps, HStack, KeyValue, KeyValueProps, KeyValueRow, KeyValueRowProps, ListGroup, ListGroupItem, ListGroupItemProps, Stack, StackProps, Stepper, StepperProps, Tab, TabList, TabPanel, TabProps, Table, Tabs, TabsProps, Tooltip, TooltipProps, VStack } from './components/Layout.js';
10
+ export { Cluster, Container, ContainerProps, Divider, DividerProps, Grid, GridProps, HStack, KeyValue, KeyValueProps, KeyValueRow, KeyValueRowProps, ListGroup, ListGroupItem, ListGroupItemProps, ResponsiveColumns, Spacer, SpacerProps, Stack, StackProps, Stepper, StepperProps, Tab, TabList, TabPanel, TabProps, Table, Tabs, TabsProps, Tooltip, TooltipProps, VStack } from './components/Layout.js';
11
11
  export { ToastItem, ToastProvider, useToast } from './components/Toast.js';
12
12
  export { EmptyState, EmptyStateProps, Kpi, KpiProps, NumberInput, NumberInputProps, Pagination, PaginationProps } from './components/Inputs.js';
13
13
  export { Combobox, ComboboxOption, ComboboxProps, DatePicker, DatePickerProps, FileUpload, FileUploadProps, MonthPicker, MonthPickerProps, YearPicker, YearPickerProps } from './components/Pickers.js';
@@ -15,7 +15,7 @@ export { Accordion, AccordionItem, AccordionProps, BreadcrumbItem, Breadcrumbs,
15
15
  export { CheckboxGroup, CheckboxGroupProps, MoneyInput, MoneyInputProps, OptionItem, PhoneInput, PhoneInputProps, Progress, ProgressCircle, ProgressCircleProps, ProgressProps, RadioGroup, RadioGroupProps, Slider, SliderProps, TagInput, TagInputProps, TimePicker, TimePickerProps } from './components/InputsExtra.js';
16
16
  export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Menu, MenuItemProps, MenuProps, Stat, StatProps } from './components/Display2.js';
17
17
  export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, useCommandPalette } from './components/AdvancedPickers.js';
18
- export { AppShell, AppShellHeader, AppShellHeaderLayout, AppShellProps, AppShellTheme, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.js';
18
+ export { AppShell, AppShellBaseProps, AppShellHeader, AppShellHeaderLayout, AppShellProps, AppShellSideProps, AppShellTheme, AppShellTopProps, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.js';
19
19
  export { AreaChart, AreaChartProps, BarChart, BarChartProps, BaseChartProps, DonutChart, DonutChartProps, LineChart, LineChartProps, RechartsLike, Sparkline, SparklineProps } from './components/Charts.js';
20
20
  export { AlertCircle, AlertTriangle, AlignCenter, AlignLeft, AlignRight, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Bell, Bold, Building, CalendarIcon, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, Copy, CreditCard, Download, Edit, ExternalLink, Eye, EyeOff, FileText, Filter, Folder, Globe, Heart, Home, IconProps, Info, Italic, Link, Loader, Lock, LogOut, Mail, MapPin, MenuIcon, Minus, Moon, MoreHorizontal, MoreVertical, Package, Phone, Plus, RefreshCw, Search, Settings, ShoppingCart, Star, Sun, Tag, Tool, Trash, Truck, Underline, Unlock, Upload, User, Users, Wrench, X } from './components/Icons.js';
21
21
  export { Logo, LogoBg, LogoFormat, LogoProps, LogoVariant } from './components/Logo.js';
@@ -32,7 +32,7 @@ export { CategoryItem, CategoryNav, CategoryNavProps, Hero, HeroProps, Testimoni
32
32
  export { Popover, PopoverPlacement, PopoverProps } from './components/Popover.js';
33
33
  export { HoverCard, HoverCardPlacement, HoverCardProps } from './components/HoverCard.js';
34
34
  export { ContextMenu, ContextMenuItem, ContextMenuProps } from './components/ContextMenu.js';
35
- export { Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupProps, ToggleGroupSingleProps, ToggleProps, ToggleSize, ToggleVariant } from './components/Toggle.js';
35
+ export { SegmentedControl, SegmentedControlItem, SegmentedControlProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupProps, ToggleGroupSingleProps, ToggleProps, ToggleSize, ToggleVariant } from './components/Toggle.js';
36
36
  export { InputOTP, InputOTPProps } from './components/InputOTP.js';
37
37
  export { AspectRatio, AspectRatioProps, ScrollArea, ScrollAreaProps, Separator, SeparatorProps, Slot, SlotProps, Slottable } from './components/Primitives.js';
38
38
  export { Carousel, CarouselProps } from './components/Carousel.js';