@pismo/marola 1.1.12 → 1.1.14
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/dist/Tabs.module-ia-imLti.js +25 -0
- package/dist/assets/Badge.css +1 -1
- package/dist/assets/PageHeader.css +1 -1
- package/dist/assets/Tabs.css +1 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +3 -3
- package/dist/components/Autocomplete/Autocomplete.js +263 -266
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts +1 -1
- package/dist/components/Badge/Badge.js +21 -21
- package/dist/components/PageHeader/PageHeader.js +57 -57
- package/dist/components/Tabs/Tab.js +1 -1
- package/dist/components/Tabs/TabPanel.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/package.json +1 -1
- package/dist/Tabs.module-BNRwj3Z0.js +0 -25
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _ from "react";
|
|
2
|
+
import './assets/Tabs.css';const a = /* @__PURE__ */ _.createContext(null);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (a.displayName = "TabsContext");
|
|
4
|
+
function e() {
|
|
5
|
+
const t = _.useContext(a);
|
|
6
|
+
if (t == null)
|
|
7
|
+
throw new Error("No TabsContext provided");
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
const s = "_tabs_1ldid_1", b = "_tabs__tab_1ldid_5", d = {
|
|
11
|
+
tabs: s,
|
|
12
|
+
tabs__tab: b,
|
|
13
|
+
"tabs__tab--disabled": "_tabs__tab--disabled_1ldid_23",
|
|
14
|
+
"tabs__tab--selected": "_tabs__tab--selected_1ldid_32",
|
|
15
|
+
"tabs__tab--chip": "_tabs__tab--chip_1ldid_36",
|
|
16
|
+
"tabs__tab--chip--disabled": "_tabs__tab--chip--disabled_1ldid_64",
|
|
17
|
+
"tabs__tab-panel": "_tabs__tab-panel_1ldid_74",
|
|
18
|
+
"tabs__tab-icon": "_tabs__tab-icon_1ldid_78",
|
|
19
|
+
"tabs__tab-content": "_tabs__tab-content_1ldid_83"
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
a as T,
|
|
23
|
+
d as s,
|
|
24
|
+
e as u
|
|
25
|
+
};
|
package/dist/assets/Badge.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._badge-
|
|
1
|
+
._badge-root_40fsi_1{position:relative;box-sizing:border-box;display:inline-block;padding:0;margin:0;font-family:IBM Plex Sans,sans-serif;font-variant:tabular-nums;line-height:1;list-style:none}._badge_40fsi_1{position:absolute;top:.25rem;right:.5rem;z-index:auto;min-width:1rem;height:1rem;font-size:.75rem;font-weight:500;line-height:1rem;color:var(--white-100);text-align:center;white-space:nowrap;background-color:var(--error-text);border-radius:50%;transform:translate(50%,-50%);transform-origin:100% 0}._badge--red_40fsi_31{background-color:var(--error-text)}._badge--green_40fsi_34{background-color:var(--colors-brand-success-color-success)}._badge--blue_40fsi_37{background-color:var(--colors-brand-primary-color-primary-active)}._badge--blueInvert_40fsi_40{color:var(--colors-brand-primary-color-primary-active);background-color:var(--colors-brand-primary-color-primary-bg)}._badge--gray_40fsi_44{color:var(--black);background-color:rgb(from var(--black-100) r g b/15%)}._badge--basic_40fsi_48{line-height:.875rem;color:var(--black);background-color:var(--white-100);border:1px solid rgba(from var(--black-100) r g b/6%)}._badge--double_40fsi_54{width:1.625rem;border-radius:100px}._badge--triple_40fsi_58{width:2.5rem;border-radius:100px}._badge--medium_40fsi_62{min-width:1.25rem;min-height:1.25rem;line-height:1.25rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._u-typography-
|
|
1
|
+
._u-typography-h1_1oa3o_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_1oa3o_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_1oa3o_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_1oa3o_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_1oa3o_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_1oa3o_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_1oa3o_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1oa3o_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1oa3o_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1oa3o_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1oa3o_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1oa3o_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1oa3o_68{text-decoration:line-through}._u-typography-base--underlined_1oa3o_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1oa3o_74{text-decoration:underline line-through}._page-header_1oa3o_78{width:100%;min-height:7.375rem;background-color:var(--cream)}._page-header__main-content_1oa3o_83{position:relative;width:64rem;max-width:100%;padding:1rem 0;margin:0 auto}._page-header__bottom-content_1oa3o_90{width:64rem;max-width:100%;margin:0 auto}._page-header__breadcrumb_1oa3o_95{display:flex;gap:.5rem;align-items:center;height:2rem}._page-header__breadcrumb_1oa3o_95 button{padding:0;line-height:1.25rem;color:var(--colors-neutral-text-color-text)}._page-header__breadcrumb_1oa3o_95 button:active,._page-header__breadcrumb_1oa3o_95 button:focus{color:var(--colors-neutral-text-color-text);outline:none}._page-header__breadcrumb_1oa3o_95 button:hover:enabled{color:var(--accent-dark)}._page-header__breadcrumb_1oa3o_95 button *:not(svg){font-size:.75rem}._page-header__breadcrumb_1oa3o_95 button:disabled{color:var(--colors-neutral-text-color-text-tertiary)}._page-header__breadcrumb_1oa3o_95 button svg{width:1rem;height:1rem}._page-header__breadcrumb__separator_1oa3o_123{height:1.125rem;padding:0;line-height:1.125rem;color:var(--colors-neutral-text-color-text-description)}._page-header__right-children-wrapper_1oa3o_129{display:flex;align-items:center;justify-content:space-between}._header-bubble_1oa3o_135{flex:1}._header-bubble--container_1oa3o_138{position:absolute;max-width:80%;height:5.75rem;background-color:var(--white-100);border:1px solid var(--border-secondary);border-radius:8px}._header-bubble--container--full_1oa3o_146{max-width:100%}._header-bubble-margin_1oa3o_150{padding-bottom:1rem}
|
package/dist/assets/Tabs.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tabs_1ldid_1{gap:8px;width:100%}._tabs__tab_1ldid_5{min-width:94px;height:48px;padding:0 4px;color:var(--gray-75);cursor:pointer;background-color:transparent;border:none;border-bottom:2px solid transparent}._tabs__tab_1ldid_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_1ldid_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_1ldid_23{color:#00000040;cursor:default;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--disabled_1ldid_23:focus,._tabs__tab--disabled_1ldid_23:active,._tabs__tab--disabled_1ldid_23:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_1ldid_32{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab--selected_1ldid_32._tabs__tab--chip_1ldid_36{color:var(--accent);border-color:var(--accent)}._tabs__tab--chip_1ldid_36{display:flex;align-items:center;justify-content:center;min-width:auto;height:32px;padding:0 15px;font-size:.875rem;font-weight:var(--base-bold);line-height:22px;color:var(--gray-95);background-color:transparent;border:1px solid var(--border);border-radius:var(--border-radius)}._tabs__tab--chip_1ldid_36:hover{color:var(--hover);border-color:var(--hover);border-bottom:1px solid var(--hover)}._tabs__tab--chip_1ldid_36:active{color:var(--active);border-color:var(--active)}._tabs__tab--chip--disabled_1ldid_64{color:#00000040;cursor:default;border:1px solid rgba(0,0,0,.25)}._tabs__tab--chip--disabled_1ldid_64:focus,._tabs__tab--chip--disabled_1ldid_64:active,._tabs__tab--chip--disabled_1ldid_64:hover{color:#00000040;background-color:transparent;border:1px solid rgba(0,0,0,.25)}._tabs__tab-panel_1ldid_74{width:100%;margin-top:16px}._tabs__tab-icon_1ldid_78{width:16px;height:16px;margin-right:4px}._tabs__tab-content_1ldid_83{display:flex;align-items:center;justify-content:center;width:100%}
|
|
@@ -10,11 +10,11 @@ export type AutocompleteProps<T> = Omit<InputProps, 'onChange' | 'value'> & {
|
|
|
10
10
|
value?: T;
|
|
11
11
|
/** Options array */
|
|
12
12
|
options?: Array<T>;
|
|
13
|
+
/** CSS classes to be applied on the input container element */
|
|
14
|
+
classNameInputWrapper?: string;
|
|
13
15
|
/** callback for new option selected */
|
|
14
16
|
onChange?: (event: SyntheticEvent<Element, Event>, newValue: T) => void;
|
|
15
17
|
/** callback when characters are entered into the input box */
|
|
16
18
|
onInputChange?: (event: SyntheticEvent<Element, Event>, newValue: string) => void;
|
|
17
|
-
/** Id to be applied as `data-testid` on the container element */
|
|
18
|
-
'data-testid-wrapper'?: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const Autocomplete: <T extends string | object>({ labelKey, valueKey, options, type, value, onChange, onInputChange, "data-testid-wrapper": dataTestId, ...props }: AutocompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const Autocomplete: <T extends string | object>({ labelKey, valueKey, options, type, value, onChange, onInputChange, classNameWrapper, "data-testid-wrapper": dataTestId, classNameInputWrapper, ...props }: AutocompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
|