@uva-glass/component-library 1.5.0 → 1.6.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/{SelectListbox.module-1nd3xIGj.js → SelectListbox.module-DSjx989r.js} +1 -2
- package/dist/SelectListbox.module-DSjx989r.js.map +1 -0
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/InfoMessage.css +1 -1
- package/dist/assets/SectionNotification.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/components/Button/Button.js +10 -11
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Card/Card.js +9 -10
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/IconButton/IconButton.js +12 -13
- package/dist/components/IconButton/IconButton.js.map +1 -1
- package/dist/components/InfoMessage/InfoMessage.js +8 -9
- package/dist/components/InfoMessage/InfoMessage.js.map +1 -1
- package/dist/components/SectionNotification/SectionNotification.js +2 -3
- package/dist/components/SectionNotification/SectionNotification.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +1 -1
- package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +1 -1
- package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
- package/package.json +10 -10
- package/dist/SelectListbox.module-1nd3xIGj.js.map +0 -1
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../clsx-DB4S2d7J.js";
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import '../../assets/Button.css';const
|
|
5
|
-
|
|
6
|
-
button: a,
|
|
3
|
+
import { forwardRef as _ } from "react";
|
|
4
|
+
import '../../assets/Button.css';const c = "_button_1gimu_3", t = {
|
|
5
|
+
button: c,
|
|
7
6
|
"button--blank": "_button--blank_1gimu_36",
|
|
8
7
|
"button--primary": "_button--primary_1gimu_53",
|
|
9
8
|
"button--secondary": "_button--secondary_1gimu_69",
|
|
10
9
|
"button--destructive-primary": "_button--destructive-primary_1gimu_85",
|
|
11
10
|
"button--destructive-secondary": "_button--destructive-secondary_1gimu_103",
|
|
12
11
|
"button--wide-column": "_button--wide-column_1gimu_121"
|
|
13
|
-
},
|
|
14
|
-
const { children: u, type: r = "button", variant:
|
|
15
|
-
return /* @__PURE__ */
|
|
12
|
+
}, p = _((o, n) => {
|
|
13
|
+
const { children: u, type: r = "button", variant: e, displayColumn: i = !1, ...s } = o;
|
|
14
|
+
return /* @__PURE__ */ b(
|
|
16
15
|
"button",
|
|
17
16
|
{
|
|
18
17
|
...s,
|
|
19
18
|
type: r,
|
|
20
19
|
ref: n,
|
|
21
|
-
className: m(t.button, t[`button--${
|
|
22
|
-
[t["button--wide-column"]]:
|
|
20
|
+
className: m(t.button, t[`button--${e}`], {
|
|
21
|
+
[t["button--wide-column"]]: i
|
|
23
22
|
}),
|
|
24
23
|
children: u
|
|
25
24
|
}
|
|
26
25
|
);
|
|
27
26
|
});
|
|
28
27
|
export {
|
|
29
|
-
|
|
28
|
+
p as Button
|
|
30
29
|
};
|
|
31
30
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef } from 'react';\n\nimport type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport styles from './Button.module.css';\n\nexport type UIButtonVariant = 'primary' | 'secondary' | 'destructive-primary' | 'destructive-secondary' | 'blank';\n\nexport interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'style'> {\n variant: UIButtonVariant;\n children: ReactNode;\n displayColumn?: boolean;\n}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>((props, forwardedRef) => {\n const { children, type = 'button', variant, displayColumn = false, ...restProps } = props;\n\n return (\n <button\n {...restProps}\n type={type}\n ref={forwardedRef}\n className={clsx(styles['button'], styles[`button--${variant}`], {\n [styles['button--wide-column']]: displayColumn,\n })}\n >\n {children}\n </button>\n );\n});\n"],"names":["Button","forwardRef","props","forwardedRef","children","type","variant","displayColumn","restProps","jsx","clsx","styles"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef } from 'react';\n\nimport type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport styles from './Button.module.css';\n\nexport type UIButtonVariant = 'primary' | 'secondary' | 'destructive-primary' | 'destructive-secondary' | 'blank';\n\nexport interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'style'> {\n variant: UIButtonVariant;\n children: ReactNode;\n displayColumn?: boolean;\n}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>((props, forwardedRef) => {\n const { children, type = 'button', variant, displayColumn = false, ...restProps } = props;\n\n return (\n <button\n {...restProps}\n type={type}\n ref={forwardedRef}\n className={clsx(styles['button'], styles[`button--${variant}`], {\n [styles['button--wide-column']]: displayColumn,\n })}\n >\n {children}\n </button>\n );\n});\n"],"names":["Button","forwardRef","props","forwardedRef","children","type","variant","displayColumn","restProps","jsx","clsx","styles"],"mappings":";;;;;;;;;;;GAeaA,IAASC,EAA2C,CAACC,GAAOC,MAAiB;AAClF,QAAA,EAAE,UAAAC,GAAU,MAAAC,IAAO,UAAU,SAAAC,GAAS,eAAAC,IAAgB,IAAO,GAAGC,EAAc,IAAAN;AAGlF,SAAA,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAGD;AAAA,MACJ,MAAAH;AAAA,MACA,KAAKF;AAAA,MACL,WAAWO,EAAKC,EAAO,QAAWA,EAAO,WAAWL,CAAO,EAAE,GAAG;AAAA,QAC9D,CAACK,EAAO,qBAAqB,CAAC,GAAGJ;AAAA,MAAA,CAClC;AAAA,MAEA,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsxs as h, jsx as
|
|
1
|
+
import { jsxs as h, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../clsx-DB4S2d7J.js";
|
|
3
|
-
import { SectionNotification as
|
|
4
|
-
import '../../assets/Card.css';const
|
|
5
|
-
|
|
6
|
-
card: n,
|
|
3
|
+
import { SectionNotification as o } from "../SectionNotification/SectionNotification.js";
|
|
4
|
+
import '../../assets/Card.css';const g = "_card_aw9hz_3", a = {
|
|
5
|
+
card: g,
|
|
7
6
|
"card--regular": "_card--regular_aw9hz_9",
|
|
8
7
|
"card--large": "_card--large_aw9hz_10",
|
|
9
8
|
"card--small": "_card--small_aw9hz_15",
|
|
@@ -11,10 +10,10 @@ import '../../assets/Card.css';const n = "_card_aw9hz_3", a = {
|
|
|
11
10
|
"card--high-contrast": "_card--high-contrast_aw9hz_35",
|
|
12
11
|
"card--align-center": "_card--align-center_aw9hz_39"
|
|
13
12
|
}, w = ({
|
|
14
|
-
children:
|
|
13
|
+
children: d,
|
|
15
14
|
header: c,
|
|
16
15
|
highContrast: s,
|
|
17
|
-
notification:
|
|
16
|
+
notification: e,
|
|
18
17
|
padding: r = "regular",
|
|
19
18
|
alignCenter: _ = !1
|
|
20
19
|
}) => /* @__PURE__ */ h(
|
|
@@ -28,9 +27,9 @@ import '../../assets/Card.css';const n = "_card_aw9hz_3", a = {
|
|
|
28
27
|
[a["card--align-center"]]: _
|
|
29
28
|
}),
|
|
30
29
|
children: [
|
|
31
|
-
|
|
32
|
-
c && /* @__PURE__ */
|
|
33
|
-
|
|
30
|
+
e && /* @__PURE__ */ l(o, { children: e }),
|
|
31
|
+
c && /* @__PURE__ */ l("div", { className: a["card-header"], children: c }),
|
|
32
|
+
d
|
|
34
33
|
]
|
|
35
34
|
}
|
|
36
35
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../../src/components/Card/Card.tsx"],"sourcesContent":["import classNames from 'clsx';\n\nimport type { PropsWithChildren, ReactNode } from 'react';\n\nimport styles from './Card.module.css';\n\nimport { SectionNotification } from 'components/SectionNotification';\n\nexport interface CardProps {\n header?: ReactNode;\n highContrast?: boolean;\n notification?: ReactNode;\n padding?: 'small' | 'regular' | 'large';\n alignCenter?: boolean;\n}\n\nexport const Card = ({\n children,\n header,\n highContrast,\n notification,\n padding = 'regular',\n alignCenter = false,\n}: PropsWithChildren<CardProps>) => (\n <div\n className={classNames(styles['card'], {\n [styles['card--high-contrast']]: highContrast,\n [styles['card--regular']]: padding === 'regular',\n [styles['card--small']]: padding === 'small',\n [styles['card--large']]: padding === 'large',\n [styles['card--align-center']]: alignCenter,\n })}\n >\n {notification && <SectionNotification>{notification}</SectionNotification>}\n {header && <div className={styles['card-header']}>{header}</div>}\n {children}\n </div>\n);\n"],"names":["Card","children","header","highContrast","notification","padding","alignCenter","jsxs","classNames","styles","jsx","SectionNotification"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.js","sources":["../../../src/components/Card/Card.tsx"],"sourcesContent":["import classNames from 'clsx';\n\nimport type { PropsWithChildren, ReactNode } from 'react';\n\nimport styles from './Card.module.css';\n\nimport { SectionNotification } from 'components/SectionNotification';\n\nexport interface CardProps {\n header?: ReactNode;\n highContrast?: boolean;\n notification?: ReactNode;\n padding?: 'small' | 'regular' | 'large';\n alignCenter?: boolean;\n}\n\nexport const Card = ({\n children,\n header,\n highContrast,\n notification,\n padding = 'regular',\n alignCenter = false,\n}: PropsWithChildren<CardProps>) => (\n <div\n className={classNames(styles['card'], {\n [styles['card--high-contrast']]: highContrast,\n [styles['card--regular']]: padding === 'regular',\n [styles['card--small']]: padding === 'small',\n [styles['card--large']]: padding === 'large',\n [styles['card--align-center']]: alignCenter,\n })}\n >\n {notification && <SectionNotification>{notification}</SectionNotification>}\n {header && <div className={styles['card-header']}>{header}</div>}\n {children}\n </div>\n);\n"],"names":["Card","children","header","highContrast","notification","padding","alignCenter","jsxs","classNames","styles","jsx","SectionNotification"],"mappings":";;;;;;;;;;;GAgBaA,IAAO,CAAC;AAAA,EACnB,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,aAAAC,IAAc;AAChB,MACE,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAWC,EAAO,MAAS;AAAA,MACpC,CAACA,EAAO,qBAAqB,CAAC,GAAGN;AAAA,MACjC,CAACM,EAAO,eAAe,CAAC,GAAGJ,MAAY;AAAA,MACvC,CAACI,EAAO,aAAa,CAAC,GAAGJ,MAAY;AAAA,MACrC,CAACI,EAAO,aAAa,CAAC,GAAGJ,MAAY;AAAA,MACrC,CAACI,EAAO,oBAAoB,CAAC,GAAGH;AAAA,IAAA,CACjC;AAAA,IAEA,UAAA;AAAA,MAAgBF,KAAA,gBAAAM,EAACC,KAAqB,UAAaP,EAAA,CAAA;AAAA,MACnDF,KAAW,gBAAAQ,EAAA,OAAA,EAAI,WAAWD,EAAO,aAAa,GAAI,UAAOP,GAAA;AAAA,MACzDD;AAAA,IAAA;AAAA,EAAA;AACH;"}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../clsx-DB4S2d7J.js";
|
|
3
|
+
import { forwardRef as s } from "react";
|
|
4
4
|
import '../../assets/IconButton.css';const t = {
|
|
5
|
-
"visually-hidden": "_visually-hidden_ldxal_1",
|
|
6
5
|
"icon-button": "_icon-button_ldxal_3",
|
|
7
6
|
"icon-button--destructive": "_icon-button--destructive_ldxal_29",
|
|
8
7
|
"icon-button--no-border": "_icon-button--no-border_ldxal_37",
|
|
9
8
|
"icon-button--wide": "_icon-button--wide_ldxal_46"
|
|
10
|
-
},
|
|
11
|
-
({ children: o, type: n = "button", variant:
|
|
9
|
+
}, m = s(
|
|
10
|
+
({ children: o, type: n = "button", variant: c, noBorder: i, wide: r, ...e }, u) => /* @__PURE__ */ b(
|
|
12
11
|
"button",
|
|
13
12
|
{
|
|
14
|
-
...
|
|
15
|
-
className:
|
|
16
|
-
[t["icon-button--destructive"]]:
|
|
17
|
-
[t["icon-button--no-border"]]:
|
|
18
|
-
[t["icon-button--wide"]]:
|
|
13
|
+
...e,
|
|
14
|
+
className: d(t["icon-button"], {
|
|
15
|
+
[t["icon-button--destructive"]]: c === "destructive",
|
|
16
|
+
[t["icon-button--no-border"]]: i,
|
|
17
|
+
[t["icon-button--wide"]]: r
|
|
19
18
|
}),
|
|
20
|
-
ref:
|
|
19
|
+
ref: u,
|
|
21
20
|
type: n,
|
|
22
21
|
children: o
|
|
23
22
|
}
|
|
24
23
|
)
|
|
25
24
|
);
|
|
26
25
|
export {
|
|
27
|
-
|
|
26
|
+
m as IconButton
|
|
28
27
|
};
|
|
29
28
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.js","sources":["../../../src/components/IconButton/IconButton.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef } from 'react';\n\nimport type { ButtonHTMLAttributes } from 'react';\n\nimport styles from './IconButton.module.css';\n\nexport interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'style'> {\n 'aria-label': string;\n variant?: 'destructive';\n noBorder?: boolean;\n wide?: boolean;\n}\n\nexport const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n ({ children, type = 'button', variant, noBorder, wide, ...restProps }: IconButtonProps, forwardedRef) => (\n <button\n {...restProps}\n className={clsx(styles['icon-button'], {\n [styles['icon-button--destructive']]: variant === 'destructive',\n [styles['icon-button--no-border']]: noBorder,\n [styles['icon-button--wide']]: wide,\n })}\n ref={forwardedRef}\n type={type}\n >\n {children}\n </button>\n )\n);\n"],"names":["IconButton","forwardRef","children","type","variant","noBorder","wide","restProps","forwardedRef","jsx","clsx","styles"],"mappings":"
|
|
1
|
+
{"version":3,"file":"IconButton.js","sources":["../../../src/components/IconButton/IconButton.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef } from 'react';\n\nimport type { ButtonHTMLAttributes } from 'react';\n\nimport styles from './IconButton.module.css';\n\nexport interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'style'> {\n 'aria-label': string;\n variant?: 'destructive';\n noBorder?: boolean;\n wide?: boolean;\n}\n\nexport const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n ({ children, type = 'button', variant, noBorder, wide, ...restProps }: IconButtonProps, forwardedRef) => (\n <button\n {...restProps}\n className={clsx(styles['icon-button'], {\n [styles['icon-button--destructive']]: variant === 'destructive',\n [styles['icon-button--no-border']]: noBorder,\n [styles['icon-button--wide']]: wide,\n })}\n ref={forwardedRef}\n type={type}\n >\n {children}\n </button>\n )\n);\n"],"names":["IconButton","forwardRef","children","type","variant","noBorder","wide","restProps","forwardedRef","jsx","clsx","styles"],"mappings":";;;;;;;;GAcaA,IAAaC;AAAA,EACxB,CAAC,EAAE,UAAAC,GAAU,MAAAC,IAAO,UAAU,SAAAC,GAAS,UAAAC,GAAU,MAAAC,GAAM,GAAGC,KAA8BC,MACtF,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAGF;AAAA,MACJ,WAAWG,EAAKC,EAAO,aAAa,GAAG;AAAA,QACrC,CAACA,EAAO,0BAA0B,CAAC,GAAGP,MAAY;AAAA,QAClD,CAACO,EAAO,wBAAwB,CAAC,GAAGN;AAAA,QACpC,CAACM,EAAO,mBAAmB,CAAC,GAAGL;AAAA,MAAA,CAChC;AAAA,MACD,KAAKE;AAAA,MACL,MAAAL;AAAA,MAEC,UAAAD;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Icon as
|
|
1
|
+
import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../clsx-DB4S2d7J.js";
|
|
3
|
+
import { Icon as _ } from "../Icon/Icon.js";
|
|
4
4
|
import '../../assets/InfoMessage.css';const e = {
|
|
5
|
-
"visually-hidden": "_visually-hidden_elg9f_1",
|
|
6
5
|
"info-message": "_info-message_elg9f_3",
|
|
7
6
|
"info-message__container": "_info-message__container_elg9f_8",
|
|
8
7
|
"info-message__icon": "_info-message__icon_elg9f_13"
|
|
9
|
-
},
|
|
8
|
+
}, g = ({ message: s, hasOwnContainer: o = !1 }) => /* @__PURE__ */ n(
|
|
10
9
|
"div",
|
|
11
10
|
{
|
|
12
|
-
className:
|
|
13
|
-
[e["info-message__container"]]:
|
|
11
|
+
className: a(e["info-message"], {
|
|
12
|
+
[e["info-message__container"]]: o
|
|
14
13
|
}),
|
|
15
14
|
children: [
|
|
16
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ i(_, { name: "InformationCircleFillMini", className: e["info-message__icon"] }),
|
|
17
16
|
s
|
|
18
17
|
]
|
|
19
18
|
}
|
|
20
19
|
);
|
|
21
20
|
export {
|
|
22
|
-
|
|
21
|
+
g as InfoMessage
|
|
23
22
|
};
|
|
24
23
|
//# sourceMappingURL=InfoMessage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoMessage.js","sources":["../../../src/components/InfoMessage/InfoMessage.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport type { PropsWithChildren } from 'react';\n\nimport styles from './InfoMessage.module.css';\n\nimport { Icon } from 'components/Icon';\n\nexport interface InfoMessageProps {\n message: string;\n hasOwnContainer?: boolean;\n}\n\nexport const InfoMessage = ({ message, hasOwnContainer = false }: PropsWithChildren<InfoMessageProps>) => (\n <div\n className={clsx(styles['info-message'], {\n [styles['info-message__container']]: hasOwnContainer,\n })}\n >\n <Icon name=\"InformationCircleFillMini\" className={styles['info-message__icon']} />\n {message}\n </div>\n);\n"],"names":["InfoMessage","message","hasOwnContainer","jsxs","clsx","styles","jsx","Icon"],"mappings":"
|
|
1
|
+
{"version":3,"file":"InfoMessage.js","sources":["../../../src/components/InfoMessage/InfoMessage.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport type { PropsWithChildren } from 'react';\n\nimport styles from './InfoMessage.module.css';\n\nimport { Icon } from 'components/Icon';\n\nexport interface InfoMessageProps {\n message: string;\n hasOwnContainer?: boolean;\n}\n\nexport const InfoMessage = ({ message, hasOwnContainer = false }: PropsWithChildren<InfoMessageProps>) => (\n <div\n className={clsx(styles['info-message'], {\n [styles['info-message__container']]: hasOwnContainer,\n })}\n >\n <Icon name=\"InformationCircleFillMini\" className={styles['info-message__icon']} />\n {message}\n </div>\n);\n"],"names":["InfoMessage","message","hasOwnContainer","jsxs","clsx","styles","jsx","Icon"],"mappings":";;;;;;;GAaaA,IAAc,CAAC,EAAE,SAAAC,GAAS,iBAAAC,IAAkB,GACvD,MAAA,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAKC,EAAO,cAAc,GAAG;AAAA,MACtC,CAACA,EAAO,yBAAyB,CAAC,GAAGH;AAAA,IAAA,CACtC;AAAA,IAED,UAAA;AAAA,MAAA,gBAAAI,EAACC,KAAK,MAAK,6BAA4B,WAAWF,EAAO,oBAAoB,GAAG;AAAA,MAC/EJ;AAAA,IAAA;AAAA,EAAA;AACH;"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c
|
|
2
|
+
import { c } from "../../clsx-DB4S2d7J.js";
|
|
3
3
|
import '../../assets/SectionNotification.css';const i = {
|
|
4
|
-
"visually-hidden": "_visually-hidden_xsb8x_1",
|
|
5
4
|
"section-notification": "_section-notification_xsb8x_3",
|
|
6
5
|
"section-notification--fullwidth": "_section-notification--fullwidth_xsb8x_12"
|
|
7
6
|
}, a = ({ fullWidth: t = !1, children: o }) => /* @__PURE__ */ n(
|
|
8
7
|
"div",
|
|
9
8
|
{
|
|
10
|
-
className:
|
|
9
|
+
className: c(i["section-notification"], {
|
|
11
10
|
[i["section-notification--fullwidth"]]: t
|
|
12
11
|
}),
|
|
13
12
|
children: o
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionNotification.js","sources":["../../../src/components/SectionNotification/SectionNotification.tsx"],"sourcesContent":["import classNames from 'clsx';\n\nimport type { PropsWithChildren } from 'react';\n\nimport styles from './SectionNotification.module.css';\n\nexport interface SectionNotificationProps {\n fullWidth?: boolean;\n}\n\nexport const SectionNotification = ({ fullWidth = false, children }: PropsWithChildren<SectionNotificationProps>) => (\n <div\n className={classNames(styles['section-notification'], {\n [styles['section-notification--fullwidth']]: fullWidth,\n })}\n >\n {children}\n </div>\n);\n"],"names":["SectionNotification","fullWidth","children","jsx","classNames","styles"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionNotification.js","sources":["../../../src/components/SectionNotification/SectionNotification.tsx"],"sourcesContent":["import classNames from 'clsx';\n\nimport type { PropsWithChildren } from 'react';\n\nimport styles from './SectionNotification.module.css';\n\nexport interface SectionNotificationProps {\n fullWidth?: boolean;\n}\n\nexport const SectionNotification = ({ fullWidth = false, children }: PropsWithChildren<SectionNotificationProps>) => (\n <div\n className={classNames(styles['section-notification'], {\n [styles['section-notification--fullwidth']]: fullWidth,\n })}\n >\n {children}\n </div>\n);\n"],"names":["SectionNotification","fullWidth","children","jsx","classNames","styles"],"mappings":";;;;;GAUaA,IAAsB,CAAC,EAAE,WAAAC,IAAY,IAAO,UAAAC,EACvD,MAAA,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAWC,EAAO,sBAAsB,GAAG;AAAA,MACpD,CAACA,EAAO,iCAAiC,CAAC,GAAGJ;AAAA,IAAA,CAC9C;AAAA,IAEA,UAAAC;AAAA,EAAA;AACH;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { c as f } from "../../../clsx-DB4S2d7J.js";
|
|
3
3
|
import { forwardRef as E, useRef as g, useEffect as c } from "react";
|
|
4
|
-
import { s as t } from "../../../SelectListbox.module-
|
|
4
|
+
import { s as t } from "../../../SelectListbox.module-DSjx989r.js";
|
|
5
5
|
import { Icon as L } from "../../Icon/Icon.js";
|
|
6
6
|
import { useSelect as N } from "../SelectProvider.js";
|
|
7
7
|
const O = E((d, u) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as i, useCallback as u, useEffect as l } from "react";
|
|
3
3
|
import { useSelect as m } from "../SelectProvider.js";
|
|
4
|
-
import { s as f } from "../../../SelectListbox.module-
|
|
4
|
+
import { s as f } from "../../../SelectListbox.module-DSjx989r.js";
|
|
5
5
|
const E = ({ children: o }) => {
|
|
6
6
|
const { isOpen: r, setIsOpen: n } = m(), t = i(null), e = u(
|
|
7
7
|
({ target: s }) => {
|
|
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as v } from "../../../clsx-DB4S2d7J.js";
|
|
3
3
|
import { useRef as D, useEffect as p } from "react";
|
|
4
4
|
import { useSelect as y } from "../SelectProvider.js";
|
|
5
|
-
import { s as b } from "../../../SelectListbox.module-
|
|
5
|
+
import { s as b } from "../../../SelectListbox.module-DSjx989r.js";
|
|
6
6
|
const S = ({ option: t, index: l, children: m }) => {
|
|
7
7
|
const o = D(null), { isOpen: r, activeIndex: s, setActiveIndex: c, selectedValue: f, setSelectedValue: u, setIsOpen: i, options: a } = y(), w = (e) => {
|
|
8
8
|
u(a[e]), i(!1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, useRef as x } from "react";
|
|
3
|
-
import { s as i } from "../../../SelectListbox.module-
|
|
3
|
+
import { s as i } from "../../../SelectListbox.module-DSjx989r.js";
|
|
4
4
|
import { useSelect as a } from "../SelectProvider.js";
|
|
5
5
|
const h = m((l, e) => {
|
|
6
6
|
const { style: t, children: o } = l, { listboxId: r, isOpen: c } = a(), n = x(null);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uva-glass/component-library",
|
|
3
3
|
"author": "Team Glass - Frontend vrienden",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.6.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"@semantic-release/git": "^10.0.1",
|
|
45
45
|
"@semantic-release/gitlab": "^13.1.0",
|
|
46
46
|
"@semantic-release/npm": "^12.0.1",
|
|
47
|
-
"@storybook/addon-a11y": "^8.1.
|
|
48
|
-
"@storybook/addon-essentials": "^8.1.
|
|
49
|
-
"@storybook/addon-interactions": "^8.1.
|
|
50
|
-
"@storybook/addon-links": "^8.1.
|
|
51
|
-
"@storybook/blocks": "^8.1.
|
|
52
|
-
"@storybook/react": "^8.1.
|
|
53
|
-
"@storybook/react-vite": "^8.1.
|
|
54
|
-
"@storybook/test": "^8.1.
|
|
47
|
+
"@storybook/addon-a11y": "^8.1.1",
|
|
48
|
+
"@storybook/addon-essentials": "^8.1.1",
|
|
49
|
+
"@storybook/addon-interactions": "^8.1.1",
|
|
50
|
+
"@storybook/addon-links": "^8.1.1",
|
|
51
|
+
"@storybook/blocks": "^8.1.1",
|
|
52
|
+
"@storybook/react": "^8.1.1",
|
|
53
|
+
"@storybook/react-vite": "^8.1.1",
|
|
54
|
+
"@storybook/test": "^8.1.1",
|
|
55
55
|
"@types/node": "^20.12.12",
|
|
56
56
|
"@types/react": "^18.3.2",
|
|
57
57
|
"@types/react-dom": "^18.3.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react": "^18.3.1",
|
|
78
78
|
"react-dom": "^18.3.1",
|
|
79
79
|
"semantic-release": "^23.1.1",
|
|
80
|
-
"storybook": "^8.1.
|
|
80
|
+
"storybook": "^8.1.1",
|
|
81
81
|
"style-dictionary": "^3.9.2",
|
|
82
82
|
"stylelint": "^16.5.0",
|
|
83
83
|
"stylelint-config-recommended": "^14.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectListbox.module-1nd3xIGj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|