@caspeco/casper-ui-library 12.0.0 → 12.1.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 (142) hide show
  1. package/README.md +5 -5
  2. package/dist/components/accordion/accordion-item.js +1 -1
  3. package/dist/components/alert/alert.d.ts.map +1 -1
  4. package/dist/components/alert/alert.js +4 -4
  5. package/dist/components/alert/helper.d.ts +3 -3
  6. package/dist/components/alert/helper.d.ts.map +1 -1
  7. package/dist/components/alert/helper.js +1 -1
  8. package/dist/components/badge/badge.js +1 -1
  9. package/dist/components/badge/helper.d.ts +3 -3
  10. package/dist/components/badge/helper.d.ts.map +1 -1
  11. package/dist/components/badge/helper.js +1 -1
  12. package/dist/components/box/box.composition.d.ts.map +1 -1
  13. package/dist/components/breadcrumbs/breadcrumbs.js +4 -4
  14. package/dist/components/button/button.d.ts.map +1 -1
  15. package/dist/components/button/button.js +1 -1
  16. package/dist/components/checkbox/checkbox.js +1 -1
  17. package/dist/components/collapsible/collapsible.js +1 -1
  18. package/dist/components/combobox/combobox-button.js +1 -1
  19. package/dist/components/combobox/combobox-item.js +1 -1
  20. package/dist/components/combobox/combobox-menu.js +1 -1
  21. package/dist/components/combobox/combobox-recipe.js +1 -1
  22. package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
  23. package/dist/components/date-picker/base-date-picker.js +3 -3
  24. package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
  25. package/dist/components/date-picker/date-picker-date-cell.js +1 -1
  26. package/dist/components/date-picker/date-picker-header.js +3 -3
  27. package/dist/components/date-picker/date-picker-week-cell.js +1 -1
  28. package/dist/components/divider/divider.d.ts.map +1 -1
  29. package/dist/components/divider/divider.js +1 -1
  30. package/dist/components/drawer/inline-drawer.js +1 -1
  31. package/dist/components/form-control/form-label.d.ts.map +1 -1
  32. package/dist/components/form-control/form-label.js +1 -1
  33. package/dist/components/heading/heading.d.ts.map +1 -1
  34. package/dist/components/heading/heading.js +2 -2
  35. package/dist/components/highlight/highlight.js +1 -1
  36. package/dist/components/icon/create-icon.d.ts +2 -2
  37. package/dist/components/icon/create-icon.d.ts.map +1 -1
  38. package/dist/components/icon/create-icon.js +1 -1
  39. package/dist/components/icon/icon.composition.d.ts.map +1 -1
  40. package/dist/components/icon-button/icon-button.d.ts.map +1 -1
  41. package/dist/components/icon-button/icon-button.js +1 -1
  42. package/dist/components/image-upload/image-upload-dropzone.js +1 -1
  43. package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
  44. package/dist/components/image-upload/image-upload-modal.js +3 -3
  45. package/dist/components/image-upload/image-upload.js +1 -1
  46. package/dist/components/input/helper.js +1 -1
  47. package/dist/components/input/input-recipe.js +1 -1
  48. package/dist/components/input/input.js +1 -1
  49. package/dist/components/list/list.d.ts.map +1 -1
  50. package/dist/components/list/list.js +1 -1
  51. package/dist/components/menu/menu-divider.js +1 -1
  52. package/dist/components/menu/menu-group.d.ts.map +1 -1
  53. package/dist/components/menu/menu-group.js +1 -1
  54. package/dist/components/menu/menu-item.d.ts.map +1 -1
  55. package/dist/components/menu/menu-item.js +1 -1
  56. package/dist/components/menu/menu-recipe.d.ts.map +1 -1
  57. package/dist/components/menu/menu-recipe.js +1 -1
  58. package/dist/components/message/message.js +1 -1
  59. package/dist/components/modal/modal-close-button.js +1 -1
  60. package/dist/components/modal/modal.composition.d.ts.map +1 -1
  61. package/dist/components/navigation-list/navigation-list-item.js +3 -3
  62. package/dist/components/paginator/paginator-recipe.d.ts.map +1 -1
  63. package/dist/components/paginator/paginator-recipe.js +3 -3
  64. package/dist/components/phone-input/country-selector.d.ts.map +1 -1
  65. package/dist/components/phone-input/country-selector.js +1 -1
  66. package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
  67. package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
  68. package/dist/components/quantity-button/quantity-button.js +1 -1
  69. package/dist/components/radio/hover-styles.js +1 -1
  70. package/dist/components/radio/radio-group-recipe.js +1 -1
  71. package/dist/components/radio/radio.d.ts.map +1 -1
  72. package/dist/components/radio/radio.js +1 -1
  73. package/dist/components/radio-card/hover-styles.js +1 -1
  74. package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
  75. package/dist/components/radio-card/radio-card-group.js +1 -1
  76. package/dist/components/radio-card/radio-card.js +3 -3
  77. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
  78. package/dist/components/rich-text-editor/rich-text-editor-control.js +1 -1
  79. package/dist/components/rich-text-editor/rich-text-editor-recipe.d.ts.map +1 -1
  80. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +1 -1
  81. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  82. package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
  83. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  84. package/dist/components/segmented-control/segmented-control.js +1 -1
  85. package/dist/components/select/select-recipe.js +1 -1
  86. package/dist/components/select/select.js +1 -1
  87. package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
  88. package/dist/components/skeleton/skeleton-text.js +1 -1
  89. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  90. package/dist/components/skeleton/skeleton.js +1 -1
  91. package/dist/components/spinner/spinner.d.ts.map +1 -1
  92. package/dist/components/spinner/spinner.js +1 -1
  93. package/dist/components/stepper/step-context.d.ts +4 -4
  94. package/dist/components/stepper/step-context.d.ts.map +1 -1
  95. package/dist/components/stepper/step.d.ts.map +1 -1
  96. package/dist/components/stepper/step.js +3 -3
  97. package/dist/components/stepper/stepper.js +1 -1
  98. package/dist/components/stepper/types.d.ts +4 -4
  99. package/dist/components/stepper/types.d.ts.map +1 -1
  100. package/dist/components/switch/hover-styles.js +1 -1
  101. package/dist/components/table/table-cell.js +1 -1
  102. package/dist/components/table/table-column-resize-handle.js +1 -1
  103. package/dist/components/table/table-content.d.ts.map +1 -1
  104. package/dist/components/table/table-content.js +1 -1
  105. package/dist/components/table/table-filter.js +1 -1
  106. package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
  107. package/dist/components/table/table-header-dropdown.js +1 -1
  108. package/dist/components/table/table-header-row.js +3 -3
  109. package/dist/components/table/table-recipe.js +1 -1
  110. package/dist/components/table/table-row-drag-handle.js +1 -1
  111. package/dist/components/table/table-row-expand-toggle-button.js +1 -1
  112. package/dist/components/table/table-sorted-reorder-prompt.js +3 -3
  113. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  114. package/dist/components/table/table-toolbar-settings.js +1 -1
  115. package/dist/components/table/table-toolbar.d.ts.map +1 -1
  116. package/dist/components/table/table-toolbar.js +3 -3
  117. package/dist/components/tabs/tab-with-image.js +1 -1
  118. package/dist/components/tabs/tabs-recipe.js +1 -1
  119. package/dist/components/tabs/types.d.ts +2 -2
  120. package/dist/components/tabs/types.d.ts.map +1 -1
  121. package/dist/components/tag/tag-recipe.js +5 -5
  122. package/dist/components/text/text.d.ts.map +1 -1
  123. package/dist/components/text/text.js +2 -2
  124. package/dist/components/textarea/textarea-recipe.js +1 -1
  125. package/dist/components/toaster/toast-store.d.ts +2 -2
  126. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  127. package/dist/components/toaster/toaster.js +1 -1
  128. package/dist/components/toggle-button/use-button-children.js +1 -1
  129. package/dist/components/tooltip/tooltip.js +2 -2
  130. package/dist/index.js +402 -402
  131. package/dist/theme/theme-casper-ui.d.ts.map +1 -1
  132. package/dist/theme/theme-casper-ui.js +1 -1
  133. package/dist/theme/theme-style-props.d.ts +25 -25
  134. package/dist/theme/theme-style-props.d.ts.map +1 -1
  135. package/dist/theme/theme-types.d.ts +46 -10
  136. package/dist/theme/theme-types.d.ts.map +1 -1
  137. package/dist/theme/theme-types.js +2 -2
  138. package/dist/theme/theme-types.spec.d.ts +2 -0
  139. package/dist/theme/theme-types.spec.d.ts.map +1 -0
  140. package/dist/theme/theme.d.ts.map +1 -1
  141. package/dist/theme/theme.js +1 -1
  142. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { ThemeColorVariable as e, ThemeFontSizeVariable as t, ThemeFontVariable as n, ThemeIconSizeVariable as r, ThemeRadiusVariable as i, ThemeSpaceVariable as a } from "../../theme/theme-types.js";
1
+ import { ThemeColor as e, ThemeFont as t, ThemeFontSize as n, ThemeIconSize as r, ThemeRadius as i, ThemeSpace as a } from "../../theme/theme-types.js";
2
2
  import { defineSlotRecipe as o } from "@chakra-ui/react";
3
3
  import { tagAnatomy as s } from "@chakra-ui/react/anatomy";
4
4
  //#region lib/components/tag/tag-recipe.ts
@@ -161,7 +161,7 @@ var d = o({
161
161
  textWrap: "unset",
162
162
  mx: a.XSmall,
163
163
  letterSpacing: "0.0125em",
164
- font: n.Body
164
+ font: t.Body
165
165
  },
166
166
  closeTrigger: {
167
167
  opacity: "0.48",
@@ -182,7 +182,7 @@ var d = o({
182
182
  width: r.Small
183
183
  }
184
184
  },
185
- label: { fontSize: t.Small },
185
+ label: { fontSize: n.Small },
186
186
  closeTrigger: {
187
187
  boxSize: r.Small,
188
188
  "& svg": { boxSize: r.Small }
@@ -198,7 +198,7 @@ var d = o({
198
198
  width: r.Medium
199
199
  }
200
200
  },
201
- label: { fontSize: t.Medium },
201
+ label: { fontSize: n.Medium },
202
202
  closeTrigger: {
203
203
  boxSize: r.Medium,
204
204
  "& svg": { boxSize: r.Medium }
@@ -214,7 +214,7 @@ var d = o({
214
214
  width: r.Medium
215
215
  }
216
216
  },
217
- label: { fontSize: t.Medium },
217
+ label: { fontSize: n.Medium },
218
218
  closeTrigger: {
219
219
  boxSize: r.Medium,
220
220
  "& svg": { boxSize: r.Medium }
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../lib/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,KAAK,gBAAgB,GAAG;I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AAe,CAAC,WAAW,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CAC1C,CAAC;AAEF,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EACpB,EAAQ,EACR,UAA2B,EAC3B,QAA+B,EAC/B,UAAqB,EACrB,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAS,EACT,KAAK,EACL,MAAM,EACN,WAAW,EACX,GAAG,KAAK,EACR,EAAE,SAAS,+BAkBX"}
@@ -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 } from "../../theme/theme-types.js";
2
+ import { ThemeFont as t, ThemeFontSize as n } from "../../theme/theme-types.js";
3
3
  import { jsx as r } from "react/jsx-runtime";
4
4
  import { Text as i } from "@chakra-ui/react";
5
5
  //#region lib/components/text/text.tsx
@@ -7,7 +7,7 @@ var a = e();
7
7
  function o(e) {
8
8
  let o = (0, a.c)(26), s, c, l, u, d, f, p, m, h, g, _, v;
9
9
  o[0] === e ? (s = o[1], c = o[2], l = o[3], u = o[4], d = o[5], f = o[6], p = o[7], m = o[8], h = o[9], g = o[10], _ = o[11], v = o[12]) : ({as: h, fontFamily: g, fontSize: _, fontWeight: v, color: u, children: l, decoration: d, noOfLines: p, align: s, casing: c, isTruncated: f, ...m} = e, o[0] = e, o[1] = s, o[2] = c, o[3] = l, o[4] = u, o[5] = d, o[6] = f, o[7] = p, o[8] = m, o[9] = h, o[10] = g, o[11] = _, o[12] = v);
10
- let y = h === void 0 ? "p" : h, b = g === void 0 ? n.Body : g, x = _ === void 0 ? t.Medium : _, S = v === void 0 ? "normal" : v, C;
10
+ let y = h === void 0 ? "p" : h, b = g === void 0 ? t.Body : g, x = _ === void 0 ? n.Medium : _, S = v === void 0 ? "normal" : v, C;
11
11
  return o[13] !== s || o[14] !== y || o[15] !== c || o[16] !== l || o[17] !== u || o[18] !== d || o[19] !== b || o[20] !== x || o[21] !== S || o[22] !== f || o[23] !== p || o[24] !== m ? (C = /* @__PURE__ */ r(i, {
12
12
  as: y,
13
13
  fontFamily: b,
@@ -1,6 +1,6 @@
1
1
  import { isTouchScreenDevice as e } from "../../theme/theme-helper.js";
2
2
  import { ThemeBorderToken as t, ThemeColorToken as n, ThemeFontToken as r, ThemeRadiusToken as i, ThemeSpaceToken as a } from "../../theme/theme-tokens.js";
3
- import { ThemeColorVariable as o } from "../../theme/theme-types.js";
3
+ import { ThemeColor as o } from "../../theme/theme-types.js";
4
4
  import { defineRecipe as s } from "@chakra-ui/react";
5
5
  //#region lib/components/textarea/textarea-recipe.ts
6
6
  var c = {
@@ -1,5 +1,5 @@
1
1
  import { AlertType } from '../alert/index.js';
2
- import { ThemeSpaceVariable } from '../../theme/index.js';
2
+ import { ThemeSpace } from '../../theme/index.js';
3
3
  import { ConditionalValue, CreateToasterReturn } from '@chakra-ui/react';
4
4
  import { ReactNode } from 'react';
5
5
  export type ShowToastOptions = {
@@ -14,7 +14,7 @@ export type ShowToastOptions = {
14
14
  * Distance from the bottom of the screen to the toast.
15
15
  * Defaults to 48px on larger screens and 8px on smaller screens.
16
16
  */
17
- distanceToBottom?: ConditionalValue<ThemeSpaceVariable | (string & {})>;
17
+ distanceToBottom?: ConditionalValue<ThemeSpace | (string & {})>;
18
18
  /** Duration in milliseconds for which the toast is visible. Set to `null` for indefinite duration. */
19
19
  duration?: number | null;
20
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"toast-store.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toast-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,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D;IAC9D,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC;IAEhE,sGAAsG;IACtG,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,QAgBnG;AAGD,eAAO,MAAM,UAAU,EAAE,mBASvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
2
- import { ThemeShadowVariable as t, ThemeSpaceVariable as n } from "../../theme/theme-types.js";
2
+ import { ThemeShadow as t, ThemeSpace as n } from "../../theme/theme-types.js";
3
3
  import { Alert as r } from "../alert/alert.js";
4
4
  import { toastStore as i } from "./toast-store.js";
5
5
  import { jsx 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 } from "../../theme/theme-types.js";
2
+ import { ThemeFontSize as t } from "../../theme/theme-types.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  import { Flex as i, Text as a, useBreakpointValue as o } from "@chakra-ui/react";
5
5
  //#region lib/components/toggle-button/use-button-children.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, ThemeFontSizeVariable as n, ThemeFontVariable as r, ThemeRadiusVariable as i, ThemeSpaceVariable as a } from "../../theme/theme-types.js";
2
+ import { ThemeColor as t, ThemeFont as n, ThemeFontSize as r, ThemeRadius as i, ThemeSpace as a } from "../../theme/theme-types.js";
3
3
  import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
4
4
  import { Portal as l, Tooltip as u } from "@chakra-ui/react";
5
5
  //#region lib/components/tooltip/tooltip.tsx
@@ -7,7 +7,7 @@ var d = e();
7
7
  function f(e) {
8
8
  let f = (0, d.c)(25), p, m, h, g, _, v, y, b;
9
9
  f[0] === e ? (p = f[1], m = f[2], h = f[3], g = f[4], _ = f[5], v = f[6], y = f[7], b = f[8]) : ({children: p, label: h, placement: _, p: v, fontSize: y, fontFamily: b, disabled: m, ...g} = e, f[0] = e, f[1] = p, f[2] = m, f[3] = h, f[4] = g, f[5] = _, f[6] = v, f[7] = y, f[8] = b);
10
- let x = _ === void 0 ? "bottom" : _, S = v === void 0 ? a.Small : v, C = y === void 0 ? n.Small : y, w = b === void 0 ? r.Body : b;
10
+ let x = _ === void 0 ? "bottom" : _, S = v === void 0 ? a.Small : v, C = y === void 0 ? r.Small : y, w = b === void 0 ? n.Body : b;
11
11
  if (m) return p;
12
12
  let T;
13
13
  f[9] === x ? T = f[10] : (T = { placement: x }, f[9] = x, f[10] = T);