@uva-glass/component-library 1.61.4 → 1.62.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/dist/assets/FormInput.css +1 -0
- package/dist/components/FormInput/FormInput.d.ts +17 -0
- package/dist/components/FormInput/FormInput.js +68 -0
- package/dist/components/FormInput/FormInput.js.map +1 -0
- package/dist/components/FormInput/FormInput.stories.d.ts +5 -0
- package/dist/components/FormInput/FormInput.stories.js +28 -0
- package/dist/components/FormInput/FormInput.stories.js.map +1 -0
- package/dist/components/FormInput/index.d.ts +1 -0
- package/dist/components/FormInput/index.js +5 -0
- package/dist/components/FormInput/index.js.map +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.js +70 -68
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +70 -68
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._form-field__container_13mc2_1{display:flex;flex-wrap:wrap;align-items:center}._form-field__container--label-left_13mc2_13{flex-direction:row;gap:1rem;line-height:2.5rem;align-items:flex-start}._form-field__container--label-left_13mc2_13>label:after{line-height:3.6}._form-field__container--label-top_13mc2_35{align-items:flex-start;flex-direction:column;gap:.5rem;line-height:normal}._form-field__input-container_13mc2_49{display:flex;flex-direction:column;flex:1;position:relative;width:100%}._form-field__input_13mc2_49{-webkit-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.5rem;color:var(--color-black);flex:1;font-family:inherit;font-size:inherit;height:2.75rem;margin:0;padding:0 1rem;text-align:inherit;min-height:2.5rem;-moz-appearance:textfield}._form-field__input_13mc2_49::-webkit-outer-spin-button,._form-field__input_13mc2_49::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._form-field__input--error_13mc2_111{border-color:var(--color-red-500)}._form-field__error_13mc2_119{align-items:center;color:var(--color-red-500);display:flex;font-size:var(--font-size-small);gap:.5rem;line-height:normal;margin-top:.5rem;background-color:var(--color-red-50);width:100%;padding:.5rem}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface FormInputProps {
|
|
2
|
+
/** The id of the input element. */
|
|
3
|
+
id: string;
|
|
4
|
+
/** label text if empthy the label is not renderd */
|
|
5
|
+
label: string;
|
|
6
|
+
/** label position `top` or `left`. The default is `top`. */
|
|
7
|
+
labelPosition?: 'top' | 'left';
|
|
8
|
+
/** The type of the input element. */
|
|
9
|
+
type?: 'text' | 'password' | 'email' | 'number';
|
|
10
|
+
/** Shows red * */
|
|
11
|
+
required?: boolean;
|
|
12
|
+
/** error text to display if set */
|
|
13
|
+
notValidatedText?: string;
|
|
14
|
+
/** Returns array of selected values as number */
|
|
15
|
+
onChange: (value: string) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const FormInput: ({ id, label, labelPosition, type, required, notValidatedText, onChange, }: FormInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsxs as e, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as l } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Icon as s } from "../Icon/Icon.js";
|
|
5
|
+
import "../Buttons/Button.js";
|
|
6
|
+
import "../Buttons/LinkButton.js";
|
|
7
|
+
import "@react-aria/button";
|
|
8
|
+
import { Label as u } from "../Label/Label.js";
|
|
9
|
+
import "@react-aria/dialog";
|
|
10
|
+
import "@react-aria/focus";
|
|
11
|
+
import "@react-aria/overlays";
|
|
12
|
+
import "../OverlayCloseButton/OverlayCloseButton.js";
|
|
13
|
+
import "../GridRow/GridRow.js";
|
|
14
|
+
import "../IconButton/IconButton.js";
|
|
15
|
+
import "../Input/Input.js";
|
|
16
|
+
import "../InputField/InputField.js";
|
|
17
|
+
import "react-router-dom";
|
|
18
|
+
import "../../TablePlugin-BvwAKpcu.js";
|
|
19
|
+
import "../RteEditor/Providers/LanguageProvider.js";
|
|
20
|
+
import "../RteEditor/hooks/components/Flyout.js";
|
|
21
|
+
import "../SelectListbox/SelectListbox.js";
|
|
22
|
+
import "../SelectListbox/SelectProvider.js";
|
|
23
|
+
import "../Sortable/components/SortableItem.js";
|
|
24
|
+
import "../../SortableProvider-BUsvniX7.js";
|
|
25
|
+
import '../../assets/FormInput.css';const r = {
|
|
26
|
+
"form-field__container": "_form-field__container_13mc2_1",
|
|
27
|
+
"form-field__container--label-left": "_form-field__container--label-left_13mc2_13",
|
|
28
|
+
"form-field__container--label-top": "_form-field__container--label-top_13mc2_35",
|
|
29
|
+
"form-field__input-container": "_form-field__input-container_13mc2_49",
|
|
30
|
+
"form-field__input": "_form-field__input_13mc2_49",
|
|
31
|
+
"form-field__input--error": "_form-field__input--error_13mc2_111",
|
|
32
|
+
"form-field__error": "_form-field__error_13mc2_119"
|
|
33
|
+
}, J = ({
|
|
34
|
+
id: _,
|
|
35
|
+
label: t,
|
|
36
|
+
labelPosition: p = "top",
|
|
37
|
+
type: n = "text",
|
|
38
|
+
required: c = !1,
|
|
39
|
+
notValidatedText: i = "",
|
|
40
|
+
onChange: f
|
|
41
|
+
}) => {
|
|
42
|
+
const a = (o) => ["e", "E", "+", "-"].includes(o.key) && o.preventDefault(), d = (o) => {
|
|
43
|
+
typeof f == "function" && f(o.target.value);
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ e("div", { className: l(r["form-field__container"], r[`form-field__container--label-${p}`]), children: [
|
|
46
|
+
t && /* @__PURE__ */ m(u, { htmlFor: _, required: c, children: t }),
|
|
47
|
+
/* @__PURE__ */ e("div", { className: r["form-field__input-container"], children: [
|
|
48
|
+
/* @__PURE__ */ m(
|
|
49
|
+
"input",
|
|
50
|
+
{
|
|
51
|
+
id: _,
|
|
52
|
+
type: n,
|
|
53
|
+
...n === "number" && { onKeyDown: a },
|
|
54
|
+
onChange: d,
|
|
55
|
+
className: l(r["form-field__input"], [i !== "" && r["form-field__input--error"]])
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
i !== "" && /* @__PURE__ */ e("div", { className: r["form-field__error"], children: [
|
|
59
|
+
/* @__PURE__ */ m(s, { name: "ExclamationTriangleFill", size: 24 }),
|
|
60
|
+
i
|
|
61
|
+
] })
|
|
62
|
+
] })
|
|
63
|
+
] });
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
J as FormInput
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=FormInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormInput.js","sources":["../../../src/components/FormInput/FormInput.tsx"],"sourcesContent":["import clsx from 'clsx';\r\n\r\nimport styles from './FormInput.module.css';\r\n\r\nimport { Icon, Label } from 'components';\r\n\r\nexport interface FormInputProps {\r\n /** The id of the input element. */\r\n id: string;\r\n /** label text if empthy the label is not renderd */\r\n label: string;\r\n /** label position `top` or `left`. The default is `top`. */\r\n labelPosition?: 'top' | 'left';\r\n /** The type of the input element. */\r\n type?: 'text' | 'password' | 'email' | 'number';\r\n /** Shows red * */\r\n required?: boolean;\r\n /** error text to display if set */\r\n notValidatedText?: string;\r\n /** Returns array of selected values as number */\r\n onChange: (value: string) => void;\r\n}\r\n\r\nexport const FormInput = ({\r\n id,\r\n label,\r\n labelPosition = 'top',\r\n type = 'text',\r\n required = false,\r\n notValidatedText = '',\r\n onChange,\r\n}: FormInputProps) => {\r\n const blockInvalidChar = (event: React.KeyboardEvent<HTMLInputElement>) =>\r\n ['e', 'E', '+', '-'].includes(event.key) && event.preventDefault();\r\n\r\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\r\n if (typeof onChange === 'function') {\r\n onChange(event.target.value);\r\n }\r\n };\r\n\r\n return (\r\n <div className={clsx(styles['form-field__container'], styles[`form-field__container--label-${labelPosition}`])}>\r\n {label && (\r\n <Label htmlFor={id} required={required}>\r\n {label}\r\n </Label>\r\n )}\r\n\r\n <div className={styles['form-field__input-container']}>\r\n <input\r\n id={id}\r\n type={type}\r\n {...(type === 'number' && { onKeyDown: blockInvalidChar })}\r\n onChange={handleChange}\r\n className={clsx(styles['form-field__input'], [notValidatedText !== '' && styles['form-field__input--error']])}\r\n />\r\n {notValidatedText !== '' && (\r\n <div className={styles['form-field__error']}>\r\n <Icon name=\"ExclamationTriangleFill\" size={24} />\r\n {notValidatedText}\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n};\r\n"],"names":["FormInput","id","label","labelPosition","type","required","notValidatedText","onChange","blockInvalidChar","event","handleChange","jsxs","clsx","styles","jsx","Label","Icon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuBaA,IAAY,CAAC;AAAA,EACxB,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,MAAAC,IAAO;AAAA,EACP,UAAAC,IAAW;AAAA,EACX,kBAAAC,IAAmB;AAAA,EACnB,UAAAC;AACF,MAAsB;AACpB,QAAMC,IAAmB,CAACC,MACxB,CAAC,KAAK,KAAK,KAAK,GAAG,EAAE,SAASA,EAAM,GAAG,KAAKA,EAAM,eAAe,GAE7DC,IAAe,CAACD,MAA+C;AAC/D,IAAA,OAAOF,KAAa,cACbA,EAAAE,EAAM,OAAO,KAAK;AAAA,EAC7B;AAGF,SACG,gBAAAE,EAAA,OAAA,EAAI,WAAWC,EAAKC,EAAO,uBAAuB,GAAGA,EAAO,gCAAgCV,CAAa,EAAE,CAAC,GAC1G,UAAA;AAAA,IAAAD,KACE,gBAAAY,EAAAC,GAAA,EAAM,SAASd,GAAI,UAAAI,GACjB,UACHH,GAAA;AAAA,IAGD,gBAAAS,EAAA,OAAA,EAAI,WAAWE,EAAO,6BAA6B,GAClD,UAAA;AAAA,MAAA,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAAb;AAAA,UACA,MAAAG;AAAA,UACC,GAAIA,MAAS,YAAY,EAAE,WAAWI,EAAiB;AAAA,UACxD,UAAUE;AAAA,UACV,WAAWE,EAAKC,EAAO,mBAAmB,GAAG,CAACP,MAAqB,MAAMO,EAAO,0BAA0B,CAAC,CAAC;AAAA,QAAA;AAAA,MAC9G;AAAA,MACCP,MAAqB,MACpB,gBAAAK,EAAC,SAAI,WAAWE,EAAO,mBAAmB,GACxC,UAAA;AAAA,QAAA,gBAAAC,EAACE,GAAK,EAAA,MAAK,2BAA0B,MAAM,IAAI;AAAA,QAC9CV;AAAA,MAAA,GACH;AAAA,IAAA,GAEJ;AAAA,EACF,EAAA,CAAA;AAEJ;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { FormInputProps } from './FormInput';
|
|
3
|
+
declare const _default: Meta<FormInputProps>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const FromInputExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FormInputProps>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { fn as a } from "../../index-C9QoqAAt.js";
|
|
3
|
+
import { FormInput as t } from "./FormInput.js";
|
|
4
|
+
const o = `
|
|
5
|
+
// Has all HTMLInputElement props available except "className" and "style"
|
|
6
|
+
<FormInput />
|
|
7
|
+
`, i = {
|
|
8
|
+
title: "Organisms/FormInput",
|
|
9
|
+
component: t,
|
|
10
|
+
argTypes: {},
|
|
11
|
+
args: {},
|
|
12
|
+
parameters: {
|
|
13
|
+
inspectComponent: t,
|
|
14
|
+
codeString: o
|
|
15
|
+
}
|
|
16
|
+
}, r = (e) => /* @__PURE__ */ n(t, { ...e }), s = r.bind({});
|
|
17
|
+
s.args = {
|
|
18
|
+
id: "vak",
|
|
19
|
+
label: "Vaknaam (NL)",
|
|
20
|
+
labelPosition: "left",
|
|
21
|
+
required: !0,
|
|
22
|
+
onChange: a()
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
s as FromInputExample,
|
|
26
|
+
i as default
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=FormInput.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormInput.stories.js","sources":["../../../src/components/FormInput/FormInput.stories.tsx"],"sourcesContent":["import { fn } from '@storybook/test';\r\n\r\nimport type { Meta, StoryFn } from '@storybook/react';\r\nimport type { FormInputProps } from './FormInput';\r\n\r\nimport { FormInput } from './FormInput';\r\n\r\nconst codeString = `\r\n// Has all HTMLInputElement props available except \"className\" and \"style\" \r\n<FormInput />\r\n`;\r\n\r\n// eslint-disable-next-line import/no-default-export\r\nexport default {\r\n title: 'Organisms/FormInput',\r\n component: FormInput,\r\n argTypes: {},\r\n args: {},\r\n parameters: {\r\n inspectComponent: FormInput,\r\n codeString: codeString,\r\n },\r\n} as Meta<FormInputProps>;\r\n\r\nconst Template: StoryFn<FormInputProps> = (args) => {\r\n return <FormInput {...args} />;\r\n};\r\n\r\nexport const FromInputExample = Template.bind({});\r\n\r\nFromInputExample.args = {\r\n id: 'vak',\r\n label: 'Vaknaam (NL)',\r\n labelPosition: 'left',\r\n required: true,\r\n onChange: fn(),\r\n};\r\n"],"names":["codeString","FormInput_stories","FormInput","Template","args","jsx","FromInputExample","fn"],"mappings":";;;AAOA,MAAMA,IAAa;AAAA;AAAA;AAAA,GAMJC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,UAAU,CAAC;AAAA,EACX,MAAM,CAAC;AAAA,EACP,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EACF;AACF,GAEMG,IAAoC,CAACC,MAClC,gBAAAC,EAACH,GAAW,EAAA,GAAGE,EAAM,CAAA,GAGjBE,IAAmBH,EAAS,KAAK,EAAE;AAEhDG,EAAiB,OAAO;AAAA,EACtB,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,eAAe;AAAA,EACf,UAAU;AAAA,EACV,UAAUC,EAAG;AACf;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -3,8 +3,8 @@ export * from './ActionList';
|
|
|
3
3
|
export * from './AppStatusBar';
|
|
4
4
|
export * from './Attention';
|
|
5
5
|
export * from './Backdrop';
|
|
6
|
-
export * from './Buttons';
|
|
7
6
|
export * from './ButtonGroup';
|
|
7
|
+
export * from './Buttons';
|
|
8
8
|
export * from './Card';
|
|
9
9
|
export * from './Checkbox';
|
|
10
10
|
export * from './CheckboxButton';
|
|
@@ -16,6 +16,7 @@ export * from './FeedbackBox';
|
|
|
16
16
|
export * from './FieldHint';
|
|
17
17
|
export * from './Fieldset';
|
|
18
18
|
export * from './FormField';
|
|
19
|
+
export * from './FormInput';
|
|
19
20
|
export * from './GridRow';
|
|
20
21
|
export * from './HorizontalList';
|
|
21
22
|
export * from './Icon';
|
|
@@ -39,7 +40,7 @@ export * from './RteEditor';
|
|
|
39
40
|
export * from './SectionNotification';
|
|
40
41
|
export * from './SelectListbox';
|
|
41
42
|
export * from './SelectListbox/SelectProvider';
|
|
42
|
-
export * from './Spinner';
|
|
43
43
|
export * from './Sortable';
|
|
44
|
+
export * from './Spinner';
|
|
44
45
|
export * from './StatusPill';
|
|
45
46
|
export * from './Tooltip';
|
package/dist/components/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import { ActionList as p } from "./ActionList/ActionList.js";
|
|
|
3
3
|
import { AppStatusBar as m } from "./AppStatusBar/AppStatusBar.js";
|
|
4
4
|
import { Attention as i } from "./Attention/Attention.js";
|
|
5
5
|
import { Backdrop as n } from "./Backdrop/Backdrop.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { ButtonGroup as u } from "./ButtonGroup/ButtonGroup.js";
|
|
7
|
+
import { Button as d } from "./Buttons/Button.js";
|
|
8
|
+
import { LinkButton as B } from "./Buttons/LinkButton.js";
|
|
9
|
+
import { MenuButton as b } from "./Buttons/MenuButton.js";
|
|
10
10
|
import { Card as C } from "./Card/Card.js";
|
|
11
|
-
import { Checkbox as
|
|
12
|
-
import { CheckboxButton as
|
|
13
|
-
import { CheckboxButtonBar as
|
|
11
|
+
import { Checkbox as L } from "./Checkbox/Checkbox.js";
|
|
12
|
+
import { CheckboxButton as I } from "./CheckboxButton/CheckboxButton.js";
|
|
13
|
+
import { CheckboxButtonBar as D } from "./CheckboxButtonBar/CheckboxButtonBar.js";
|
|
14
14
|
import { CheckboxTree as g } from "./CheckboxTree/CheckboxTree.js";
|
|
15
15
|
import { Drawer as y } from "./Drawer/Drawer.js";
|
|
16
16
|
import { EmptyStateDataDisplay as v } from "./EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
@@ -18,45 +18,46 @@ import { FeedbackBox as E } from "./FeedbackBox/FeedbackBox.js";
|
|
|
18
18
|
import { FieldHint as H } from "./FieldHint/FieldHint.js";
|
|
19
19
|
import { Fieldset as T } from "./Fieldset/Fieldset.js";
|
|
20
20
|
import { FormField as N } from "./FormField/FormField.js";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
21
|
+
import { FormInput as q } from "./FormInput/FormInput.js";
|
|
22
|
+
import { GridRow as K } from "./GridRow/GridRow.js";
|
|
23
|
+
import { HorizontalList as U } from "./HorizontalList/HorizontalList.js";
|
|
24
|
+
import { Icon as W } from "./Icon/Icon.js";
|
|
25
|
+
import { IconButton as Y } from "./IconButton/IconButton.js";
|
|
26
|
+
import { InfoMessage as _ } from "./InfoMessage/InfoMessage.js";
|
|
27
|
+
import { Input as oo } from "./Input/Input.js";
|
|
28
|
+
import { InputField as to } from "./InputField/InputField.js";
|
|
29
|
+
import { Label as po } from "./Label/Label.js";
|
|
30
|
+
import { MenuLink as mo } from "./MenuLink/MenuLink.js";
|
|
31
|
+
import { MetaDataList as io } from "./MetaDataList/MetaDataList.js";
|
|
32
|
+
import { ModalDialog as no } from "./ModalDialog/ModalDialog.js";
|
|
33
|
+
import { M as uo } from "../TablePlugin-BvwAKpcu.js";
|
|
34
|
+
import { OverlayCloseButton as so } from "./OverlayCloseButton/OverlayCloseButton.js";
|
|
35
|
+
import { PageOverlay as So } from "./PageOverlay/PageOverlay.js";
|
|
36
|
+
import { Periods as ko } from "./Periods/Periods.js";
|
|
37
|
+
import { PeriodSelector as Fo } from "./PeriodSelector/PeriodSelector.js";
|
|
38
|
+
import { ProgrammeCard as Mo } from "./ProgrammeCard/ProgrammeCard.js";
|
|
39
|
+
import { RadioButton as Po } from "./RadioButton/RadioButton.js";
|
|
40
|
+
import { Repeater as Ro } from "./Repeater/Repeater.js";
|
|
41
|
+
import { Rte as ho, RteEditor as yo } from "./RteEditor/RteEditor.js";
|
|
42
|
+
import { SectionNotification as vo } from "./SectionNotification/SectionNotification.js";
|
|
43
|
+
import { SelectListbox as Eo } from "./SelectListbox/SelectListbox.js";
|
|
44
|
+
import { SelectProvider as Ho, useSelect as Oo } from "./SelectListbox/SelectProvider.js";
|
|
45
45
|
import { Sortable as zo } from "./Sortable/Sortable.js";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
46
|
+
import { Spinner as jo } from "./Spinner/Spinner.js";
|
|
47
|
+
import { StatusPill as Jo } from "./StatusPill/StatusPill.js";
|
|
48
|
+
import { Tooltip as Qo } from "./Tooltip/Tooltip.js";
|
|
48
49
|
export {
|
|
49
50
|
t as Accordion,
|
|
50
51
|
p as ActionList,
|
|
51
52
|
m as AppStatusBar,
|
|
52
53
|
i as Attention,
|
|
53
54
|
n as Backdrop,
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
d as Button,
|
|
56
|
+
u as ButtonGroup,
|
|
56
57
|
C as Card,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
L as Checkbox,
|
|
59
|
+
I as CheckboxButton,
|
|
60
|
+
D as CheckboxButtonBar,
|
|
60
61
|
g as CheckboxTree,
|
|
61
62
|
y as Drawer,
|
|
62
63
|
v as EmptyStateDataDisplay,
|
|
@@ -64,36 +65,37 @@ export {
|
|
|
64
65
|
H as FieldHint,
|
|
65
66
|
T as Fieldset,
|
|
66
67
|
N as FormField,
|
|
67
|
-
q as
|
|
68
|
-
K as
|
|
69
|
-
U as
|
|
70
|
-
W as
|
|
71
|
-
Y as
|
|
72
|
-
_ as
|
|
73
|
-
oo as
|
|
74
|
-
to as
|
|
75
|
-
|
|
76
|
-
B as
|
|
77
|
-
|
|
78
|
-
mo as
|
|
79
|
-
io as
|
|
80
|
-
no as
|
|
81
|
-
|
|
82
|
-
so as
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Ro as
|
|
89
|
-
|
|
90
|
-
yo as
|
|
91
|
-
vo as
|
|
92
|
-
Eo as
|
|
68
|
+
q as FormInput,
|
|
69
|
+
K as GridRow,
|
|
70
|
+
U as HorizontalList,
|
|
71
|
+
W as Icon,
|
|
72
|
+
Y as IconButton,
|
|
73
|
+
_ as InfoMessage,
|
|
74
|
+
oo as Input,
|
|
75
|
+
to as InputField,
|
|
76
|
+
po as Label,
|
|
77
|
+
B as LinkButton,
|
|
78
|
+
b as MenuButton,
|
|
79
|
+
mo as MenuLink,
|
|
80
|
+
io as MetaDataList,
|
|
81
|
+
no as ModalDialog,
|
|
82
|
+
uo as MultiSelect,
|
|
83
|
+
so as OverlayCloseButton,
|
|
84
|
+
So as PageOverlay,
|
|
85
|
+
Fo as PeriodSelector,
|
|
86
|
+
ko as Periods,
|
|
87
|
+
Mo as ProgrammeCard,
|
|
88
|
+
Po as RadioButton,
|
|
89
|
+
Ro as Repeater,
|
|
90
|
+
ho as Rte,
|
|
91
|
+
yo as RteEditor,
|
|
92
|
+
vo as SectionNotification,
|
|
93
|
+
Eo as SelectListbox,
|
|
94
|
+
Ho as SelectProvider,
|
|
93
95
|
zo as Sortable,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
jo as Spinner,
|
|
97
|
+
Jo as StatusPill,
|
|
98
|
+
Qo as Tooltip,
|
|
99
|
+
Oo as useSelect
|
|
98
100
|
};
|
|
99
101
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import { ActionList as p } from "./components/ActionList/ActionList.js";
|
|
|
3
3
|
import { AppStatusBar as m } from "./components/AppStatusBar/AppStatusBar.js";
|
|
4
4
|
import { Attention as i } from "./components/Attention/Attention.js";
|
|
5
5
|
import { Backdrop as n } from "./components/Backdrop/Backdrop.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { ButtonGroup as u } from "./components/ButtonGroup/ButtonGroup.js";
|
|
7
|
+
import { Button as d } from "./components/Buttons/Button.js";
|
|
8
|
+
import { LinkButton as B } from "./components/Buttons/LinkButton.js";
|
|
9
|
+
import { MenuButton as b } from "./components/Buttons/MenuButton.js";
|
|
10
10
|
import { Card as C } from "./components/Card/Card.js";
|
|
11
|
-
import { Checkbox as
|
|
12
|
-
import { CheckboxButton as
|
|
13
|
-
import { CheckboxButtonBar as
|
|
11
|
+
import { Checkbox as L } from "./components/Checkbox/Checkbox.js";
|
|
12
|
+
import { CheckboxButton as I } from "./components/CheckboxButton/CheckboxButton.js";
|
|
13
|
+
import { CheckboxButtonBar as D } from "./components/CheckboxButtonBar/CheckboxButtonBar.js";
|
|
14
14
|
import { CheckboxTree as g } from "./components/CheckboxTree/CheckboxTree.js";
|
|
15
15
|
import { Drawer as y } from "./components/Drawer/Drawer.js";
|
|
16
16
|
import { EmptyStateDataDisplay as v } from "./components/EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
@@ -18,45 +18,46 @@ import { FeedbackBox as E } from "./components/FeedbackBox/FeedbackBox.js";
|
|
|
18
18
|
import { FieldHint as H } from "./components/FieldHint/FieldHint.js";
|
|
19
19
|
import { Fieldset as T } from "./components/Fieldset/Fieldset.js";
|
|
20
20
|
import { FormField as N } from "./components/FormField/FormField.js";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
21
|
+
import { FormInput as q } from "./components/FormInput/FormInput.js";
|
|
22
|
+
import { GridRow as K } from "./components/GridRow/GridRow.js";
|
|
23
|
+
import { HorizontalList as U } from "./components/HorizontalList/HorizontalList.js";
|
|
24
|
+
import { Icon as W } from "./components/Icon/Icon.js";
|
|
25
|
+
import { IconButton as Y } from "./components/IconButton/IconButton.js";
|
|
26
|
+
import { InfoMessage as _ } from "./components/InfoMessage/InfoMessage.js";
|
|
27
|
+
import { Input as oo } from "./components/Input/Input.js";
|
|
28
|
+
import { InputField as to } from "./components/InputField/InputField.js";
|
|
29
|
+
import { Label as po } from "./components/Label/Label.js";
|
|
30
|
+
import { MenuLink as mo } from "./components/MenuLink/MenuLink.js";
|
|
31
|
+
import { MetaDataList as io } from "./components/MetaDataList/MetaDataList.js";
|
|
32
|
+
import { ModalDialog as no } from "./components/ModalDialog/ModalDialog.js";
|
|
33
|
+
import { M as uo } from "./TablePlugin-BvwAKpcu.js";
|
|
34
|
+
import { OverlayCloseButton as so } from "./components/OverlayCloseButton/OverlayCloseButton.js";
|
|
35
|
+
import { PageOverlay as So } from "./components/PageOverlay/PageOverlay.js";
|
|
36
|
+
import { Periods as ko } from "./components/Periods/Periods.js";
|
|
37
|
+
import { PeriodSelector as Fo } from "./components/PeriodSelector/PeriodSelector.js";
|
|
38
|
+
import { ProgrammeCard as Mo } from "./components/ProgrammeCard/ProgrammeCard.js";
|
|
39
|
+
import { RadioButton as Po } from "./components/RadioButton/RadioButton.js";
|
|
40
|
+
import { Repeater as Ro } from "./components/Repeater/Repeater.js";
|
|
41
|
+
import { Rte as ho, RteEditor as yo } from "./components/RteEditor/RteEditor.js";
|
|
42
|
+
import { SectionNotification as vo } from "./components/SectionNotification/SectionNotification.js";
|
|
43
|
+
import { SelectListbox as Eo } from "./components/SelectListbox/SelectListbox.js";
|
|
44
|
+
import { SelectProvider as Ho, useSelect as Oo } from "./components/SelectListbox/SelectProvider.js";
|
|
45
45
|
import { Sortable as zo } from "./components/Sortable/Sortable.js";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
46
|
+
import { Spinner as jo } from "./components/Spinner/Spinner.js";
|
|
47
|
+
import { StatusPill as Jo } from "./components/StatusPill/StatusPill.js";
|
|
48
|
+
import { Tooltip as Qo } from "./components/Tooltip/Tooltip.js";
|
|
48
49
|
export {
|
|
49
50
|
t as Accordion,
|
|
50
51
|
p as ActionList,
|
|
51
52
|
m as AppStatusBar,
|
|
52
53
|
i as Attention,
|
|
53
54
|
n as Backdrop,
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
d as Button,
|
|
56
|
+
u as ButtonGroup,
|
|
56
57
|
C as Card,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
L as Checkbox,
|
|
59
|
+
I as CheckboxButton,
|
|
60
|
+
D as CheckboxButtonBar,
|
|
60
61
|
g as CheckboxTree,
|
|
61
62
|
y as Drawer,
|
|
62
63
|
v as EmptyStateDataDisplay,
|
|
@@ -64,36 +65,37 @@ export {
|
|
|
64
65
|
H as FieldHint,
|
|
65
66
|
T as Fieldset,
|
|
66
67
|
N as FormField,
|
|
67
|
-
q as
|
|
68
|
-
K as
|
|
69
|
-
U as
|
|
70
|
-
W as
|
|
71
|
-
Y as
|
|
72
|
-
_ as
|
|
73
|
-
oo as
|
|
74
|
-
to as
|
|
75
|
-
|
|
76
|
-
B as
|
|
77
|
-
|
|
78
|
-
mo as
|
|
79
|
-
io as
|
|
80
|
-
no as
|
|
81
|
-
|
|
82
|
-
so as
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Ro as
|
|
89
|
-
|
|
90
|
-
yo as
|
|
91
|
-
vo as
|
|
92
|
-
Eo as
|
|
68
|
+
q as FormInput,
|
|
69
|
+
K as GridRow,
|
|
70
|
+
U as HorizontalList,
|
|
71
|
+
W as Icon,
|
|
72
|
+
Y as IconButton,
|
|
73
|
+
_ as InfoMessage,
|
|
74
|
+
oo as Input,
|
|
75
|
+
to as InputField,
|
|
76
|
+
po as Label,
|
|
77
|
+
B as LinkButton,
|
|
78
|
+
b as MenuButton,
|
|
79
|
+
mo as MenuLink,
|
|
80
|
+
io as MetaDataList,
|
|
81
|
+
no as ModalDialog,
|
|
82
|
+
uo as MultiSelect,
|
|
83
|
+
so as OverlayCloseButton,
|
|
84
|
+
So as PageOverlay,
|
|
85
|
+
Fo as PeriodSelector,
|
|
86
|
+
ko as Periods,
|
|
87
|
+
Mo as ProgrammeCard,
|
|
88
|
+
Po as RadioButton,
|
|
89
|
+
Ro as Repeater,
|
|
90
|
+
ho as Rte,
|
|
91
|
+
yo as RteEditor,
|
|
92
|
+
vo as SectionNotification,
|
|
93
|
+
Eo as SelectListbox,
|
|
94
|
+
Ho as SelectProvider,
|
|
93
95
|
zo as Sortable,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
jo as Spinner,
|
|
97
|
+
Jo as StatusPill,
|
|
98
|
+
Qo as Tooltip,
|
|
99
|
+
Oo as useSelect
|
|
98
100
|
};
|
|
99
101
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|