@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.
- package/README.md +5 -5
- package/dist/components/accordion/accordion-item.js +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/alert/helper.d.ts +3 -3
- package/dist/components/alert/helper.d.ts.map +1 -1
- package/dist/components/alert/helper.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/helper.d.ts +3 -3
- package/dist/components/badge/helper.d.ts.map +1 -1
- package/dist/components/badge/helper.js +1 -1
- package/dist/components/box/box.composition.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +4 -4
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/collapsible/collapsible.js +1 -1
- package/dist/components/combobox/combobox-button.js +1 -1
- package/dist/components/combobox/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-menu.js +1 -1
- package/dist/components/combobox/combobox-recipe.js +1 -1
- package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.js +3 -3
- package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-date-cell.js +1 -1
- package/dist/components/date-picker/date-picker-header.js +3 -3
- package/dist/components/date-picker/date-picker-week-cell.js +1 -1
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/drawer/inline-drawer.js +1 -1
- package/dist/components/form-control/form-label.d.ts.map +1 -1
- package/dist/components/form-control/form-label.js +1 -1
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/heading/heading.js +2 -2
- package/dist/components/highlight/highlight.js +1 -1
- package/dist/components/icon/create-icon.d.ts +2 -2
- package/dist/components/icon/create-icon.d.ts.map +1 -1
- package/dist/components/icon/create-icon.js +1 -1
- package/dist/components/icon/icon.composition.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +1 -1
- package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-modal.js +3 -3
- package/dist/components/image-upload/image-upload.js +1 -1
- package/dist/components/input/helper.js +1 -1
- package/dist/components/input/input-recipe.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +1 -1
- package/dist/components/menu/menu-divider.js +1 -1
- package/dist/components/menu/menu-group.d.ts.map +1 -1
- package/dist/components/menu/menu-group.js +1 -1
- package/dist/components/menu/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu-item.js +1 -1
- package/dist/components/menu/menu-recipe.d.ts.map +1 -1
- package/dist/components/menu/menu-recipe.js +1 -1
- package/dist/components/message/message.js +1 -1
- package/dist/components/modal/modal-close-button.js +1 -1
- package/dist/components/modal/modal.composition.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list-item.js +3 -3
- package/dist/components/paginator/paginator-recipe.d.ts.map +1 -1
- package/dist/components/paginator/paginator-recipe.js +3 -3
- package/dist/components/phone-input/country-selector.d.ts.map +1 -1
- package/dist/components/phone-input/country-selector.js +1 -1
- package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.js +1 -1
- package/dist/components/radio/hover-styles.js +1 -1
- package/dist/components/radio/radio-group-recipe.js +1 -1
- package/dist/components/radio/radio.d.ts.map +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-card/hover-styles.js +1 -1
- package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card-group.js +1 -1
- package/dist/components/radio-card/radio-card.js +3 -3
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-control.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-recipe.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +1 -1
- package/dist/components/select/select-recipe.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton-text.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/stepper/step-context.d.ts +4 -4
- package/dist/components/stepper/step-context.d.ts.map +1 -1
- package/dist/components/stepper/step.d.ts.map +1 -1
- package/dist/components/stepper/step.js +3 -3
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/types.d.ts +4 -4
- package/dist/components/stepper/types.d.ts.map +1 -1
- package/dist/components/switch/hover-styles.js +1 -1
- package/dist/components/table/table-cell.js +1 -1
- package/dist/components/table/table-column-resize-handle.js +1 -1
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +1 -1
- package/dist/components/table/table-filter.js +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +1 -1
- package/dist/components/table/table-header-row.js +3 -3
- package/dist/components/table/table-recipe.js +1 -1
- package/dist/components/table/table-row-drag-handle.js +1 -1
- package/dist/components/table/table-row-expand-toggle-button.js +1 -1
- package/dist/components/table/table-sorted-reorder-prompt.js +3 -3
- package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-settings.js +1 -1
- package/dist/components/table/table-toolbar.d.ts.map +1 -1
- package/dist/components/table/table-toolbar.js +3 -3
- package/dist/components/tabs/tab-with-image.js +1 -1
- package/dist/components/tabs/tabs-recipe.js +1 -1
- package/dist/components/tabs/types.d.ts +2 -2
- package/dist/components/tabs/types.d.ts.map +1 -1
- package/dist/components/tag/tag-recipe.js +5 -5
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.js +2 -2
- package/dist/components/textarea/textarea-recipe.js +1 -1
- package/dist/components/toaster/toast-store.d.ts +2 -2
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toaster.js +1 -1
- package/dist/components/toggle-button/use-button-children.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/index.js +402 -402
- package/dist/theme/theme-casper-ui.d.ts.map +1 -1
- package/dist/theme/theme-casper-ui.js +1 -1
- package/dist/theme/theme-style-props.d.ts +25 -25
- package/dist/theme/theme-style-props.d.ts.map +1 -1
- package/dist/theme/theme-types.d.ts +46 -10
- package/dist/theme/theme-types.d.ts.map +1 -1
- package/dist/theme/theme-types.js +2 -2
- package/dist/theme/theme-types.spec.d.ts +2 -0
- package/dist/theme/theme-types.spec.d.ts.map +1 -0
- package/dist/theme/theme.d.ts.map +1 -1
- package/dist/theme/theme.js +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeFont as n, ThemeFontSize as r, ThemeSpace as i } from "../../theme/theme-types.js";
|
|
3
3
|
import { jsx as a } from "react/jsx-runtime";
|
|
4
4
|
import { Button as o, Link as s } from "@chakra-ui/react";
|
|
5
5
|
//#region lib/components/navigation-list/navigation-list-item.tsx
|
|
6
6
|
var c = e(), l = {
|
|
7
|
-
fontFamily:
|
|
8
|
-
fontSize:
|
|
7
|
+
fontFamily: n.Body,
|
|
8
|
+
fontSize: r.Medium,
|
|
9
9
|
color: t.OnSurface,
|
|
10
10
|
py: i.Small,
|
|
11
11
|
px: i.Medium,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginator-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/paginator/paginator-recipe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paginator-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/paginator/paginator-recipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAsCxE,eAAO,MAAM,eAAe;;;;;EAQ1B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,OAAO,eAAe,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColor as e, ThemeFont as t, ThemeFontSize as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
2
2
|
import { defineRecipe as i } from "@chakra-ui/react";
|
|
3
3
|
//#region lib/components/paginator/paginator-recipe.ts
|
|
4
4
|
var a = {
|
|
5
|
-
fontFamily:
|
|
5
|
+
fontFamily: t.Body,
|
|
6
6
|
color: e.OnBackground,
|
|
7
7
|
fontVariant: "tabular-nums",
|
|
8
8
|
display: "flex",
|
|
@@ -10,7 +10,7 @@ var a = {
|
|
|
10
10
|
gap: r.Medium,
|
|
11
11
|
"& .paginator-buttons-container": {
|
|
12
12
|
display: "inline-flex",
|
|
13
|
-
"& button": { fontSize:
|
|
13
|
+
"& button": { fontSize: n.Large }
|
|
14
14
|
}
|
|
15
15
|
}, o = {
|
|
16
16
|
width: "100%",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-selector.d.ts","sourceRoot":"","sources":["../../../lib/components/phone-input/country-selector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAWvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAA0B,MAAM,OAAO,CAAC;AA+B/C,MAAM,WAAW,oBAAoB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAEzC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,iDAAiD;IACjD,aAAa,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAkB,EAClB,IAAW,EACX,aAAa,EACb,UAAkB,GAClB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"country-selector.d.ts","sourceRoot":"","sources":["../../../lib/components/phone-input/country-selector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAWvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAA0B,MAAM,OAAO,CAAC;AA+B/C,MAAM,WAAW,oBAAoB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAEzC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,iDAAiD;IACjD,aAAa,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAkB,EAClB,IAAW,EACX,aAAa,EACb,UAAkB,GAClB,EAAE,oBAAoB,qBA+GtB"}
|
|
@@ -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 {
|
|
3
|
+
import { ThemeColor as n, ThemeFontSize as r, ThemeSpace as i } from "../../theme/theme-types.js";
|
|
4
4
|
import { ModuleWebIcon as ee } from "../icon/icons/module-web-icon.js";
|
|
5
5
|
import { SearchIcon as a } from "../icon/icons/search-icon.js";
|
|
6
6
|
import { SelectIcon as o } from "../icon/icons/select-icon.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quantity-button.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/quantity-button/quantity-button.composition.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"quantity-button.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/quantity-button/quantity-button.composition.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,mCAKrB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAKrB,CAAC;AAEF,eAAO,MAAM,cAAc,mCAmC1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quantity-button.d.ts","sourceRoot":"","sources":["../../../lib/components/quantity-button/quantity-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"quantity-button.d.ts","sourceRoot":"","sources":["../../../lib/components/quantity-button/quantity-button.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAKnD,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,YAAY,EACZ,aAAa,EACb,GAAO,EACP,GAAQ,EACR,IAAQ,EACR,IAAmB,EACnB,oBAAiC,EACjC,mBAAgC,EAChC,QAAgB,EAChB,QAAgB,EAChB,OAAe,EACf,EAAE,EACF,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACR,EAAE,mBAAmB,+BA0GrB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
2
|
import { ThemeBreakPointToken as t } from "../../theme/theme-tokens.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeBorder as n, ThemeColor as r, ThemeFont as ee, ThemeFontSize as i, ThemeRadius as te } from "../../theme/theme-types.js";
|
|
4
4
|
import { DecreaseIcon as ne } from "../icon/icons/decrease-icon.js";
|
|
5
5
|
import { IncreaseIcon as re } from "../icon/icons/increase-icon.js";
|
|
6
6
|
import { IconButton as a } from "../icon-button/icon-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColor as e } from "../../theme/theme-types.js";
|
|
2
2
|
import "@chakra-ui/react";
|
|
3
3
|
//#region lib/components/radio/hover-styles.ts
|
|
4
4
|
var t = "& label[data-state=\"checked\"]:not(:active):not([data-disabled]):hover", n = "& label[data-state=\"unchecked\"]:not(:active):not([data-disabled]):not([data-invalid]):hover", r = "& label[data-invalid][data-state=\"unchecked\"]:hover", i = { "@media(hover: hover)": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeColorToken as e, ThemeFontSizeToken as t, ThemeFontToken as n, ThemeRadiusToken as r, ThemeSpaceToken as i } from "../../theme/theme-tokens.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as a } from "../../theme/theme-types.js";
|
|
3
3
|
import { defineSlotRecipe as o } from "@chakra-ui/react";
|
|
4
4
|
import { radioGroupAnatomy as s } from "@chakra-ui/react/anatomy";
|
|
5
5
|
//#region lib/components/radio/radio-group-recipe.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAQ,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,GAAG,OAAO,GAAG,UAAU,CAAC,GACjG,eAAe,GAAG;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,KAAK;iBAXH,OAAO;gBACR,OAAO;SACd,MAAM;WACJ,MAAM;0CA6Db,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeIconSize as n } from "../../theme/theme-types.js";
|
|
3
3
|
import { CheckIcon as r } from "./check-icon.js";
|
|
4
4
|
import { hoverStyles as i } from "./hover-styles.js";
|
|
5
5
|
import { useRadioGroupVariant as a } from "./radio-group-context.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColor as e } from "../../theme/theme-types.js";
|
|
2
2
|
import "@chakra-ui/react";
|
|
3
3
|
//#region lib/components/radio-card/hover-styles.ts
|
|
4
4
|
var t = "& label[data-state=\"checked\"]:not(:active):not([data-disabled]):hover", n = "& label[data-state=\"unchecked\"]:not(:active):not([data-disabled]):not([data-invalid]):hover", r = "& label[data-invalid][data-state=\"unchecked\"]:hover", i = { "@media(hover: hover)": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-card-group.d.ts","sourceRoot":"","sources":["../../../lib/components/radio-card/radio-card-group.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"radio-card-group.d.ts","sourceRoot":"","sources":["../../../lib/components/radio-card/radio-card-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,KAAK,yBAAyB,GAAG,IAAI,CACpC,eAAe,CAAC,SAAS,EACzB,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,eAAe,CAChE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,GAC1D,eAAe,GAAG;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC9B,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,OAAgB,EAChB,aAAwB,EACxB,GAAuB,EACvB,GAAG,KAAK,EACR,EAAE,mBAAmB,+BAgBrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeSpace as t } from "../../theme/theme-types.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { RadioCard as r } from "@chakra-ui/react";
|
|
5
5
|
//#region lib/components/radio-card/radio-card-group.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeBorder as t, ThemeColor as n, ThemeFont as r, ThemeFontSize as i, ThemeRadius as a, ThemeSpace as o } from "../../theme/theme-types.js";
|
|
3
3
|
import { hoverStylesCard as s } from "./hover-styles.js";
|
|
4
4
|
import c from "react";
|
|
5
5
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -48,8 +48,8 @@ var p = e(), m = c.forwardRef((e, c) => {
|
|
|
48
48
|
m[21] !== E || m[22] !== T || m[23] !== h ? (N = /* @__PURE__ */ l(f.ItemControl, {
|
|
49
49
|
className: "radio-card__item-control",
|
|
50
50
|
whiteSpace: "nowrap",
|
|
51
|
-
fontFamily:
|
|
52
|
-
fontSize:
|
|
51
|
+
fontFamily: r.Body,
|
|
52
|
+
fontSize: i.Medium,
|
|
53
53
|
bg: n.Surface,
|
|
54
54
|
borderRadius: a.Small,
|
|
55
55
|
px: o.Medium,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-editor-control.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/rich-text-editor-control.tsx"],"names":[],"mappings":"AAyBA,wBAAgB,IAAI,gCAGnB;AAQD,wBAAgB,MAAM,gCAGrB;AAQD,wBAAgB,SAAS,gCAGxB;AAQD,wBAAgB,UAAU,gCAGzB;AAQD,wBAAgB,WAAW,gCAG1B;AAUD,wBAAgB,QAAQ,gCAGvB;AAQD,wBAAgB,QAAQ,gCAGvB;AAQD,wBAAgB,QAAQ,gCAGvB;AAQD,wBAAgB,QAAQ,gCAGvB;AAwBD,wBAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"rich-text-editor-control.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/rich-text-editor-control.tsx"],"names":[],"mappings":"AAyBA,wBAAgB,IAAI,gCAGnB;AAQD,wBAAgB,MAAM,gCAGrB;AAQD,wBAAgB,SAAS,gCAGxB;AAQD,wBAAgB,UAAU,gCAGzB;AAQD,wBAAgB,WAAW,gCAG1B;AAUD,wBAAgB,QAAQ,gCAGvB;AAQD,wBAAgB,QAAQ,gCAGvB;AAQD,wBAAgB,QAAQ,gCAGvB;AAQD,wBAAgB,QAAQ,gCAGvB;AAwBD,wBAAgB,WAAW,uCAyG1B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeFontSize as t, ThemeIconSize as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { LinkIcon as i } from "../icon/icons/link-icon.js";
|
|
4
4
|
import { ListOLIcon as a } from "../icon/icons/list-ol-icon.js";
|
|
5
5
|
import { ListULIcon as o } from "../icon/icons/list-ul-icon.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-editor-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/rich-text-editor-recipe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rich-text-editor-recipe.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/rich-text-editor-recipe.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,8CAuBlC,CAAC;AAEH,eAAO,MAAM,UAAU,8CAKrB,CAAC;AAEH,eAAO,MAAM,qBAAqB,8CAwBhC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeBorder as e, ThemeColor as t, ThemeFontSize as n, ThemeRadius as r, ThemeSpace as i } from "../../theme/theme-types.js";
|
|
2
2
|
import { defineStyle as a } from "@chakra-ui/react";
|
|
3
3
|
//#region lib/components/rich-text-editor/rich-text-editor-recipe.ts
|
|
4
4
|
var o = a({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-editor.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/rich-text-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"rich-text-editor.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/rich-text-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAEvE,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEnF,wBAAgB,kBAAkB,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,GAAG,IAAI,EACP,EAAE,uBAAuB,GAAG,eAAe,+BAc3C;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,0BAA0B,+BAoBtF;AAED,wBAAgB,qBAAqB,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,sCAIpF;AAED,wBAAgB,0BAA0B,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAMxF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeSpace as n } from "../../theme/theme-types.js";
|
|
3
3
|
import { EditorContent as r } from "../../packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js";
|
|
4
4
|
import { RichTextEditorContext as i, useRichTextEditorContext as a } from "./rich-text-editor-context.js";
|
|
5
5
|
import { proseMirrorContainerCss as o, proseMirrorContentCss as s, toolbarCss as c } from "./rich-text-editor-recipe.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../lib/components/segmented-control/segmented-control.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAwB,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAChC,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,IAAW,EACX,GAAG,KAAK,EACR,EAAE,qBAAqB,+
|
|
1
|
+
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../lib/components/segmented-control/segmented-control.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAwB,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAChC,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,IAAW,EACX,GAAG,KAAK,EACR,EAAE,qBAAqB,+BA2BvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeRadius as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { SegmentedControlButton as i } from "./segmented-control-item.js";
|
|
4
4
|
import { jsx as a } from "react/jsx-runtime";
|
|
5
5
|
import { Box as o, ButtonGroup as s } from "@chakra-ui/react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeColorToken as e, ThemeFontSizeToken as t, ThemeSpaceToken as n } from "../../theme/theme-tokens.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeIconSize as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { inputRecipe as i } from "../input/input-recipe.js";
|
|
4
4
|
import { defineSlotRecipe as a } from "@chakra-ui/react";
|
|
5
5
|
import { nativeSelectAnatomy as o } from "@chakra-ui/react/anatomy";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeIconSize as t } from "../../theme/theme-types.js";
|
|
3
3
|
import { TreeViewCollapseIcon as n } from "../icon/icons/tree-view-collapse-icon.js";
|
|
4
4
|
import { forwardRef as r } from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton-text.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton-text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,EAC5B,
|
|
1
|
+
{"version":3,"file":"skeleton-text.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton-text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,EAC5B,eAA+C,EAC/C,OAAiB,EACjB,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,iBAAiB,+BAKnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t } from "../../theme/theme-types.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { SkeletonText as r } from "@chakra-ui/react";
|
|
5
5
|
//#region lib/components/skeleton/skeleton-text.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACxB,
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACxB,eAA+C,EAC/C,OAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,aAAa,+BASf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t } from "../../theme/theme-types.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { Skeleton as r } from "@chakra-ui/react";
|
|
5
5
|
//#region lib/components/skeleton/skeleton.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,SAAS,CAAC;AAazD,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,SAAS,CAAC;AAazD,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,KAA0B,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,+BAgC1F"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeIconSize as n } from "../../theme/theme-types.js";
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import { chakra as a } from "@chakra-ui/react";
|
|
5
5
|
//#region lib/components/spinner/spinner.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColor } from '../../theme/index.js';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { StepIcon } from './types.js';
|
|
4
4
|
export type StepContextValues = {
|
|
@@ -13,11 +13,11 @@ export type StepContextValues = {
|
|
|
13
13
|
/** Step icon */
|
|
14
14
|
icon?: StepIcon;
|
|
15
15
|
/** Step circle color */
|
|
16
|
-
color:
|
|
16
|
+
color: ThemeColor;
|
|
17
17
|
/** Step icon color */
|
|
18
|
-
iconColor:
|
|
18
|
+
iconColor: ThemeColor;
|
|
19
19
|
/** Step divider color */
|
|
20
|
-
dividerColor:
|
|
20
|
+
dividerColor: ThemeColor;
|
|
21
21
|
};
|
|
22
22
|
export declare const StepContext: import('react').Context<StepContextValues>;
|
|
23
23
|
//# sourceMappingURL=step-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-context.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"step-context.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,gDAAgD;IAChD,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC;IACvC,+CAA+C;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,0BAA0B;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,KAAK,EAAE,SAAS,CAAC;IACjB,gBAAgB;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,wBAAwB;IACxB,KAAK,EAAE,UAAU,CAAC;IAClB,sBAAsB;IACtB,SAAS,EAAE,UAAU,CAAC;IACtB,yBAAyB;IACzB,YAAY,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,4CAA4D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step.tsx"],"names":[],"mappings":"AAuFA;;GAEG;AACH,wBAAgB,IAAI,gCA2BnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeFont as n, ThemeFontSize as r, ThemeIconSize as i, ThemeRadius as a, ThemeSpace as o } from "../../theme/theme-types.js";
|
|
3
3
|
import { StepContext as s } from "./step-context.js";
|
|
4
4
|
import { CheckIcon as c } from "./check-icon.js";
|
|
5
5
|
import { TimesIcon as l } from "./times-icon.js";
|
|
@@ -94,8 +94,8 @@ function C() {
|
|
|
94
94
|
let b = h, C;
|
|
95
95
|
e[4] !== o || e[5] !== b ? (C = typeof o == "string" ? /* @__PURE__ */ d(g, {
|
|
96
96
|
mt: b,
|
|
97
|
-
fontFamily:
|
|
98
|
-
fontSize:
|
|
97
|
+
fontFamily: n.SubHeader,
|
|
98
|
+
fontSize: r.Medium,
|
|
99
99
|
color: t.OnBackgroundHeader,
|
|
100
100
|
fontWeight: "medium",
|
|
101
101
|
children: o
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeSpace as n } from "../../theme/theme-types.js";
|
|
3
3
|
import { StepContext as r } from "./step-context.js";
|
|
4
4
|
import { Step as i } from "./step.js";
|
|
5
5
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomChakraBoxProps, LayoutProps, MarginProps, PaddingProps,
|
|
1
|
+
import { CustomChakraBoxProps, LayoutProps, MarginProps, PaddingProps, ThemeColor } from '../../theme/index.js';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
export type StepIcon = "times" | "check" | "spinner";
|
|
4
4
|
export type StepCircleSize = "13px" | "24px" | "32px";
|
|
@@ -6,11 +6,11 @@ export type TStep = {
|
|
|
6
6
|
/** Label to be displayed next to step. Can be both a string and an element */
|
|
7
7
|
label: ReactNode;
|
|
8
8
|
/** The color of the step. */
|
|
9
|
-
color?:
|
|
9
|
+
color?: ThemeColor;
|
|
10
10
|
/** Color of any icon displayed for step. */
|
|
11
|
-
iconColor?:
|
|
11
|
+
iconColor?: ThemeColor;
|
|
12
12
|
/** The color of the divider, defaults to 'color' if nothing is added. */
|
|
13
|
-
dividerColor?:
|
|
13
|
+
dividerColor?: ThemeColor;
|
|
14
14
|
/** The icon that will be displayed in the step. */
|
|
15
15
|
icon?: StepIcon;
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,UAAU,EACV,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AACrD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,MAAM,MAAM,KAAK,GAAG;IACnB,8EAA8E;IAC9E,KAAK,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,yEAAyE;IACzE,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,mDAAmD;IACnD,IAAI,CAAC,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IAC1B,4CAA4C;IAC5C,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACxC,GAAG,oBAAoB,GACvB,WAAW,GACX,YAAY,GACZ,WAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColor as e } from "../../theme/theme-types.js";
|
|
2
2
|
//#region lib/components/switch/hover-styles.ts
|
|
3
3
|
var t = "& label:not([data-state='checked']):not([data-disabled]):hover", n = "& label[data-state='checked']:not([data-disabled]):hover", r = "& label[data-disabled]:not([data-state='checked']):hover", i = "& label[data-disabled][data-state='checked']:hover", a = { "@media(hover: hover)": {
|
|
4
4
|
[t]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e, ThemeSpace as t } from "../../theme/theme-types.js";
|
|
3
3
|
import { MoreVerticalIcon as n } from "../icon/icons/more-vertical-icon.js";
|
|
4
4
|
import { Menu as r } from "../menu/menu.js";
|
|
5
5
|
import { MenuIconButton as i } from "../menu/menu-icon-button.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e } from "../../theme/theme-types.js";
|
|
3
3
|
import { useComponentTranslations as t } from "../../theme/translations.js";
|
|
4
4
|
import { getClampedColumnWidth as n, getColumnLabel as r, getColumnSizeCssVarName as i } from "./helper.js";
|
|
5
5
|
import { useTableColumnSizeVars as a, useTableContext as o } from "./table-context.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-content.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-content.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"table-content.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-content.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAY3D,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAInE,UAAU,qBAAqB;IAC9B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS;IACrE;;OAEG;IACH,UAAU,CAAC,EAAE,CACZ,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,EACxB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,KACnF,IAAI,CAAC;IAEV;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,qBAAqB,CAAC;IACvC;;OAEG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACzD;AAED,KAAK,sBAAsB,CAAC,KAAK,SAAS,SAAS,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC;AAElG,QAAA,MAAM,iBAAiB,GAAI,KAAK,SAAS,SAAS,EAAE,8BAGjD,sBAAsB,CAAC,KAAK,CAAC,gCAM/B,CAAC;AAkVF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAA8B,OAAO,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e } from "../../theme/theme-types.js";
|
|
3
3
|
import { useComponentTranslations as t } from "../../theme/translations.js";
|
|
4
4
|
import { useVirtualizer as n } from "../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
|
|
5
5
|
import "./table.constants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeSpace as e } from "../../theme/theme-types.js";
|
|
3
3
|
import { AddIcon as t } from "../icon/icons/add-icon.js";
|
|
4
4
|
import { Text as n } from "../text/text.js";
|
|
5
5
|
import { Box as r } from "../box/box.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-header-dropdown.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-header-dropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-header-dropdown.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-header-dropdown.tsx"],"names":[],"mappings":"AAWA,OAAO,EAGN,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAQ,KAAK,GAAG,EAAwB,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAInD,KAAK,wBAAwB,CAAC,KAAK,SAAS,SAAS,IAAI;IACxD,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;IACzC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9C,uBAAuB,CAAC,EAAE,CAAC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAClF,uBAAuB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,KAAK,IAAI,CAAC;IACxF,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;IAC5C,OAAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACjC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACzD,CAAC;AAEF,QAAA,MAAM,4BAA4B,GAAI,KAAK,SAAS,SAAS,EAAE,kDAI5D,wBAAwB,CAAC,KAAK,CAAC,gCAkDjC,CAAC;AAkHF,eAAO,MAAM,mBAAmB,EAAyC,OAAO,4BAA4B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e, ThemeFontSize as t, ThemeIconSize as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { CloseIcon as i } from "../icon/icons/close-icon.js";
|
|
4
4
|
import { FilterIcon as a } from "../icon/icons/filter-icon.js";
|
|
5
5
|
import { HideIcon as o } from "../icon/icons/hide-icon.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e, ThemeFont as t, ThemeFontSize as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { DeleteIcon as i } from "../icon/icons/delete-icon.js";
|
|
4
4
|
import { TreeViewCollapseIcon as a } from "../icon/icons/tree-view-collapse-icon.js";
|
|
5
5
|
import { Menu as o } from "../menu/menu.js";
|
|
@@ -149,8 +149,8 @@ var R = ({ headerGroup: t, hideTableHeaderDropdown: n, portalContainerRef: r })
|
|
|
149
149
|
/* @__PURE__ */ j(N, {
|
|
150
150
|
pl: r.Small,
|
|
151
151
|
color: e.OnBackground,
|
|
152
|
-
fontFamily:
|
|
153
|
-
fontSize:
|
|
152
|
+
fontFamily: t.Body,
|
|
153
|
+
fontSize: n.Medium,
|
|
154
154
|
whiteSpace: "nowrap",
|
|
155
155
|
css: { fontVariantNumeric: "normal" },
|
|
156
156
|
children: v
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeFontSizeToken as e } from "../../theme/theme-tokens.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as t, ThemeFont as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { defineSlotRecipe as i, defineStyle as a } from "@chakra-ui/react";
|
|
4
4
|
//#region lib/components/table/table-recipe.ts
|
|
5
5
|
var o = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e, ThemeIconSize as t } from "../../theme/theme-types.js";
|
|
3
3
|
import { GripMoreIcon as n } from "../icon/icons/grip-more-icon.js";
|
|
4
4
|
import { useComponentTranslations as r } from "../../theme/translations.js";
|
|
5
5
|
import { useTableContext as i } from "./table-context.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeSpace as e } from "../../theme/theme-types.js";
|
|
3
3
|
import { TreeViewCollapseIcon as t } from "../icon/icons/tree-view-collapse-icon.js";
|
|
4
4
|
import { TreeViewExpandIcon as n } from "../icon/icons/tree-view-expand-icon.js";
|
|
5
5
|
import { IconButton as r } 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 {
|
|
2
|
+
import { ThemeColor as t, ThemeFont as n, ThemeFontSize as r, ThemeSpace as i } from "../../theme/theme-types.js";
|
|
3
3
|
import { Text as a } from "../text/text.js";
|
|
4
4
|
import { Button as o } from "../button/button.js";
|
|
5
5
|
import { Flex as s } from "../flex/flex.js";
|
|
@@ -17,9 +17,9 @@ var g = e(), _ = (e) => {
|
|
|
17
17
|
p: i.Medium,
|
|
18
18
|
children: /* @__PURE__ */ m(a, {
|
|
19
19
|
color: t.OnSurfaceHeader,
|
|
20
|
-
fontFamily:
|
|
20
|
+
fontFamily: n.SubHeader,
|
|
21
21
|
fontWeight: "medium",
|
|
22
|
-
fontSize:
|
|
22
|
+
fontSize: r.XLarge,
|
|
23
23
|
children: x.reorderSortedTitle
|
|
24
24
|
})
|
|
25
25
|
}), _[0] = x.reorderSortedTitle, _[1] = S);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar-settings.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-settings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-toolbar-settings.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-settings.tsx"],"names":[],"mappings":"AA0BA,KAAK,yBAAyB,GAAG;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD,CAAC;AAkOF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,uEA7MkC,yBAAyB,iCA6MzB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use no memo";
|
|
2
2
|
import { useLocale as e } from "../../theme/theme-locale.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor as t, ThemeIconSize as n, ThemeShadow as r, ThemeSpace as i } from "../../theme/theme-types.js";
|
|
4
4
|
import { GripMoreIcon as a } from "../icon/icons/grip-more-icon.js";
|
|
5
5
|
import { SlidersIcon as o } from "../icon/icons/sliders-icon.js";
|
|
6
6
|
import { Text as s } from "../text/text.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"table-toolbar.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAoD,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAEjG,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOnF,MAAM,MAAM,iBAAiB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,+BAA+B,iBAAiB,GAAG,eAAe,gCAqF5F,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAA8B,OAAO,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use no memo";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as e, ThemeFont as t, ThemeFontSize as n, ThemeSpace as r } from "../../theme/theme-types.js";
|
|
3
3
|
import { Text as i } from "../text/text.js";
|
|
4
4
|
import { useTableContext as a } from "./table-context.js";
|
|
5
5
|
import { TableToolbarActions as o } from "./table-toolbar-actions.js";
|
|
@@ -23,10 +23,10 @@ var v = d(({ title: d, children: v, ...y }) => {
|
|
|
23
23
|
addButton: r
|
|
24
24
|
};
|
|
25
25
|
}, [v]), w = f(() => d ? /* @__PURE__ */ p(i, {
|
|
26
|
-
fontSize:
|
|
26
|
+
fontSize: n.X2Large,
|
|
27
27
|
color: e.OnBackgroundHeader,
|
|
28
28
|
fontWeight: "bold",
|
|
29
|
-
fontFamily:
|
|
29
|
+
fontFamily: t.Header,
|
|
30
30
|
children: d
|
|
31
31
|
}) : null, [d]), T = f(() => /* @__PURE__ */ p(g, {
|
|
32
32
|
direction: "column",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { require_compiler_runtime as e } from "../../node_modules/react/compiler-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeRadius as t, ThemeSpace as n } from "../../theme/theme-types.js";
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import { AspectRatio as a, Box as o, Flex as s, Image as c, VisuallyHidden as l, useMediaQuery as u, useSlotRecipe as d, useTabsContext as f } from "@chakra-ui/react";
|
|
5
5
|
//#region lib/components/tabs/tab-with-image.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeBorderToken as e, ThemeColorToken as t, ThemeFontSizeToken as n, ThemeFontToken as r, ThemeRadiusToken as i } from "../../theme/theme-tokens.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeColor as a, ThemeSpace as o } from "../../theme/theme-types.js";
|
|
3
3
|
import { defineSlotRecipe as s } from "@chakra-ui/react";
|
|
4
4
|
import { tabsAnatomy as c } from "@chakra-ui/react/anatomy";
|
|
5
5
|
//#region lib/components/tabs/tabs-recipe.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColor, ThemeStyleProps } from '../../theme/index.js';
|
|
2
2
|
import { BoxProps, Tabs as ChakraTabs } from '@chakra-ui/react';
|
|
3
3
|
export type TabListProps = Pick<ChakraTabs.ListProps, "children"> & ThemeStyleProps;
|
|
4
4
|
export type TabPanelsProps = Pick<BoxProps, "children"> & ThemeStyleProps;
|
|
@@ -15,7 +15,7 @@ type CustomTabProps = {
|
|
|
15
15
|
imgAlt?: string | undefined;
|
|
16
16
|
/** Color to use for an image fallback.
|
|
17
17
|
* Is set as background color for a placeholder box seen until image is loaded. */
|
|
18
|
-
imgFallbackColor?:
|
|
18
|
+
imgFallbackColor?: ThemeColor | undefined;
|
|
19
19
|
};
|
|
20
20
|
type ConditionalTabProps = {
|
|
21
21
|
imgSrc: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErE,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAEpF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAE1E,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,eAAe,CAAC;AAElG,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,UAAU,GAAG,cAAc,GAAG,eAAe,GAAG,OAAO,CAAC,GAC1G,eAAe,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAG7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEH,KAAK,cAAc,GAAG;IACrB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;sFACkF;IAClF,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,KAAK,mBAAmB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,MAAM,CAAC,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAE3G,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,GAAG,OAAO,CAAC,GACzE,eAAe,GACf,cAAc,GACd,mBAAmB,GAAG;IAErB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|