@caspeco/casper-ui-library 12.0.0 → 12.1.1

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 (172) hide show
  1. package/README.md +5 -5
  2. package/dist/_virtual/builtin_esm-external-require-react.js +1 -1
  3. package/dist/components/accordion/accordion-item.js +1 -1
  4. package/dist/components/alert/alert.d.ts.map +1 -1
  5. package/dist/components/alert/alert.js +4 -4
  6. package/dist/components/alert/helper.d.ts +3 -3
  7. package/dist/components/alert/helper.d.ts.map +1 -1
  8. package/dist/components/alert/helper.js +1 -1
  9. package/dist/components/badge/badge.js +1 -1
  10. package/dist/components/badge/helper.d.ts +3 -3
  11. package/dist/components/badge/helper.d.ts.map +1 -1
  12. package/dist/components/badge/helper.js +1 -1
  13. package/dist/components/box/box.composition.d.ts.map +1 -1
  14. package/dist/components/breadcrumbs/breadcrumbs.js +4 -4
  15. package/dist/components/button/button.d.ts.map +1 -1
  16. package/dist/components/button/button.js +1 -1
  17. package/dist/components/checkbox/checkbox.js +1 -1
  18. package/dist/components/collapsible/collapsible.js +1 -1
  19. package/dist/components/combobox/combobox-button.js +1 -1
  20. package/dist/components/combobox/combobox-item.js +1 -1
  21. package/dist/components/combobox/combobox-menu.js +1 -1
  22. package/dist/components/combobox/combobox-recipe.js +1 -1
  23. package/dist/components/combobox/combobox.d.ts.map +1 -1
  24. package/dist/components/combobox/combobox.js +88 -93
  25. package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
  26. package/dist/components/date-picker/base-date-picker.js +3 -3
  27. package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
  28. package/dist/components/date-picker/date-picker-date-cell.js +1 -1
  29. package/dist/components/date-picker/date-picker-header.js +3 -3
  30. package/dist/components/date-picker/date-picker-week-cell.js +1 -1
  31. package/dist/components/divider/divider.d.ts.map +1 -1
  32. package/dist/components/divider/divider.js +1 -1
  33. package/dist/components/drawer/inline-drawer.js +1 -1
  34. package/dist/components/form-control/form-label.d.ts.map +1 -1
  35. package/dist/components/form-control/form-label.js +1 -1
  36. package/dist/components/heading/heading.d.ts.map +1 -1
  37. package/dist/components/heading/heading.js +2 -2
  38. package/dist/components/highlight/highlight.js +1 -1
  39. package/dist/components/icon/create-icon.d.ts +2 -2
  40. package/dist/components/icon/create-icon.d.ts.map +1 -1
  41. package/dist/components/icon/create-icon.js +1 -1
  42. package/dist/components/icon/icon.composition.d.ts.map +1 -1
  43. package/dist/components/icon-button/icon-button.d.ts.map +1 -1
  44. package/dist/components/icon-button/icon-button.js +1 -1
  45. package/dist/components/image-upload/image-cropper.js +1 -1
  46. package/dist/components/image-upload/image-upload-dropzone.js +3 -7
  47. package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
  48. package/dist/components/image-upload/image-upload-modal.js +3 -3
  49. package/dist/components/image-upload/image-upload.js +1 -1
  50. package/dist/components/input/helper.js +1 -1
  51. package/dist/components/input/input-recipe.js +1 -1
  52. package/dist/components/input/input.js +1 -1
  53. package/dist/components/list/list.d.ts.map +1 -1
  54. package/dist/components/list/list.js +1 -1
  55. package/dist/components/menu/menu-divider.js +1 -1
  56. package/dist/components/menu/menu-group.d.ts.map +1 -1
  57. package/dist/components/menu/menu-group.js +1 -2
  58. package/dist/components/menu/menu-item.d.ts.map +1 -1
  59. package/dist/components/menu/menu-item.js +1 -1
  60. package/dist/components/menu/menu-recipe.d.ts.map +1 -1
  61. package/dist/components/menu/menu-recipe.js +1 -1
  62. package/dist/components/message/message.js +1 -1
  63. package/dist/components/modal/modal-close-button.js +1 -1
  64. package/dist/components/modal/modal.composition.d.ts.map +1 -1
  65. package/dist/components/navigation-list/navigation-list-item.js +3 -3
  66. package/dist/components/paginator/paginator-recipe.d.ts.map +1 -1
  67. package/dist/components/paginator/paginator-recipe.js +3 -3
  68. package/dist/components/phone-input/country-selector.d.ts.map +1 -1
  69. package/dist/components/phone-input/country-selector.js +1 -1
  70. package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
  71. package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
  72. package/dist/components/quantity-button/quantity-button.js +1 -1
  73. package/dist/components/radio/hover-styles.js +1 -1
  74. package/dist/components/radio/radio-group-recipe.js +1 -1
  75. package/dist/components/radio/radio.d.ts.map +1 -1
  76. package/dist/components/radio/radio.js +1 -1
  77. package/dist/components/radio-card/hover-styles.js +1 -1
  78. package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
  79. package/dist/components/radio-card/radio-card-group.js +1 -1
  80. package/dist/components/radio-card/radio-card.js +3 -3
  81. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
  82. package/dist/components/rich-text-editor/rich-text-editor-control.js +3 -7
  83. package/dist/components/rich-text-editor/rich-text-editor-recipe.d.ts.map +1 -1
  84. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +1 -1
  85. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  86. package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
  87. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  88. package/dist/components/segmented-control/segmented-control.js +1 -1
  89. package/dist/components/select/select-recipe.js +1 -1
  90. package/dist/components/select/select.js +1 -1
  91. package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
  92. package/dist/components/skeleton/skeleton-text.js +1 -1
  93. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  94. package/dist/components/skeleton/skeleton.js +1 -1
  95. package/dist/components/spinner/spinner.d.ts.map +1 -1
  96. package/dist/components/spinner/spinner.js +1 -1
  97. package/dist/components/stepper/step-context.d.ts +4 -4
  98. package/dist/components/stepper/step-context.d.ts.map +1 -1
  99. package/dist/components/stepper/step.d.ts.map +1 -1
  100. package/dist/components/stepper/step.js +3 -3
  101. package/dist/components/stepper/stepper.js +1 -1
  102. package/dist/components/stepper/types.d.ts +4 -4
  103. package/dist/components/stepper/types.d.ts.map +1 -1
  104. package/dist/components/switch/hover-styles.js +1 -1
  105. package/dist/components/table/table-cell.js +1 -1
  106. package/dist/components/table/table-column-resize-handle.js +1 -1
  107. package/dist/components/table/table-content.d.ts.map +1 -1
  108. package/dist/components/table/table-content.js +1 -1
  109. package/dist/components/table/table-filter.js +1 -1
  110. package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
  111. package/dist/components/table/table-header-dropdown.js +1 -1
  112. package/dist/components/table/table-header-row.js +3 -3
  113. package/dist/components/table/table-recipe.js +1 -1
  114. package/dist/components/table/table-row-drag-handle.js +1 -1
  115. package/dist/components/table/table-row-expand-toggle-button.js +1 -1
  116. package/dist/components/table/table-sorted-reorder-prompt.js +3 -3
  117. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  118. package/dist/components/table/table-toolbar-settings.js +1 -1
  119. package/dist/components/table/table-toolbar.d.ts.map +1 -1
  120. package/dist/components/table/table-toolbar.js +3 -3
  121. package/dist/components/table/table.d.ts.map +1 -1
  122. package/dist/components/table/table.js +1 -1
  123. package/dist/components/tabs/tab-with-image.js +1 -1
  124. package/dist/components/tabs/tabs-recipe.js +1 -1
  125. package/dist/components/tabs/types.d.ts +2 -2
  126. package/dist/components/tabs/types.d.ts.map +1 -1
  127. package/dist/components/tag/tag-recipe.js +5 -5
  128. package/dist/components/text/text.d.ts.map +1 -1
  129. package/dist/components/text/text.js +2 -2
  130. package/dist/components/textarea/textarea-recipe.js +1 -1
  131. package/dist/components/toaster/toast-store.d.ts +2 -2
  132. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  133. package/dist/components/toaster/toaster.js +1 -1
  134. package/dist/components/toggle-button/use-button-children.js +1 -1
  135. package/dist/components/tooltip/tooltip.js +2 -2
  136. package/dist/index.js +402 -402
  137. package/dist/node_modules/@dnd-kit/abstract/index.js +1 -1
  138. package/dist/node_modules/@dnd-kit/dom/index.js +11 -16
  139. package/dist/node_modules/@dnd-kit/dom/sortable.js +4 -4
  140. package/dist/node_modules/@dnd-kit/dom/utilities.js +2 -6
  141. package/dist/node_modules/@dnd-kit/react/hooks.js +2 -5
  142. package/dist/node_modules/@dnd-kit/react/sortable.js +4 -4
  143. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +16 -30
  144. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +9 -18
  145. package/dist/node_modules/@tiptap/core/dist/index.js +838 -790
  146. package/dist/node_modules/@tiptap/extension-code/dist/index.js +14 -3
  147. package/dist/node_modules/@tiptap/extension-link/dist/index.js +114 -97
  148. package/dist/node_modules/@tiptap/extension-list/dist/index.js +133 -120
  149. package/dist/node_modules/@tiptap/extensions/dist/index.js +33 -33
  150. package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +1 -2
  151. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +1 -1
  152. package/dist/node_modules/date-fns/getISOWeek.js +1 -1
  153. package/dist/node_modules/date-fns/getWeek.js +1 -1
  154. package/dist/node_modules/libphonenumber-js/es6-modern/metadata.js +1 -1
  155. package/dist/node_modules/prosemirror-commands/dist/index.js +1 -1
  156. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +2 -6
  157. package/dist/node_modules/prosemirror-history/dist/index.js +27 -22
  158. package/dist/node_modules/prosemirror-model/dist/index.js +32 -35
  159. package/dist/node_modules/prosemirror-view/dist/index.js +10 -11
  160. package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +74 -57
  161. package/dist/theme/theme-casper-ui.d.ts.map +1 -1
  162. package/dist/theme/theme-casper-ui.js +1 -1
  163. package/dist/theme/theme-style-props.d.ts +25 -25
  164. package/dist/theme/theme-style-props.d.ts.map +1 -1
  165. package/dist/theme/theme-types.d.ts +46 -10
  166. package/dist/theme/theme-types.d.ts.map +1 -1
  167. package/dist/theme/theme-types.js +2 -2
  168. package/dist/theme/theme-types.spec.d.ts +2 -0
  169. package/dist/theme/theme-types.spec.d.ts.map +1 -0
  170. package/dist/theme/theme.d.ts.map +1 -1
  171. package/dist/theme/theme.js +1 -1
  172. package/package.json +13 -13
package/README.md CHANGED
@@ -86,11 +86,11 @@ You may need to tweak the [pixelmatch comparator options](https://vitest.dev/api
86
86
  ```bash
87
87
  git checkout -b UTF-837-add-checkbox-component
88
88
  ```
89
- 3. Make your changes.
90
- 4. Bump the `version` field in `package.json` (following [Semantic versioning](https://semver.org/)) and run `npm install`. The version reflects API changes only (e.g. removing a prop → MAJOR, adding a prop → MINOR, no public API changes → PATCH). UI changes are **NOT** API changes.
91
- 5. Open a [pull request](https://github.com/Caspeco/casper-ui-library/pulls) using the template and assign a reviewer.
92
- 6. If the PR makes significant changes to the UI (e.g. changes the sizes for all buttons), clearly announce this in the [Mattermost channel](https://snack.azure.caspeco.com/default/channels/casper-ui-20---devs).
93
- 7. After approval, merge the PR. If you have a new version in package.json it will automatically publish your changes to npm. The documentation website is always rebuilt.
89
+ 3. Make your changes. Don't touch the `version` field in `package.json`, CI handles it.
90
+ 4. Open a [pull request](https://github.com/Caspeco/casper-ui-library/pulls) using the template and assign a reviewer.
91
+ 5. If the change should be released, add **one** of the labels `bump-patch`, `bump-minor` or `bump-major` (following [Semantic versioning](https://semver.org/)). The version reflects API changes only (e.g. removing a prop → MAJOR, adding a prop → MINOR, no public API changes → PATCH). UI changes are **NOT** API changes.
92
+ 6. If the PR makes significant changes to the UI (e.g. changes the sizes for all buttons), clearly announce this in the [Mattermost channel](https://snack.azure.caspeco.com/default/channels/casper-ui-20).
93
+ 7. After approval, merge the PR. If it has a bump label, CI bumps the version, commits it to `main` and publishes to npm. [`@caspeco/casper-ui-css`](../casper-ui-css) is released the same way with its own `bump-css-*` labels. The documentation website is always rebuilt.
94
94
 
95
95
  ### How to add new icons
96
96
 
@@ -2,7 +2,7 @@ import { __commonJSMin as e } from "./_rolldown/runtime.js";
2
2
  import * as t from "react";
3
3
  //#region builtin:esm-external-require-react
4
4
  var n = /* @__PURE__ */ e(((e, n) => {
5
- n.exports = { ...t };
5
+ n.exports = Object.prototype.hasOwnProperty.call(t, "module.exports") ? t["module.exports"] : { ...t };
6
6
  }));
7
7
  //#endregion
8
8
  export default n();
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeIconSizeVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeIconSize as t } from "../../theme/theme-types.js";
3
3
  import { useAccordionVariant as n } from "./accordion-context.js";
4
4
  import { CollapseIcon as r } from "../icon/icons/collapse-icon.js";
5
5
  import { ExpandIcon as i } from "../icon/icons/expand-icon.js";
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../lib/components/alert/alert.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,KAAK,CAAC,EACrB,SAAkB,EAClB,EAA8B,EAC9B,EAAW,EACX,CAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EACP,IAAa,EACb,iBAAiB,EACjB,IAAI,EAAE,UAAU,EAChB,GAAG,KAAK,EACR,EAAE,UAAU,+BAgEZ"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../lib/components/alert/alert.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,KAAK,CAAC,EACrB,SAAkB,EAClB,EAAsB,EACtB,EAAW,EACX,CAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EACP,IAAa,EACb,iBAAiB,EACjB,IAAI,EAAE,UAAU,EAChB,GAAG,KAAK,EACR,EAAE,UAAU,+BAuDZ"}
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeFontSizeVariable as t, ThemeFontVariable as n, ThemeIconSizeVariable as r, ThemeRadiusVariable as i, ThemeSpaceVariable as a } from "../../theme/theme-types.js";
2
+ import { ThemeFont as t, ThemeFontSize as n, ThemeIconSize as r, ThemeRadius as i, ThemeSpace as a } from "../../theme/theme-types.js";
3
3
  import { CloseIcon as o } from "../icon/icons/close-icon.js";
4
4
  import { Text as s } from "../text/text.js";
5
5
  import { alertIcons as c, getAlertBackgroundColor as l, getAlertTextColor as u } from "./helper.js";
@@ -36,8 +36,8 @@ function _(e) {
36
36
  }), _[20] = R, _[21] = V, _[22] = H, _[23] = F, _[24] = U) : U = _[24];
37
37
  let W;
38
38
  _[25] === O ? W = _[26] : (W = O && /* @__PURE__ */ d(s, {
39
- fontFamily: n.SubHeader,
40
- fontSize: t.Large,
39
+ fontFamily: t.SubHeader,
40
+ fontSize: n.Large,
41
41
  fontWeight: "medium",
42
42
  children: O
43
43
  }), _[25] = O, _[26] = W);
@@ -72,7 +72,7 @@ function _(e) {
72
72
  display: "flex",
73
73
  alignItems: "center",
74
74
  minHeight: k,
75
- fontFamily: n.Body,
75
+ fontFamily: t.Body,
76
76
  color: F,
77
77
  ...S,
78
78
  children: J
@@ -1,7 +1,7 @@
1
1
  import { CasperIconComponent } from '../icon/index.js';
2
- import { ThemeColorVariable } from '../../theme/index.js';
2
+ import { ThemeColor } from '../../theme/index.js';
3
3
  import { AlertType } from './types.js';
4
- export declare const getAlertTextColor: (type: AlertType) => ThemeColorVariable;
5
- export declare const getAlertBackgroundColor: (type: AlertType) => ThemeColorVariable;
4
+ export declare const getAlertTextColor: (type: AlertType) => ThemeColor;
5
+ export declare const getAlertBackgroundColor: (type: AlertType) => ThemeColor;
6
6
  export declare const alertIcons: Record<AlertType, CasperIconComponent>;
7
7
  //# sourceMappingURL=helper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../lib/components/alert/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAKN,KAAK,mBAAmB,EACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,iBAAiB,GAAI,MAAM,SAAS,KAAG,kBAcnD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,SAAS,KAAG,kBAczD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,mBAAmB,CAM7D,CAAC"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../lib/components/alert/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAKN,KAAK,mBAAmB,EACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,iBAAiB,GAAI,MAAM,SAAS,KAAG,UAcnD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,SAAS,KAAG,UAczD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,mBAAmB,CAM7D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ThemeColorVariable as e } from "../../theme/theme-types.js";
1
+ import { ThemeColor as e } from "../../theme/theme-types.js";
2
2
  import { CircleInfoIcon as t } from "../icon/icons/circle-info-icon.js";
3
3
  import { CircleSuccessIcon as n } from "../icon/icons/circle-success-icon.js";
4
4
  import { HexagonErrorIcon as r } from "../icon/icons/hexagon-error-icon.js";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeSpaceVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeSpace as t } from "../../theme/theme-types.js";
3
3
  import { IconSizeConstants as n, checkChildRendersToString as r } from "./helper.js";
4
4
  import { Children as i } from "react";
5
5
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- import { ThemeIconSizeVariable } from '../../theme/index.js';
1
+ import { ThemeIconSize } from '../../theme/index.js';
2
2
  import { ReactNode } from 'react';
3
3
  export declare const IconSizeConstants: {
4
- readonly md: ThemeIconSizeVariable.Small;
5
- readonly sm: ThemeIconSizeVariable.XSmall;
4
+ readonly md: ThemeIconSize.Small;
5
+ readonly sm: ThemeIconSize.XSmall;
6
6
  };
7
7
  export declare const checkChildRendersToString: (child: ReactNode) => boolean;
8
8
  //# sourceMappingURL=helper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../lib/components/badge/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,OAAO,CAAC;AAEvD,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,yBAAyB,GAAI,OAAO,SAAS,KAAG,OAW5D,CAAC"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../lib/components/badge/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,OAAO,CAAC;AAEvD,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,yBAAyB,GAAI,OAAO,SAAS,KAAG,OAW5D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ThemeIconSizeVariable as e } from "../../theme/theme-types.js";
1
+ import { ThemeIconSize as e } from "../../theme/theme-types.js";
2
2
  import { isValidElement as t } from "react";
3
3
  //#region lib/components/badge/helper.ts
4
4
  var n = {
@@ -1 +1 @@
1
- {"version":3,"file":"box.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/box/box.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,mCAA+B,CAAC;AAEpD,eAAO,MAAM,MAAM,mCAIlB,CAAC;AAEF,eAAO,MAAM,OAAO,mCASnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAYlB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAQxB,CAAC;AAEF,eAAO,MAAM,MAAM,mCA2BlB,CAAC"}
1
+ {"version":3,"file":"box.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/box/box.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,mCAA+B,CAAC;AAEpD,eAAO,MAAM,MAAM,mCAIlB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAInB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAYlB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAIxB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAmBlB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeColorVariable as t, ThemeFontSizeVariable as n, ThemeFontVariable as r, ThemeSpaceVariable as i } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t, ThemeFont as n, ThemeFontSize as r, ThemeSpace as i } from "../../theme/theme-types.js";
3
3
  import { Menu as a } from "../menu/menu.js";
4
4
  import { MenuButton as o } from "../menu/menu-button.js";
5
5
  import { MenuItem as s } from "../menu/menu-item.js";
@@ -68,8 +68,8 @@ function y(e) {
68
68
  let c;
69
69
  return a[2] === s ? c = a[3] : (c = /* @__PURE__ */ f(m.Root, {
70
70
  color: t.OnBackground,
71
- fontSize: n.Medium,
72
- fontFamily: r.Body,
71
+ fontSize: r.Medium,
72
+ fontFamily: n.Body,
73
73
  width: "100%",
74
74
  children: /* @__PURE__ */ f(m.List, {
75
75
  gap: i.Small,
@@ -87,7 +87,7 @@ function y(e) {
87
87
  },
88
88
  ...s
89
89
  ];
90
- g = m.Root, S = t.OnBackground, C = n.Medium, w = r.Body, T = "100%", p = m.List, y = i.Small, x = d.map((e, t, n) => {
90
+ g = m.Root, S = t.OnBackground, C = r.Medium, w = n.Body, T = "100%", p = m.List, y = i.Small, x = d.map((e, t, n) => {
91
91
  let r = t + 1 === n.length;
92
92
  return e.isMenuButton ? v({
93
93
  key: t.toString(),
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../lib/components/button/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,kBAAkB,CAAC;AAEjF,OAAO,KAAK,EAAe,UAAU,EAAE,MAAM,SAAS,CAAC;AAwBvD;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;;;;;;;qDAiCjB,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../lib/components/button/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,kBAAkB,CAAC;AAEjF,OAAO,KAAK,EAAe,UAAU,EAAE,MAAM,SAAS,CAAC;AAsBvD;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;;;;;;;qDAiCjB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeIconSizeVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeIconSize as t } from "../../theme/theme-types.js";
3
3
  import { forwardRef as n } from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import { Button as a } from "@chakra-ui/react";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeSpaceVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeSpace as t } from "../../theme/theme-types.js";
3
3
  import { CheckboxIcon as n } from "./checkbox-icon.js";
4
4
  import { forwardRef as r } from "react";
5
5
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeColorVariable as t, ThemeSpaceVariable as n } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t, ThemeSpace as n } from "../../theme/theme-types.js";
3
3
  import { ExpandIcon as r } from "../icon/icons/expand-icon.js";
4
4
  import { useRemoveAttributes as i } from "../../hooks/use-remove-attributes.js";
5
5
  import { useComponentTranslations as a } from "../../theme/translations.js";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeColorVariable as t, ThemeIconSizeVariable as n, ThemeRadiusVariable as ee, ThemeSpaceVariable as r } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t, ThemeIconSize as n, ThemeRadius as ee, ThemeSpace as r } from "../../theme/theme-types.js";
3
3
  import { ClearIcon as te } from "../icon/icons/clear-icon.js";
4
4
  import { TreeViewCollapseIcon as ne } from "../icon/icons/tree-view-collapse-icon.js";
5
5
  import { IconButton as re } from "../icon-button/icon-button.js";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeSpaceVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeSpace as t } from "../../theme/theme-types.js";
3
3
  import { Box as n } from "../box/box.js";
4
4
  import { Tag as r } from "../tag/tag.js";
5
5
  import { Highlight as i } from "../highlight/highlight.js";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeBorderVariable as t, ThemeColorVariable as n, ThemeFontSizeVariable as r, ThemeIconSizeVariable as i, ThemeRadiusVariable as a, ThemeShadowVariable as o, ThemeSpaceVariable as s } from "../../theme/theme-types.js";
2
+ import { ThemeBorder as t, ThemeColor as n, ThemeFontSize as r, ThemeIconSize as i, ThemeRadius as a, ThemeShadow as o, ThemeSpace as s } from "../../theme/theme-types.js";
3
3
  import { BackIcon as c } from "../icon/icons/back-icon.js";
4
4
  import { ForwardIcon as l } from "../icon/icons/forward-icon.js";
5
5
  import { Text as u } from "../text/text.js";
@@ -1,4 +1,4 @@
1
- import { ThemeBorderVariable as e, ThemeColorVariable as t } from "../../theme/theme-types.js";
1
+ import { ThemeBorder as e, ThemeColor as t } from "../../theme/theme-types.js";
2
2
  import { defineRecipe as n } from "@chakra-ui/react";
3
3
  //#region lib/components/combobox/combobox-recipe.ts
4
4
  var r = {
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAIX,aAAa,EAEb,MAAM,SAAS,CAAC;AA6GjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAkB,EAClB,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAiD,EACjD,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,+BAgWf"}
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAIX,aAAa,EAEb,MAAM,SAAS,CAAC;AAgHjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAoC,EACpC,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAiD,EACjD,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,+BAgWf"}
@@ -75,7 +75,7 @@ var f = e(), p = (e, t) => {
75
75
  r[9] === Symbol.for("react.memo_cache_sentinel") ? (u = (e) => {
76
76
  c((t) => [...t, e]);
77
77
  }, d = () => {
78
- c(v);
78
+ c(y);
79
79
  }, r[9] = u, r[10] = d) : (u = r[9], d = r[10]);
80
80
  let p;
81
81
  return r[11] !== l || r[12] !== o ? (p = {
@@ -91,12 +91,12 @@ var f = e(), p = (e, t) => {
91
91
  t[e.id] = [...r], e.children && e.children.forEach((t) => n(t, [...r, e.label]));
92
92
  }
93
93
  return e.forEach((e) => n(e, [])), t;
94
- };
95
- function _({ id: e, label: f = "", isSingleSelect: _ = !1, selectedItems: v = [], size: te = "md", variant: ne = "outline", asPlainText: y = !1, onSearch: b, items: x, maxVisibleItems: S, onChange: C, onBlur: w, isDisabled: T, isReadOnly: E, isRequired: re, placeholder: ie, footerContent: ae, popoverWidth: oe, popoverPlacement: se, collapsed: D = !1, folderStyle: O = "grouped", keepSearchAfterSelect: k = O === "stacked", parentSelectsChildren: A, ...j }) {
96
- let [M, N] = s(y ? v[0]?.label ?? "" : ""), [ce, P] = s(!1), le = t(n), F = o(null), I = o(null), L = g(x), R = M.toLowerCase() === v[0]?.label.toLowerCase(), z = M.length > 0 && !(y && R), B = d(), V = B?.invalid ?? !1, H = T ?? B?.disabled ?? !1, U = E ?? B?.readOnly ?? !1, W = re ?? B?.required ?? !1, G = L.current;
97
- if (z) {
94
+ }, _ = [];
95
+ function v({ id: e, label: f = "", isSingleSelect: v = !1, selectedItems: y = _, size: te = "md", variant: ne = "outline", asPlainText: b = !1, onSearch: x, items: S, maxVisibleItems: C, onChange: w, onBlur: T, isDisabled: E, isReadOnly: D, isRequired: O, placeholder: re, footerContent: ie, popoverWidth: k, popoverPlacement: ae, collapsed: oe = !1, folderStyle: A = "grouped", keepSearchAfterSelect: se = A === "stacked", parentSelectsChildren: j, ...ce }) {
96
+ let [M, N] = s(b ? y[0]?.label ?? "" : ""), [le, P] = s(!1), F = t(n), I = o(null), L = o(null), R = g(S), z = M.toLowerCase() === y[0]?.label.toLowerCase(), B = M.length > 0 && !(b && z), V = d(), H = V?.invalid ?? !1, U = E ?? V?.disabled ?? !1, W = D ?? V?.readOnly ?? !1, G = O ?? V?.required ?? !1, K = R.current;
97
+ if (B) {
98
98
  let e = [], t = M.toLowerCase();
99
- if (O === "stacked") {
99
+ if (A === "stacked") {
100
100
  let e = (n) => n.map((n) => {
101
101
  let r = n.label.toLowerCase().includes(t), i = n.children && n.children.length > 0;
102
102
  if (r) return n;
@@ -108,140 +108,135 @@ function _({ id: e, label: f = "", isSingleSelect: _ = !1, selectedItems: v = []
108
108
  }
109
109
  }
110
110
  }).filter(Boolean);
111
- G = e(x);
111
+ K = e(S);
112
112
  } else {
113
113
  let t = (n) => {
114
114
  e.push(n), n.children && n.children.forEach(t);
115
115
  };
116
- x.forEach(t), G = e.filter((e) => {
116
+ S.forEach(t), K = e.filter((e) => {
117
117
  let t = e.label.toLowerCase().includes(M.toLowerCase());
118
118
  return (!(e.children && e.children.length > 0) || e.isSelectableParent) && t;
119
119
  });
120
120
  }
121
121
  }
122
- let K = p(G, I), [q, ue] = s([]), J = m(K, y, N, H, b, () => {
123
- if (O !== "stacked") {
124
- if (_) {
125
- let e = v[0]?.id, t = e ? h(x, e) ?? [] : [];
126
- L.setPath(t);
127
- return;
128
- }
129
- ue(v);
122
+ let q = p(K, L), [J, ue] = s([]), Y = m(q, b, N, U, x, () => {
123
+ if (A !== "stacked") {
124
+ if (v) {
125
+ let e = y[0]?.id, t = e ? h(S, e) ?? [] : [];
126
+ R.setPath(t);
127
+ } else ue(y);
130
128
  }
131
- }), [Y, de] = s({
132
- isOpen: J.isOpen,
133
- selectedItems: v,
134
- asPlainText: y
129
+ }), [X, de] = s({
130
+ isOpen: Y.isOpen,
131
+ selectedItems: y,
132
+ asPlainText: b
135
133
  });
136
- (Y.isOpen !== J.isOpen || Y.selectedItems !== v || Y.asPlainText !== y) && (de({
137
- isOpen: J.isOpen,
138
- selectedItems: v,
139
- asPlainText: y
140
- }), y && !J.isOpen && N(v[0]?.label ?? "")), z || (G = [...q, ...G.filter((e) => !q.find((t) => t.label === e.label))]);
141
- let X = !1;
142
- U ? G = v : (X = G.length > (S ?? Infinity), G = G.slice(0, S));
143
- let Z = ee(x), fe = (e) => {
144
- let t = L.opened.length > 0 && L.opened[L.opened.length - 1]?.id === e.id, n = e.children && e.children.length > 0;
145
- if (!z && !t && n) {
146
- L.open(e), requestAnimationFrame(() => K.set(1));
147
- return;
148
- }
149
- return _ ? [e] : Q(e);
150
- }, pe = (e) => {
134
+ (X.isOpen !== Y.isOpen || X.selectedItems !== y || X.asPlainText !== b) && (de({
135
+ isOpen: Y.isOpen,
136
+ selectedItems: y,
137
+ asPlainText: b
138
+ }), b && !Y.isOpen && N(y[0]?.label ?? "")), B || (K = [...J, ...K.filter((e) => !J.find((t) => t.label === e.label))]);
139
+ let Z = !1;
140
+ W ? K = y : (Z = K.length > (C ?? Infinity), K = K.slice(0, C));
141
+ let fe = ee(S), pe = (e) => {
142
+ let t = R.opened.length > 0 && R.opened[R.opened.length - 1]?.id === e.id, n = e.children && e.children.length > 0;
143
+ if (!B && !t && n) R.open(e), requestAnimationFrame(() => q.set(1));
144
+ else return v ? [e] : Q(e);
145
+ }, me = (e) => {
151
146
  let t = e.children && e.children.length > 0;
152
- if (!(t && !e.isSelectableParent && (_ || !A))) return _ ? [e] : t ? me(e) : Q(e);
153
- }, Q = (e) => v.some((t) => t.id === e.id) ? v.filter((t) => t.id !== e.id) : [...v, e];
154
- function me(e) {
147
+ if (!t || e.isSelectableParent || !v && j) return v ? [e] : t ? he(e) : Q(e);
148
+ }, Q = (e) => y.some((t) => t.id === e.id) ? y.filter((t) => t.id !== e.id) : [...y, e];
149
+ function he(e) {
155
150
  let t, n = [], r = (e) => {
156
151
  e.children && e.children.length > 0 ? (e.isSelectableParent && n.push(e), e.children.forEach(r)) : n.push(e);
157
152
  };
158
153
  r(e);
159
- let i = v.filter((e) => n.some((t) => t.id === e.id));
160
- return t = i.length > 0 && (!e.isSelectableParent || i.some((t) => t.id === e.id)) ? v.filter((e) => !i.some((t) => t.id === e.id)) : [...v, ...n.filter((e) => !v.some((t) => t.id === e.id))], t;
154
+ let i = y.filter((e) => n.some((t) => t.id === e.id));
155
+ return t = i.length > 0 && (!e.isSelectableParent || i.some((t) => t.id === e.id)) ? y.filter((e) => !i.some((t) => t.id === e.id)) : [...y, ...n.filter((e) => !y.some((t) => t.id === e.id))], t;
161
156
  }
162
- let he = (e) => {
163
- if (!e || U || H) return;
164
- if (I.current?.parentNode?.querySelector("input")?.focus(), e.id === "_back") {
165
- L.back();
157
+ let ge = (e) => {
158
+ if (!e || W || U) return;
159
+ if (L.current?.parentNode?.querySelector("input")?.focus(), e.id === "_back") {
160
+ R.back();
166
161
  return;
167
162
  }
168
163
  let t;
169
- t = O === "grouped" ? fe(e) : pe(e), t && (y ? N(t[0]?.label ?? "") : k || (N(""), b?.("")), _ && (t.length === 0 ? J.open() : J.close()), C && C(t));
170
- }, ge = () => {
171
- U || H || W || v.length === 0 || (F.current?.querySelector("input")?.focus(), N(""), b?.(""), C?.([]));
172
- }, _e = v.length === 0 ? ie ?? le.search : void 0;
164
+ t = A === "grouped" ? pe(e) : me(e), t && (b ? N(t[0]?.label ?? "") : se || (N(""), x?.("")), v && (t.length === 0 ? Y.open() : Y.close()), w && w(t));
165
+ }, _e = () => {
166
+ W || U || G || y.length === 0 || (I.current?.querySelector("input")?.focus(), N(""), x?.(""), w?.([]));
167
+ }, ve = y.length === 0 ? re ?? F.search : void 0;
173
168
  a(() => {
174
- let e = I.current?.querySelector("[role='listbox']");
175
- if (!e || !J.isOpen) return;
169
+ let e = L.current?.querySelector("[role='listbox']");
170
+ if (!e || !Y.isOpen) return;
176
171
  let t = (t) => {
177
172
  t.target === e && t.preventDefault();
178
173
  };
179
174
  return e.addEventListener("mousedown", t, !0), () => {
180
175
  e.removeEventListener("mousedown", t, !0);
181
176
  };
182
- }, [J.isOpen]);
183
- let ve = (e) => {
184
- F.current?.contains(e.relatedTarget) || (J.close(), P(!1), w && w(v));
177
+ }, [Y.isOpen]);
178
+ let ye = (e) => {
179
+ I.current?.contains(e.relatedTarget) || (Y.close(), P(!1), T && T(y));
185
180
  }, $ = {
186
181
  id: e,
187
- asPlainText: y,
182
+ asPlainText: b,
188
183
  inputValue: M,
189
- selectedItems: v,
190
- displayItems: G,
191
- toggleItem: he,
192
- clearSelection: ge,
193
- highlightState: K,
194
- openState: J,
195
- parentStrings: Z,
184
+ selectedItems: y,
185
+ displayItems: K,
186
+ toggleItem: ge,
187
+ clearSelection: _e,
188
+ highlightState: q,
189
+ openState: Y,
190
+ parentStrings: fe,
196
191
  size: te,
197
192
  variant: ne,
198
193
  label: f,
199
- placeHolderText: _e,
200
- isDisabled: H,
201
- isReadOnly: U,
202
- isInvalid: V,
203
- isRequired: W,
204
- collapsed: D,
205
- hasPendingDelete: ce,
194
+ placeHolderText: ve,
195
+ isDisabled: U,
196
+ isReadOnly: W,
197
+ isInvalid: H,
198
+ isRequired: G,
199
+ collapsed: oe,
200
+ hasPendingDelete: le,
206
201
  setHasPendingDelete: P,
207
202
  setInputValue: N,
208
- onSearch: b,
209
- isSingleSelect: _,
210
- isSearching: z,
211
- isHidingItems: X,
212
- popoverWidth: oe,
213
- popoverPlacement: se,
214
- previousSelectedItems: q,
215
- parentRef: F,
216
- popupRef: I,
217
- footerContent: ae,
218
- subMenuState: L,
219
- folderStyle: O,
220
- parentSelectsChildren: A
203
+ onSearch: x,
204
+ isSingleSelect: v,
205
+ isSearching: B,
206
+ isHidingItems: Z,
207
+ popoverWidth: k,
208
+ popoverPlacement: ae,
209
+ previousSelectedItems: J,
210
+ parentRef: I,
211
+ popupRef: L,
212
+ footerContent: ie,
213
+ subMenuState: R,
214
+ folderStyle: A,
215
+ parentSelectsChildren: j
221
216
  };
222
217
  return /* @__PURE__ */ c(u, {
223
218
  role: "combobox",
224
219
  asChild: !0,
225
220
  className: "combobox",
226
- ref: F,
227
- onClick: J.open,
228
- onBlur: ve,
221
+ ref: I,
222
+ onClick: Y.open,
223
+ onBlur: ye,
229
224
  overflow: "visible",
230
225
  width: "100%",
231
- "aria-expanded": J.isOpen,
232
- "aria-required": W,
233
- "aria-disabled": H,
234
- "aria-readonly": U,
235
- "aria-invalid": V,
236
- ...j,
226
+ "aria-expanded": Y.isOpen,
227
+ "aria-required": G,
228
+ "aria-disabled": U,
229
+ "aria-readonly": W,
230
+ "aria-invalid": H,
231
+ ...ce,
237
232
  children: /* @__PURE__ */ l("label", {
238
233
  htmlFor: e,
239
- children: [/* @__PURE__ */ c(r, { ...$ }), J.isOpen && /* @__PURE__ */ c(i, { ...$ })]
234
+ children: [/* @__PURE__ */ c(r, { ...$ }), Y.isOpen && /* @__PURE__ */ c(i, { ...$ })]
240
235
  })
241
236
  });
242
237
  }
243
- function v(e) {
238
+ function y(e) {
244
239
  return e.slice(0, -1);
245
240
  }
246
241
  //#endregion
247
- export { _ as Combobox };
242
+ export { v as Combobox };
@@ -1 +1 @@
1
- {"version":3,"file":"base-date-picker.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/base-date-picker.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAoBnD,wBAAgB,cAAc,CAAC,EAC9B,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAqB,EACrB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,oBAA4B,EAC5B,kBAAkB,EAClB,UAAiB,EACjB,IAAI,EACJ,WAAmB,EACnB,UAAkB,EAClB,iBAAiB,EACjB,aAAa,EAAE,YAAY,EAC3B,SAAS,EACT,WAAmB,EACnB,aAAa,EACb,UAAkB,EAClB,OAAY,EACZ,iBAAyB,EACzB,yBAAiC,EACjC,wBAAgC,GAChC,EAAE,mBAAmB,qBAgTrB"}
1
+ {"version":3,"file":"base-date-picker.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/base-date-picker.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAoBnD,wBAAgB,cAAc,CAAC,EAC9B,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAqB,EACrB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,oBAA4B,EAC5B,kBAAkB,EAClB,UAAiB,EACjB,IAAI,EACJ,WAAmB,EACnB,UAAkB,EAClB,iBAAiB,EACjB,aAAa,EAAE,YAAY,EAC3B,SAAS,EACT,WAAmB,EACnB,aAAa,EACb,UAAkB,EAClB,OAAY,EACZ,iBAAyB,EACzB,yBAAiC,EACjC,wBAAgC,GAChC,EAAE,mBAAmB,qBA8SrB"}
@@ -1,6 +1,6 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
2
  import { useLocale as t } from "../../theme/theme-locale.js";
3
- import { ThemeColorVariable as ee, ThemeFontSizeVariable as n, ThemeFontVariable as te, ThemeSpaceVariable as r } from "../../theme/theme-types.js";
3
+ import { ThemeColor as ee, ThemeFont as n, ThemeFontSize as te, ThemeSpace as r } from "../../theme/theme-types.js";
4
4
  import { addDays as i } from "../../node_modules/date-fns/addDays.js";
5
5
  import a from "../../node_modules/date-fns/startOfWeek.js";
6
6
  import o from "../../node_modules/date-fns/isSameDay.js";
@@ -221,8 +221,8 @@ function k(e) {
221
221
  return i = L && t === 0 ? 1 : L ? t + 2 : t, e ? /* @__PURE__ */ E(_e, {
222
222
  textAlign: "center",
223
223
  fontWeight: "500",
224
- fontFamily: te.Body,
225
- fontSize: n.Small,
224
+ fontFamily: n.Body,
225
+ fontSize: te.Small,
226
226
  gridColumn: i,
227
227
  borderRight: L && t === 0 ? `1px solid ${ee.OnSurfaceBorder}` : "",
228
228
  pb: r.Small,
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker-date-cell.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-date-cell.tsx"],"names":[],"mappings":"AAKA,KAAK,OAAO,GACT,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,cAAc,GACd,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,CAAC;AAElB,KAAK,qBAAqB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,IAAI,CAAC;IACV,gBAAgB,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,uLAgBhC,qBAAqB,gCAoGvB,CAAC"}
1
+ {"version":3,"file":"date-picker-date-cell.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-date-cell.tsx"],"names":[],"mappings":"AAKA,KAAK,OAAO,GACT,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,cAAc,GACd,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,CAAC;AAElB,KAAK,qBAAqB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,IAAI,CAAC;IACV,gBAAgB,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,uLAgBhC,qBAAqB,gCA+FvB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { require_compiler_runtime as ee } from "../../node_modules/react/compiler-runtime.js";
2
2
  import { ThemeRadiusToken as e } from "../../theme/theme-tokens.js";
3
- import { ThemeColorVariable as t, ThemeSpaceVariable as n } from "../../theme/theme-types.js";
3
+ import { ThemeColor as t, ThemeSpace as n } from "../../theme/theme-types.js";
4
4
  import te from "../../node_modules/date-fns/format.js";
5
5
  import r from "../../node_modules/date-fns/isToday.js";
6
6
  import { Fragment as ne, jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeFontSizeVariable as t, ThemeFontVariable as ee, ThemeSpaceVariable as n } from "../../theme/theme-types.js";
2
+ import { ThemeFont as t, ThemeFontSize as ee, ThemeSpace as n } from "../../theme/theme-types.js";
3
3
  import { BackIcon as te } from "../icon/icons/back-icon.js";
4
4
  import { ForwardIcon as ne } from "../icon/icons/forward-icon.js";
5
5
  import { Button as re } from "../button/button.js";
@@ -75,8 +75,8 @@ var _e = e(), m = (e) => {
75
75
  let q;
76
76
  m[45] === K ? q = m[46] : (q = /* @__PURE__ */ d(ge, {
77
77
  fontWeight: "500",
78
- fontFamily: ee.SubHeader,
79
- fontSize: t.Large,
78
+ fontFamily: t.SubHeader,
79
+ fontSize: ee.Large,
80
80
  children: K
81
81
  }), m[45] = K, m[46] = q);
82
82
  let J;
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeColorVariable as t, ThemeRadiusVariable as n, ThemeSpaceVariable as r } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t, ThemeRadius as n, ThemeSpace as r } from "../../theme/theme-types.js";
3
3
  import i from "../../node_modules/date-fns/getISOWeek.js";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  import { Button as o, useRecipe as s } from "@chakra-ui/react";
@@ -1 +1 @@
1
- {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../lib/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAgC,KAAK,cAAc,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7G,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GAAG,eAAe,CAAC;AAEvF;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EACvB,WAAmD,EACnD,WAA0B,EAC1B,GAAG,KAAK,EACR,EAAE,YAAY,+BAUd"}
1
+ {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../lib/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAgC,KAAK,cAAc,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7G,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GAAG,eAAe,CAAC;AAEvF;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EACvB,WAA2C,EAC3C,WAA0B,EAC1B,GAAG,KAAK,EACR,EAAE,YAAY,+BAUd"}
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeColorVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t } from "../../theme/theme-types.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { Separator as r } from "@chakra-ui/react";
5
5
  //#region lib/components/divider/divider.tsx
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeColorVariable as t, ThemeShadowVariable as n } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t, ThemeShadow as n } from "../../theme/theme-types.js";
3
3
  import { useInlineDrawerKeydown as r } from "./use-drawer-key-down.js";
4
4
  import { useRef as i } from "react";
5
5
  import { jsx as a } from "react/jsx-runtime";
@@ -1 +1 @@
1
- {"version":3,"file":"form-label.d.ts","sourceRoot":"","sources":["../../../lib/components/form-control/form-label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,oBAAoB,GAAG;IAC3B,yFAAyF;IACzF,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF,KAAK,yBAAyB,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AAE1E,MAAM,MAAM,cAAc,GAAG,yBAAyB,GAAG,eAAe,GAAG,oBAAoB,CAAC;AAEhG;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BASrE"}
1
+ {"version":3,"file":"form-label.d.ts","sourceRoot":"","sources":["../../../lib/components/form-control/form-label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,oBAAoB,GAAG;IAC3B,yFAAyF;IACzF,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF,KAAK,yBAAyB,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AAE1E,MAAM,MAAM,cAAc,GAAG,yBAAyB,GAAG,eAAe,GAAG,oBAAoB,CAAC;AAEhG;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BASrE"}
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeIconSizeVariable as t } from "../../theme/theme-types.js";
2
+ import { ThemeIconSize as t } from "../../theme/theme-types.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  import { Field as i } from "@chakra-ui/react";
5
5
  //#region lib/components/form-control/form-label.tsx
@@ -1 +1 @@
1
- {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../lib/components/heading/heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC7G,OAAO,EAA4B,KAAK,YAAY,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAErG,KAAK,gBAAgB,GAAG;IACvB,gDAAgD;IAChD,EAAE,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAG5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,KAAK,uBAAuB,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,uBAAuB,GAAG,gBAAgB,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACvB,KAAuC,EACvC,QAAuC,EACvC,UAAmB,EACnB,QAAQ,EACR,UAAqC,EACrC,SAAS,EACT,WAAW,EACX,GAAG,KAAK,EACR,EAAE,YAAY,+BAgBd"}
1
+ {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../lib/components/heading/heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACrF,OAAO,EAA4B,KAAK,YAAY,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAErG,KAAK,gBAAgB,GAAG;IACvB,gDAAgD;IAChD,EAAE,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAG5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,KAAK,uBAAuB,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,uBAAuB,GAAG,gBAAgB,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACvB,KAA+B,EAC/B,QAA+B,EAC/B,UAAmB,EACnB,QAAQ,EACR,UAA6B,EAC7B,SAAS,EACT,WAAW,EACX,GAAG,KAAK,EACR,EAAE,YAAY,+BAgBd"}