@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.
- package/README.md +5 -5
- package/dist/_virtual/builtin_esm-external-require-react.js +1 -1
- 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/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/combobox.js +88 -93
- 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-cropper.js +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +3 -7
- 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 -2
- 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 +3 -7
- 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/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +1 -1
- 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/node_modules/@dnd-kit/abstract/index.js +1 -1
- package/dist/node_modules/@dnd-kit/dom/index.js +11 -16
- package/dist/node_modules/@dnd-kit/dom/sortable.js +4 -4
- package/dist/node_modules/@dnd-kit/dom/utilities.js +2 -6
- package/dist/node_modules/@dnd-kit/react/hooks.js +2 -5
- package/dist/node_modules/@dnd-kit/react/sortable.js +4 -4
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +16 -30
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +9 -18
- package/dist/node_modules/@tiptap/core/dist/index.js +838 -790
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +14 -3
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +114 -97
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +133 -120
- package/dist/node_modules/@tiptap/extensions/dist/index.js +33 -33
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +1 -2
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +1 -1
- package/dist/node_modules/date-fns/getISOWeek.js +1 -1
- package/dist/node_modules/date-fns/getWeek.js +1 -1
- package/dist/node_modules/libphonenumber-js/es6-modern/metadata.js +1 -1
- package/dist/node_modules/prosemirror-commands/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +2 -6
- package/dist/node_modules/prosemirror-history/dist/index.js +27 -22
- package/dist/node_modules/prosemirror-model/dist/index.js +32 -35
- package/dist/node_modules/prosemirror-view/dist/index.js +10 -11
- package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +74 -57
- 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 +13 -13
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,KAAK,SAAS,SAAS,EAAE,EAC9C,OAAO,EACP,IAAI,EACJ,cAAc,EACd,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,KAAK,SAAS,SAAS,EAAE,EAC9C,OAAO,EACP,IAAI,EACJ,cAAc,EACd,aAAa,EACb,oBAAoB,EACpB,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,QAAQ,EACR,aAAa,EACb,EAAE,EACF,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,GACR,EAAE,UAAU,CAAC,KAAK,CAAC,+BAuCnB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { TableProvider as e } from "./table-context-provider.js";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
//#region lib/components/table/table.tsx
|
|
5
|
-
function n({ columns: n, data: r, totalDataCount: i, expandedState: a, initialExpandedState: o
|
|
5
|
+
function n({ columns: n, data: r, totalDataCount: i, expandedState: a, initialExpandedState: o, initialBreakingContentState: s, initialColumnVisibilityState: c, columnVisibilityState: l, onColumnVisibilityChange: u, onExpandedChange: d, onBreakingContentChange: f, getRowId: p, getRowActions: m, id: h, customRowIndication: g, onSortingChange: _, initialSortingState: v, sortingState: y, onSelectionChange: b, initialSelectionState: x, selectionState: S, selectionActions: C, disableSelectionCheckbox: w, enableColumnReorder: T, columnOrderState: E, initialColumnOrder: D, onColumnOrderChange: O, enableColumnResizing: k, initialColumnSizingState: A, onColumnSizingChange: j, enableRowReorder: M, onRowOrderChange: N, children: P }) {
|
|
6
6
|
return /* @__PURE__ */ t(e, {
|
|
7
7
|
columns: n,
|
|
8
8
|
data: r,
|
|
@@ -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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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,
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../lib/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACzE,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,KAAK,gBAAgB,GAAG;IACvB,gEAAgE;IAChE,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAG3C,UAAU,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,eAAe,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 {
|
|
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 ?
|
|
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 {
|
|
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 {
|
|
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<
|
|
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,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toast-store.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toast-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAEN,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,uDAAuD;IACvD,WAAW,EAAE,SAAS,CAAC;IACvB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;kEAC8D;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 {
|
|
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 {
|
|
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 {
|
|
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 ?
|
|
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);
|