@pismo/marola 1.0.0-beta.64 → 1.0.0-beta.66

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.
@@ -0,0 +1 @@
1
+ ._u-typography-h1_9p2mz_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_9p2mz_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_9p2mz_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_9p2mz_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_9p2mz_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_9p2mz_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_9p2mz_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_9p2mz_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_9p2mz_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_9p2mz_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_9p2mz_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_9p2mz_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_9p2mz_68{text-decoration:line-through}._u-typography-base--underlined_9p2mz_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_9p2mz_74{text-decoration:underline line-through}._container_9p2mz_78{display:flex;padding:16px;border:1px solid;border-radius:6px}._container--success_9p2mz_84{background-color:var(--green-1);border-color:var(--green-3)}._container--warning_9p2mz_88{background-color:var(--gold-1);border-color:var(--gold-3)}._container--error_9p2mz_92{background-color:var(--error-background);border-color:var(--error-border)}._container--info_9p2mz_96{background-color:var(--blue-1);border-color:var(--blue-3)}._container--default_9p2mz_100{background-color:var(--white-100);border-color:var(--border)}._container--close-icon_9p2mz_104{justify-self:flex-end;margin-left:16px;cursor:pointer}._container--content_9p2mz_109{width:100%}
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type AlertType = 'success' | 'error' | 'info' | 'warning' | 'default';
4
+ type AlertProps = {
5
+ type?: AlertType;
6
+ children: ReactNode;
7
+ 'data-testid'?: string;
8
+ onClose?: () => void;
9
+ };
10
+ export declare const Alert: ({ type, children, "data-testid": dataTestId, onClose }: AlertProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,46 @@
1
+ import '../../assets/Alert.css';
2
+ import { jsxs as _, jsx as a } from "react/jsx-runtime";
3
+ import { c as y } from "../../clsx-DB4S2d7J.js";
4
+ import { Icon as s } from "../Icon/Icon.js";
5
+ const h = "_container_9p2mz_78", t = {
6
+ "u-typography-h1": "_u-typography-h1_9p2mz_1",
7
+ "u-typography-h2": "_u-typography-h2_9p2mz_8",
8
+ "u-typography-h3": "_u-typography-h3_9p2mz_15",
9
+ "u-typography-h4": "_u-typography-h4_9p2mz_22",
10
+ "u-typography-h5": "_u-typography-h5_9p2mz_29",
11
+ "u-typography-h6": "_u-typography-h6_9p2mz_36",
12
+ "u-typography-base": "_u-typography-base_9p2mz_43",
13
+ "u-typography-base--xxl": "_u-typography-base--xxl_9p2mz_49",
14
+ "u-typography-base--xl": "_u-typography-base--xl_9p2mz_53",
15
+ "u-typography-base--lg": "_u-typography-base--lg_9p2mz_57",
16
+ "u-typography-base--sm": "_u-typography-base--sm_9p2mz_61",
17
+ "u-typography-base--bold": "_u-typography-base--bold_9p2mz_65",
18
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_9p2mz_68",
19
+ "u-typography-base--underlined": "_u-typography-base--underlined_9p2mz_71",
20
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_9p2mz_74",
21
+ container: h,
22
+ "container--success": "_container--success_9p2mz_84",
23
+ "container--warning": "_container--warning_9p2mz_88",
24
+ "container--error": "_container--error_9p2mz_92",
25
+ "container--info": "_container--info_9p2mz_96",
26
+ "container--default": "_container--default_9p2mz_100",
27
+ "container--close-icon": "_container--close-icon_9p2mz_104",
28
+ "container--content": "_container--content_9p2mz_109"
29
+ }, g = ({ type: r = "default", children: e, "data-testid": p, onClose: o }) => {
30
+ const n = y(t.container, t[`container--${r}`]);
31
+ return /* @__PURE__ */ _("div", { "data-testid": p, className: n, children: [
32
+ /* @__PURE__ */ a("div", { className: t["container--content"], children: e }),
33
+ !!o && /* @__PURE__ */ a(
34
+ "div",
35
+ {
36
+ "data-testid": `${p}-close-button`,
37
+ onClick: () => o(),
38
+ className: t["container--close-icon"],
39
+ children: /* @__PURE__ */ a(s, { icon: "xmark" })
40
+ }
41
+ )
42
+ ] });
43
+ };
44
+ export {
45
+ g as Alert
46
+ };
@@ -0,0 +1,24 @@
1
+ import { StoryObj } from '@storybook/react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ type, children, "data-testid": dataTestId, onClose }: {
6
+ type?: ("default" | "error" | "success" | "info" | "warning") | undefined;
7
+ children: import('react').ReactNode;
8
+ 'data-testid'?: string | undefined;
9
+ onClose?: (() => void) | undefined;
10
+ }) => import("react/jsx-runtime").JSX.Element;
11
+ tags: string[];
12
+ parameters: {
13
+ layout: string;
14
+ };
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof meta>;
18
+ export declare const General: Story;
19
+ export declare const Success: Story;
20
+ export declare const Error: Story;
21
+ export declare const Warning: Story;
22
+ export declare const Info: Story;
23
+ export declare const WithCloseButton: Story;
24
+ export declare const WithCustomAction: Story;
@@ -0,0 +1 @@
1
+ export {};
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  title: string;
5
5
  component: import('react').ForwardRefExoticComponent<import('./Chip').ChipProps & import('react').RefAttributes<unknown>>;
6
6
  tags: string[];
7
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
7
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
8
  label: import('react').ReactNode;
9
9
  loading?: boolean | undefined;
10
10
  leftAdornment?: import('../Adornment/Adornment').AdornmentProps | undefined;
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  title: string;
6
6
  component: ({ open, onClose, title, subtitle, content, cancelAction, confirmAction, confirmLabel, cancelLabel, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
7
7
  tags: string[];
8
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
9
9
  open: boolean;
10
10
  onClose: () => void;
11
11
  title?: import('react').ReactNode;
@@ -6,9 +6,11 @@ export interface DescriptionProps {
6
6
  value: React.ReactNode;
7
7
  /** Renders skeleton when true */
8
8
  isLoading?: boolean;
9
+ /** Description label and value color */
10
+ color?: string;
9
11
  /** Sets the data-testid prefix for label, value and skeletons */
10
12
  'data-testid'?: string;
11
13
  /** Sets the label and value onto the same line */
12
14
  inline?: boolean;
13
15
  }
14
- export declare const Description: ({ label, value, isLoading, "data-testid": dataTestId, inline, }: DescriptionProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Description: ({ label, value, isLoading, color, "data-testid": dataTestId, inline, }: DescriptionProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import '../../assets/Description.css';
2
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
3
- import { c as s } from "../../clsx-DB4S2d7J.js";
2
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
3
+ import { c as i } from "../../clsx-DB4S2d7J.js";
4
4
  import { Skeleton as o } from "../Skeleton/Skeleton.js";
5
- import { Typography as p } from "../Typography/Typography.js";
6
- const i = "_container_he0z3_78", a = {
5
+ import { Typography as y } from "../Typography/Typography.js";
6
+ const u = "_container_he0z3_78", a = {
7
7
  "u-typography-h1": "_u-typography-h1_he0z3_1",
8
8
  "u-typography-h2": "_u-typography-h2_he0z3_8",
9
9
  "u-typography-h3": "_u-typography-h3_he0z3_15",
@@ -19,36 +19,46 @@ const i = "_container_he0z3_78", a = {
19
19
  "u-typography-base--strikethrough": "_u-typography-base--strikethrough_he0z3_68",
20
20
  "u-typography-base--underlined": "_u-typography-base--underlined_he0z3_71",
21
21
  "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_he0z3_74",
22
- container: i,
22
+ container: u,
23
23
  "container--text": "_container--text_he0z3_82",
24
24
  "container--inline": "_container--inline_he0z3_85"
25
- }, c = ({
26
- label: y,
27
- value: _,
25
+ }, d = ({
26
+ label: _,
27
+ value: n,
28
28
  isLoading: r,
29
+ color: h = "var(--gray-95)",
29
30
  "data-testid": e = "Description",
30
- inline: h
31
- }) => /* @__PURE__ */ n(
31
+ inline: p
32
+ }) => /* @__PURE__ */ s(
32
33
  "div",
33
34
  {
34
- className: s([a.container, { [a["container--inline"]]: h }]),
35
+ className: i([a.container, { [a["container--inline"]]: p }]),
35
36
  "data-testid": `${e}-container`,
36
37
  children: [
37
- /* @__PURE__ */ t(p, { className: a["container--text"], variant: "base", "data-testid": `${e}-label`, children: r ? /* @__PURE__ */ t(o, { style: { width: 70, marginBottom: 2 }, "data-testid": `${e}-skeletonLabel` }) : y }),
38
38
  /* @__PURE__ */ t(
39
- p,
39
+ y,
40
+ {
41
+ color: h,
42
+ className: a["container--text"],
43
+ variant: "base",
44
+ "data-testid": `${e}-label`,
45
+ children: r ? /* @__PURE__ */ t(o, { style: { width: 70, marginBottom: 2 }, "data-testid": `${e}-skeletonLabel` }) : _
46
+ }
47
+ ),
48
+ /* @__PURE__ */ t(
49
+ y,
40
50
  {
41
51
  className: a["container--text"],
42
52
  bold: !0,
43
- color: "var(--gray-95)",
44
- variant: h ? "base" : "base-lg",
53
+ color: h,
54
+ variant: p ? "base" : "base-lg",
45
55
  "data-testid": `${e}-value`,
46
- children: r ? /* @__PURE__ */ t(o, { style: { width: 100 }, "data-testid": `${e}-skeletonValue` }) : _ || "-"
56
+ children: r ? /* @__PURE__ */ t(o, { style: { width: 100 }, "data-testid": `${e}-skeletonValue` }) : n || "-"
47
57
  }
48
58
  )
49
59
  ]
50
60
  }
51
61
  );
52
62
  export {
53
- c as Description
63
+ d as Description
54
64
  };
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ label, value, isLoading, "data-testid": dataTestId, inline, }: import('./Description').DescriptionProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ label, value, isLoading, color, "data-testid": dataTestId, inline, }: import('./Description').DescriptionProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
7
  parameters: {
8
8
  layout: string;
@@ -11,7 +11,9 @@ declare const meta: {
11
11
  export default meta;
12
12
  type Story = StoryObj<typeof meta>;
13
13
  export declare const Simple: Story;
14
+ export declare const WithColor: Story;
14
15
  export declare const InLine: Story;
16
+ export declare const InLineWithColor: Story;
15
17
  export declare const Loading: Story;
16
18
  export declare const LoadingInline: Story;
17
19
  export declare const InLineWithButton: Story;
@@ -10,7 +10,7 @@ declare const meta: {
10
10
  Actions: import('react').FunctionComponent<import('./Actions').DialogActionProps>;
11
11
  };
12
12
  tags: string[];
13
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
13
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
14
14
  color?: string | undefined;
15
15
  ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
16
16
  children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
@@ -26,6 +26,8 @@ declare const meta: {
26
26
  content?: string | undefined;
27
27
  dir?: string | undefined;
28
28
  hidden?: boolean | undefined;
29
+ container?: Element | (() => Element | null) | null | undefined;
30
+ onClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
29
31
  onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
30
32
  accessKey?: string | undefined;
31
33
  autoFocus?: boolean | undefined;
@@ -204,7 +206,6 @@ declare const meta: {
204
206
  onWaitingCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
205
207
  onAuxClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
206
208
  onAuxClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
207
- onClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
208
209
  onClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
209
210
  onContextMenu?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
210
211
  onContextMenuCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
@@ -326,7 +327,6 @@ declare const meta: {
326
327
  key?: import('react').Key | null | undefined;
327
328
  disablePortal?: boolean | undefined;
328
329
  closeAfterTransition?: boolean | undefined;
329
- container?: Element | (() => Element | null) | null | undefined;
330
330
  disableAutoFocus?: boolean | undefined;
331
331
  disableEnforceFocus?: boolean | undefined;
332
332
  disableEscapeKeyDown?: boolean | undefined;
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  parameters: {
9
9
  layout: string;
10
10
  };
11
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
11
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
12
12
  children: import('react').ReactNode;
13
13
  title: import('react').ReactNode;
14
14
  style?: import('react').CSSProperties | undefined;
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  title: string;
5
5
  component: ({ invert, classNames }: import('./LoadingSpinner').LoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
7
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
8
  invert?: boolean | undefined;
9
9
  classNames?: string | undefined;
10
10
  }>) => import("react/jsx-runtime").JSX.Element)[];
@@ -25,7 +25,7 @@ declare const meta: {
25
25
  };
26
26
  };
27
27
  tags: string[];
28
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
28
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
29
29
  [x: string]: any;
30
30
  }>) => import("react/jsx-runtime").JSX.Element)[];
31
31
  };
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  title: string;
6
6
  component: ({ snackbarMessage, variant, autoHideDuration, open, onClose, onClosed, classNameWrapper, "data-testid": dataTestId, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
7
7
  tags: string[];
8
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
9
9
  accept?: string | undefined;
10
10
  alt?: string | undefined;
11
11
  autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  title: string;
7
7
  component: import('react').ForwardRefExoticComponent<ToggleGroupProps & import('react').RefAttributes<HTMLFieldSetElement>>;
8
8
  tags: string[];
9
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
9
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
10
10
  legend?: import('react').ReactNode;
11
11
  error?: import('react').ReactNode;
12
12
  children: import('react').ReactElement<import('./Toggle.tsx').ToggleGroupItemProps<string | number>, string | import('react').JSXElementConstructor<any>>[];
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  parameters: {
9
9
  layout: string;
10
10
  };
11
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
11
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
12
12
  children: import('react').ReactNode;
13
13
  title: import('react').ReactNode;
14
14
  open?: boolean | undefined;
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  };
13
13
  };
14
14
  };
15
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
15
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
16
16
  children: import('react').ReactNode;
17
17
  element?: import('react').ElementType | undefined;
18
18
  variant?: import('./Typography').VariantType | undefined;
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  };
13
13
  };
14
14
  tags: string[];
15
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
15
+ decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
16
16
  [x: string]: any;
17
17
  }>) => import("react/jsx-runtime").JSX.Element)[];
18
18
  };
package/dist/main.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export * from './components/Adornment/Adornment';
6
6
  export * from './components/Advice/Advice';
7
+ export * from './components/Alert/Alert';
7
8
  export * from './components/Autocomplete/Autocomplete';
8
9
  export * from './components/Avatar/Avatar';
9
10
  export * from './components/Button/Button';
package/dist/main.js CHANGED
@@ -1,94 +1,96 @@
1
1
  import { Adornment as t } from "./components/Adornment/Adornment.js";
2
2
  import { Advice as a } from "./components/Advice/Advice.js";
3
- import { Autocomplete as m } from "./components/Autocomplete/Autocomplete.js";
3
+ import { Alert as m } from "./components/Alert/Alert.js";
4
+ import { Autocomplete as n } from "./components/Autocomplete/Autocomplete.js";
4
5
  import "./components/Avatar/Avatar.js";
5
- import { Button as n } from "./components/Button/Button.js";
6
- import { Checkbox as l } from "./components/Checkbox/Checkbox.js";
7
- import { C as s, R as c, T as g } from "./Toggle-MfR7l8Wn.js";
8
- import { ConfirmationDialog as S } from "./components/ConfirmationDialog/ConfirmationDialog.js";
9
- import { Description as b } from "./components/Description/Description.js";
10
- import { Dialog as C } from "./components/Dialog/Dialog.js";
11
- import { EllipsisTooltip as D } from "./components/EllipsisTooltip/EllipsisTooltip.js";
12
- import { Icon as P } from "./components/Icon/Icon.js";
13
- import { IconButton as y } from "./components/IconButton/IconButton.js";
14
- import { Input as B } from "./components/Input/Input.js";
15
- import { InputSearch as R } from "./components/InputSearch/InputSearch.js";
16
- import { LoadingSpinner as w } from "./components/LoadingSpinner/LoadingSpinner.js";
17
- import { PageHeader as L } from "./components/PageHeader/PageHeader.js";
18
- import { Pagination as O, paginationDefaultTranslations as W } from "./components/Pagination/Pagination.js";
19
- import { Popover as q } from "./components/Popover/Popover.js";
20
- import { ResultWithChips as F } from "./components/ResultWithChips/ResultWithChips.js";
21
- import { Select as K, SelectOption as M } from "./components/Select/Select.js";
22
- import { Skeleton as U, SkeletonCircle as V, SkeletonTable as X } from "./components/Skeleton/Skeleton.js";
23
- import { Snackbar as Z } from "./components/Snackbar/Snackbar.js";
24
- import { SortTooltip as $, sortTooltipDefaultTranslations as oo } from "./components/SortTooltip/SortTooltip.js";
25
- import { Stepper as eo } from "./components/Stepper/Stepper.js";
26
- import { StepperNavigator as po } from "./components/StepperNavigator/StepperNavigator.js";
27
- import { TBody as fo, THead as mo, Table as xo, Td as no, Th as io, Tr as lo } from "./components/Table/Table.js";
28
- import { Tabs as so } from "./components/Tabs/Tabs.js";
29
- import { TextDisplay as go } from "./components/TextDisplay/TextDisplay.js";
30
- import { Toggle as So } from "./components/Toggle/Toggle.js";
31
- import { G as ko } from "./Group-DspH8hyO.js";
32
- import { Tooltip as ho } from "./components/Tooltip/Tooltip.js";
33
- import { Text as Io, Typography as Po } from "./components/Typography/Typography.js";
34
- import { SnackbarContext as yo, SnackbarProvider as Ao, useSnackbar as Bo } from "./contexts/SnackbarProvider/SnackbarProvider.js";
35
- import { default as Ro } from "./components/Dialog/DialogTitle.js";
36
- import { default as wo } from "./components/Dialog/Content.js";
37
- import { default as Lo } from "./components/Dialog/Actions.js";
38
- import { Tab as Oo } from "./components/Tabs/Tab.js";
39
- import { TabPanel as jo } from "./components/Tabs/TabPanel.js";
6
+ import { Button as l } from "./components/Button/Button.js";
7
+ import { Checkbox as s } from "./components/Checkbox/Checkbox.js";
8
+ import { C as g, R as u, T as S } from "./Toggle-MfR7l8Wn.js";
9
+ import { ConfirmationDialog as b } from "./components/ConfirmationDialog/ConfirmationDialog.js";
10
+ import { Description as C } from "./components/Description/Description.js";
11
+ import { Dialog as D } from "./components/Dialog/Dialog.js";
12
+ import { EllipsisTooltip as A } from "./components/EllipsisTooltip/EllipsisTooltip.js";
13
+ import { Icon as v } from "./components/Icon/Icon.js";
14
+ import { IconButton as B } from "./components/IconButton/IconButton.js";
15
+ import { Input as R } from "./components/Input/Input.js";
16
+ import { InputSearch as w } from "./components/InputSearch/InputSearch.js";
17
+ import { LoadingSpinner as L } from "./components/LoadingSpinner/LoadingSpinner.js";
18
+ import { PageHeader as O } from "./components/PageHeader/PageHeader.js";
19
+ import { Pagination as j, paginationDefaultTranslations as q } from "./components/Pagination/Pagination.js";
20
+ import { Popover as F } from "./components/Popover/Popover.js";
21
+ import { ResultWithChips as K } from "./components/ResultWithChips/ResultWithChips.js";
22
+ import { Select as Q, SelectOption as U } from "./components/Select/Select.js";
23
+ import { Skeleton as X, SkeletonCircle as Y, SkeletonTable as Z } from "./components/Skeleton/Skeleton.js";
24
+ import { Snackbar as $ } from "./components/Snackbar/Snackbar.js";
25
+ import { SortTooltip as ro, sortTooltipDefaultTranslations as eo } from "./components/SortTooltip/SortTooltip.js";
26
+ import { Stepper as po } from "./components/Stepper/Stepper.js";
27
+ import { StepperNavigator as fo } from "./components/StepperNavigator/StepperNavigator.js";
28
+ import { TBody as xo, THead as no, Table as io, Td as lo, Th as To, Tr as so } from "./components/Table/Table.js";
29
+ import { Tabs as go } from "./components/Tabs/Tabs.js";
30
+ import { TextDisplay as So } from "./components/TextDisplay/TextDisplay.js";
31
+ import { Toggle as ko } from "./components/Toggle/Toggle.js";
32
+ import { G as ho } from "./Group-DspH8hyO.js";
33
+ import { Tooltip as Io } from "./components/Tooltip/Tooltip.js";
34
+ import { Text as Po, Typography as vo } from "./components/Typography/Typography.js";
35
+ import { SnackbarContext as Bo, SnackbarProvider as Go, useSnackbar as Ro } from "./contexts/SnackbarProvider/SnackbarProvider.js";
36
+ import { default as wo } from "./components/Dialog/DialogTitle.js";
37
+ import { default as Lo } from "./components/Dialog/Content.js";
38
+ import { default as Oo } from "./components/Dialog/Actions.js";
39
+ import { Tab as jo } from "./components/Tabs/Tab.js";
40
+ import { TabPanel as zo } from "./components/Tabs/TabPanel.js";
40
41
  export {
41
- Lo as Actions,
42
+ Oo as Actions,
42
43
  t as Adornment,
43
44
  a as Advice,
44
- m as Autocomplete,
45
- n as Button,
46
- l as Checkbox,
47
- s as Chip,
48
- S as ConfirmationDialog,
49
- wo as Content,
50
- b as Description,
51
- C as Dialog,
52
- Ro as DialogTitle,
53
- D as EllipsisTooltip,
54
- P as Icon,
55
- y as IconButton,
56
- B as Input,
57
- R as InputSearch,
58
- w as LoadingSpinner,
59
- L as PageHeader,
60
- O as Pagination,
61
- q as Popover,
62
- F as ResultWithChips,
63
- c as RowItem,
64
- K as Select,
65
- M as SelectOption,
66
- U as Skeleton,
67
- V as SkeletonCircle,
68
- X as SkeletonTable,
69
- Z as Snackbar,
70
- yo as SnackbarContext,
71
- Ao as SnackbarProvider,
72
- $ as SortTooltip,
73
- eo as Stepper,
74
- po as StepperNavigator,
75
- fo as TBody,
76
- mo as THead,
77
- Oo as Tab,
78
- jo as TabPanel,
79
- xo as Table,
80
- so as Tabs,
81
- no as Td,
82
- Io as Text,
83
- go as TextDisplay,
84
- io as Th,
85
- So as Toggle,
86
- ko as ToggleGroup,
87
- g as ToggleGroupItem,
88
- ho as Tooltip,
89
- lo as Tr,
90
- Po as Typography,
91
- W as paginationDefaultTranslations,
92
- oo as sortTooltipDefaultTranslations,
93
- Bo as useSnackbar
45
+ m as Alert,
46
+ n as Autocomplete,
47
+ l as Button,
48
+ s as Checkbox,
49
+ g as Chip,
50
+ b as ConfirmationDialog,
51
+ Lo as Content,
52
+ C as Description,
53
+ D as Dialog,
54
+ wo as DialogTitle,
55
+ A as EllipsisTooltip,
56
+ v as Icon,
57
+ B as IconButton,
58
+ R as Input,
59
+ w as InputSearch,
60
+ L as LoadingSpinner,
61
+ O as PageHeader,
62
+ j as Pagination,
63
+ F as Popover,
64
+ K as ResultWithChips,
65
+ u as RowItem,
66
+ Q as Select,
67
+ U as SelectOption,
68
+ X as Skeleton,
69
+ Y as SkeletonCircle,
70
+ Z as SkeletonTable,
71
+ $ as Snackbar,
72
+ Bo as SnackbarContext,
73
+ Go as SnackbarProvider,
74
+ ro as SortTooltip,
75
+ po as Stepper,
76
+ fo as StepperNavigator,
77
+ xo as TBody,
78
+ no as THead,
79
+ jo as Tab,
80
+ zo as TabPanel,
81
+ io as Table,
82
+ go as Tabs,
83
+ lo as Td,
84
+ Po as Text,
85
+ So as TextDisplay,
86
+ To as Th,
87
+ ko as Toggle,
88
+ ho as ToggleGroup,
89
+ S as ToggleGroupItem,
90
+ Io as Tooltip,
91
+ so as Tr,
92
+ vo as Typography,
93
+ q as paginationDefaultTranslations,
94
+ eo as sortTooltipDefaultTranslations,
95
+ Ro as useSnackbar
94
96
  };
package/dist/marola.css CHANGED
@@ -1 +1 @@
1
- :root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204;--border: #d9d9d9;--border-rgb: 217, 217, 217;--border-secondary: #f0f0f0;--border-secondary-rgb: 240, 240, 240}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255}:root{--heading-font-weight: 700;--heading-font-size-1: 3.75rem;--heading-line-height-1: 4.875rem;--heading-font-size-2: 3rem;--heading-line-height-2: 4rem;--heading-font-size-3: 2.25rem;--heading-line-height-3: 2.875rem;--heading-font-size-4: 1.875rem;--heading-line-height-4: 2.375rem;--heading-font-size-5: 1.5rem;--heading-line-height-5: 2rem;--heading-font-size-6: 1.25rem;--heading-line-height-6: 1.75rem;--base-font-size: .875rem;--base-line-height: 1.375rem;--base-weight: 400;--base-bold: 700;--base-font-size-sm: .75rem;--base-line-height-sm: 1.25rem;--base-font-size-lg: 1rem;--base-line-height-lg: 1.5rem;--base-font-size-xl: 1.25rem;--base-line-height-xl: 1.75rem;--base-font-size-xxl: 1.5rem;--base-line-height-xxl: 2rem}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold;--font-size-small: .75rem;--font-weight-small: 400;--font-line-height-small: 1.25rem;--font-weight-700: 700}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}*{box-sizing:border-box}
1
+ :root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204;--border: #d9d9d9;--border-rgb: 217, 217, 217;--border-secondary: #f0f0f0;--border-secondary-rgb: 240, 240, 240;--error-background: #fff2f0;--error-background-rgb: 255, 242, 240;--error-border: #ffccc7;--error-border-rgb: 255, 204, 199}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255;--green-1: #f0fff7;--green-1-rgb: 240, 255, 247;--green-3: #a1edcb;--green-3-rgb: 161, 237, 203;--blue-1: #e6f9ff;--blue-1-rgb: 230, 249, 255;--blue-3: #94ddff;--blue-3-rgb: 148, 221, 255;--gold-1: #fffbe6;--gold-1-rgb: 255, 251, 230;--gold-3: #ffe58f;--gold-3-rgb: 255, 229, 143}:root{--heading-font-weight: 700;--heading-font-size-1: 3.75rem;--heading-line-height-1: 4.875rem;--heading-font-size-2: 3rem;--heading-line-height-2: 4rem;--heading-font-size-3: 2.25rem;--heading-line-height-3: 2.875rem;--heading-font-size-4: 1.875rem;--heading-line-height-4: 2.375rem;--heading-font-size-5: 1.5rem;--heading-line-height-5: 2rem;--heading-font-size-6: 1.25rem;--heading-line-height-6: 1.75rem;--base-font-size: .875rem;--base-line-height: 1.375rem;--base-weight: 400;--base-bold: 700;--base-font-size-sm: .75rem;--base-line-height-sm: 1.25rem;--base-font-size-lg: 1rem;--base-line-height-lg: 1.5rem;--base-font-size-xl: 1.25rem;--base-line-height-xl: 1.75rem;--base-font-size-xxl: 1.5rem;--base-line-height-xxl: 2rem}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold;--font-size-small: .75rem;--font-weight-small: 400;--font-line-height-small: 1.25rem;--font-weight-700: 700}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}*{box-sizing:border-box}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pismo/marola",
3
3
  "description": "CDX tribe component library",
4
- "version": "1.0.0-beta.64",
4
+ "version": "1.0.0-beta.66",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",