@quartzds/core 1.0.0-beta.8 → 1.0.0-beta.9
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/components/index.d.ts +2 -0
- package/components/index.js +1 -0
- package/components/index.js.map +1 -1
- package/components/qds-divider.d.ts +11 -0
- package/components/qds-divider.js +49 -0
- package/components/qds-divider.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qds-divider.cjs.entry.js +33 -0
- package/dist/cjs/qds-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/qds.cjs.js +1 -1
- package/dist/custom-elements.json +77 -0
- package/dist/docs.json +64 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/qds-divider.entry.js +29 -0
- package/dist/esm/qds-divider.entry.js.map +1 -0
- package/dist/esm/qds.js +1 -1
- package/dist/types/components/divider/divider.d.ts +22 -0
- package/dist/types/components.d.ts +51 -0
- package/dist/vscode.html-custom-data.json +21 -0
- package/hydrate/index.js +38 -0
- package/package.json +7 -7
package/components/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export { Button as QdsButton } from '../dist/types/components/button/button';
|
|
|
3
3
|
export { defineCustomElement as defineCustomElementQdsButton } from './qds-button';
|
|
4
4
|
export { Checkbox as QdsCheckbox } from '../dist/types/components/checkbox/checkbox';
|
|
5
5
|
export { defineCustomElement as defineCustomElementQdsCheckbox } from './qds-checkbox';
|
|
6
|
+
export { Divider as QdsDivider } from '../dist/types/components/divider/divider';
|
|
7
|
+
export { defineCustomElement as defineCustomElementQdsDivider } from './qds-divider';
|
|
6
8
|
export { Dropdown as QdsDropdown } from '../dist/types/components/dropdown/dropdown';
|
|
7
9
|
export { defineCustomElement as defineCustomElementQdsDropdown } from './qds-dropdown';
|
|
8
10
|
export { Icon as QdsIcon } from '../dist/types/components/icon/icon';
|
package/components/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/intern
|
|
|
7
7
|
export { r as registerIconLibrary, u as unregisterIconLibrary } from './icon.js';
|
|
8
8
|
export { QdsButton, defineCustomElement as defineCustomElementQdsButton } from './qds-button.js';
|
|
9
9
|
export { QdsCheckbox, defineCustomElement as defineCustomElementQdsCheckbox } from './qds-checkbox.js';
|
|
10
|
+
export { QdsDivider, defineCustomElement as defineCustomElementQdsDivider } from './qds-divider.js';
|
|
10
11
|
export { QdsDropdown, defineCustomElement as defineCustomElementQdsDropdown } from './qds-dropdown.js';
|
|
11
12
|
export { QdsIcon, defineCustomElement as defineCustomElementQdsIcon } from './qds-icon.js';
|
|
12
13
|
export { QdsInlineLink, defineCustomElement as defineCustomElementQdsInlineLink } from './qds-inline-link.js';
|
package/components/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index.js","mappings":"
|
|
1
|
+
{"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAEA,MAAM,WAAW,GAAG,CAAC,KAAwB;EAC3C,IAAI,KAAK,KAAK,SAAS;IAAE,OAAO,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAA;EAClE,IAAI,OAAO,KAAK,KAAK,QAAQ;IAC3B,OAAO,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,IAAI,SAAS,CAAA;EAC9D,OAAO,KAAK,CAAC,SAAS,CAAA;AACxB,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CACjB,IAAY,EACZ,SAAoC;EAEpC,IAAI,CAAC,SAAS;IAAE,OAAO,SAAS,CAAA;EAEhC,MAAM,MAAM,GAAG,OAAO,IAAI,GAAG,CAAA;EAE7B,OAAO,CAAC,GAAG,SAAS,CAAC;KAClB,IAAI,CAAC,CAAC,KAAa,KAAsB,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;MACjE,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;AACzB,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CACjB,IAAY,EACZ,KAAa,EACb,OAA0B;EAE1B,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC,CAAA;EACtC,IAAI,SAAS,KAAK,SAAS;IAAE,OAAM;EAEnC,MAAM,MAAM,GAAG,OAAO,IAAI,GAAG,CAAA;EAE7B,MAAM,cAAc,GAAG,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;EAClD,IAAI,cAAc,KAAK,SAAS;IAC9B,SAAS,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,cAAc,EAAE,CAAC,CAAA;EAChD,SAAS,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,KAAK,EAAE,CAAC,CAAA;AACpC,CAAC,CAAA;AAKD;;;;;;;;;;;;;;MAca,WAAW,GAAG,CACzB,OAAyB,KACF,UAAU,CAAC,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAAC;AAErE;;;;;;;;;;;;;;;MAea,WAAW,GAAG,CAKzB,QAAqB,EACrB,OAAyB;EAEzB,UAAU,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;AAC3C,EAAC;AAED;;;;;;;;;;;;;;MAca,QAAQ,GAAG,CACtB,OAAyB,KACF,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAC;AAElE;;;;;;;;;;;;;;;MAea,QAAQ,GAAG,CAKtB,KAAkB,EAClB,OAAyB;EAEzB,UAAU,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA;AACrC;;;;","names":[],"sources":["src/utils.ts"],"sourcesContent":["// SPDX-FileCopyrightText: © 2023 Schneider Electric\n//\n// SPDX-License-Identifier: LGPL-2.1-only\n\nconst toClassList = (value?: Element | string): DOMTokenList | undefined => {\n if (value === undefined) return document.documentElement.classList\n if (typeof value === 'string')\n return document.querySelector(value)?.classList ?? undefined\n return value.classList\n}\n\nconst getVariant = (\n type: string,\n classList?: DOMTokenList | undefined,\n): string | undefined => {\n if (!classList) return undefined\n\n const prefix = `qds-${type}-`\n\n return [...classList]\n .find((value: string): value is string => value.startsWith(prefix))\n ?.replace(prefix, '')\n}\n\nconst setVariant = (\n type: string,\n value: string,\n element?: Element | string,\n): void => {\n const classList = toClassList(element)\n if (classList === undefined) return\n\n const prefix = `qds-${type}-`\n\n const currentVariant = getVariant(type, classList)\n if (currentVariant !== undefined)\n classList.remove(`${prefix}${currentVariant}`)\n classList.add(`${prefix}${value}`)\n}\n\n// eslint-disable-next-line @typescript-eslint/no-type-alias\ntype NonEmpty<T extends string = string> = T extends '' ? never : T\n\n/**\n * Get the currently set platform.\n *\n * @param element The element where the platform will be retrieved from. Can be\n * either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n *\n * @returns The currently set platform if one is set, `undefined` otherwise.\n */\nexport const getPlatform = <S extends string, E extends Element = Element>(\n element?: E | NonEmpty<S>,\n): string | undefined => getVariant('platform', toClassList(element))\n\n/**\n * Sets the current platform.\n *\n * The current platform represented by a `qds-platform-`-prefixed CSS class\n * will be removed.\n *\n * @param platform The platform to set. Must be a non-empty value.\n * @param element The element where the platform will be set. Can be either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n */\nexport const setPlatform = <\n P extends string,\n S extends string = string,\n E extends Element = Element,\n>(\n platform: NonEmpty<P>,\n element?: E | NonEmpty<S>,\n): void => {\n setVariant('platform', platform, element)\n}\n\n/**\n * Get the currently set theme.\n *\n * @param element The element where the theme will be retrieved from. Can be\n * either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n *\n * @returns The currently set theme if one is set, `undefined` otherwise.\n */\nexport const getTheme = <S extends string, E extends Element = Element>(\n element?: E | NonEmpty<S>,\n): string | undefined => getVariant('theme', toClassList(element))\n\n/**\n * Sets the current theme.\n *\n * The current theme represented by a `qds-theme-`-prefixed CSS class will be\n * removed.\n *\n * @param theme The theme to set. Must be a non-empty value.\n * @param element The element where the theme will be set. Can be either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n */\nexport const setTheme = <\n T extends string,\n S extends string = string,\n E extends Element = Element,\n>(\n theme: NonEmpty<T>,\n element?: E | NonEmpty<S>,\n): void => {\n setVariant('theme', theme, element)\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface QdsDivider extends Components.QdsDivider, HTMLElement {}
|
|
4
|
+
export const QdsDivider: {
|
|
5
|
+
prototype: QdsDivider;
|
|
6
|
+
new (): QdsDivider;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SPDX-FileCopyrightText: © 2023 Schneider Electric
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: LGPL-2.1-only
|
|
5
|
+
*/
|
|
6
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
7
|
+
import { i as inheritAriaAttributes } from './helpers.js';
|
|
8
|
+
|
|
9
|
+
const dividerCss = ":host{box-sizing:border-box}:host([hidden]){display:none !important}:host([hidden]){}:host *,:host *::before,:host *::after{box-sizing:inherit}:host{display:block}.divider{border:1px solid transparent;display:flex;margin-block:0}[data-importance='standard']{border-color:var(--qds-theme-divider-standard)}[data-importance='emphasized']{border-color:var(--qds-theme-divider-emphasized)}";
|
|
10
|
+
|
|
11
|
+
const Divider = /*@__PURE__*/ proxyCustomElement(class Divider extends HTMLElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
this.inheritedAttributes = {};
|
|
17
|
+
this.importance = 'standard';
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.inheritedAttributes = inheritAriaAttributes(this.element);
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
return (h("hr", { class: "divider", "data-importance": this.importance, ...this.inheritedAttributes }));
|
|
24
|
+
}
|
|
25
|
+
get element() { return this; }
|
|
26
|
+
static get style() { return dividerCss; }
|
|
27
|
+
}, [1, "qds-divider", {
|
|
28
|
+
"importance": [513]
|
|
29
|
+
}]);
|
|
30
|
+
function defineCustomElement$1() {
|
|
31
|
+
if (typeof customElements === "undefined") {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const components = ["qds-divider"];
|
|
35
|
+
components.forEach(tagName => { switch (tagName) {
|
|
36
|
+
case "qds-divider":
|
|
37
|
+
if (!customElements.get(tagName)) {
|
|
38
|
+
customElements.define(tagName, Divider);
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
} });
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const QdsDivider = Divider;
|
|
45
|
+
const defineCustomElement = defineCustomElement$1;
|
|
46
|
+
|
|
47
|
+
export { QdsDivider, defineCustomElement };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=qds-divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"qds-divider.js","mappings":";;;;;;;;AAAA,MAAM,UAAU,GAAG,mYAAmY;;MC0BzY,OAAO;;;;;IASV,wBAAmB,GAAe,EAAE,CAAA;sBAJ1C,UAAU;;EAML,iBAAiB;IACtB,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;GAC/D;EAEM,MAAM;IACX,QACE,UACE,KAAK,EAAC,SAAS,qBACE,IAAI,CAAC,UAAU,KAE5B,IAAI,CAAC,mBAAmB,GAC5B,EACH;GACF;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/divider/divider.css?tag=qds-divider&encapsulation=shadow","src/components/divider/divider.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: © 2023 Schneider Electric\n *\n * SPDX-License-Identifier: LGPL-2.1-only\n */\n\n@import url('../shared.css');\n\n:host {\n display: block;\n}\n\n.divider {\n border: 1px solid transparent;\n display: flex;\n margin-block: 0;\n}\n\n[data-importance='standard'] {\n border-color: var(--qds-theme-divider-standard);\n}\n\n[data-importance='emphasized'] {\n border-color: var(--qds-theme-divider-emphasized);\n}\n","// SPDX-FileCopyrightText: © 2023 Schneider Electric\n//\n// SPDX-License-Identifier: LGPL-2.1-only\n\nimport type { ComponentInterface } from '@stencil/core'\nimport { Component, Element, h, Prop } from '@stencil/core'\n\nimport type { Attributes } from '../../helpers'\nimport { inheritAriaAttributes } from '../../helpers'\n\nexport type DividerImportance = 'emphasized' | 'standard'\n\n/**\n * The `<qds-divider>` element a thematic break between paragraph-level\n * elements: for example, a change of scene in a story, or a shift of topic\n * within a section.\n *\n * Dividers can also be used to group menu items in `<qds-dropdown>` elements.\n *\n * @see https://quartz.se.com/build/components/divider\n */\n@Component({\n tag: 'qds-divider',\n shadow: true,\n styleUrl: 'divider.css',\n})\nexport class Divider implements ComponentInterface {\n /**\n * The divider's importance.\n */\n @Prop({ reflect: true }) public readonly importance: DividerImportance =\n 'standard'\n\n @Element() private readonly element!: HTMLQdsDividerElement\n\n private inheritedAttributes: Attributes = {}\n\n public componentWillLoad(): void {\n this.inheritedAttributes = inheritAriaAttributes(this.element)\n }\n\n public render() {\n return (\n <hr\n class=\"divider\"\n data-importance={this.importance}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...this.inheritedAttributes}\n />\n )\n }\n}\n"],"version":3}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -11,7 +11,7 @@ const index = require('./index-d181f952.js');
|
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
14
|
-
return index.bootstrapLazy([["qds-
|
|
14
|
+
return index.bootstrapLazy([["qds-checkbox.cjs",[[2,"qds-checkbox",{"inline":[4],"size":[513],"text":[1537],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"indeterminate":[1540],"name":[1],"required":[4],"value":[1032],"checkValidity":[64],"reportValidity":[64],"setCustomValidity":[64]},[[0,"click","onClick"]]]]],["qds-radio.cjs",[[2,"qds-radio",{"inline":[4],"size":[513],"text":[1537],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"required":[4],"value":[1032]},[[0,"click","onClick"]]]]],["qds-switch.cjs",[[2,"qds-switch",{"inline":[4],"iconCheckedName":[513,"icon-checked-name"],"iconCheckedLibrary":[513,"icon-checked-library"],"iconUncheckedName":[513,"icon-unchecked-name"],"iconUncheckedLibrary":[513,"icon-unchecked-library"],"size":[513],"textChecked":[1537,"text-checked"],"textUnchecked":[1537,"text-unchecked"],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"value":[1032]},[[0,"click","onClick"]]]]],["qds-button.cjs",[[17,"qds-button",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"importance":[513],"size":[513],"text":[1537],"disabled":[1540],"download":[1],"form":[1],"formAction":[1,"formaction"],"formMethod":[1,"formmethod"],"formNoValidate":[4,"formnovalidate"],"formTarget":[1,"formtarget"],"href":[1],"name":[1],"target":[1],"type":[1],"value":[1]}]]],["qds-inline-link.cjs",[[17,"qds-inline-link",{"disabled":[1540],"download":[8],"href":[1],"hreflang":[1],"referrerPolicy":[1,"referrerpolicy"],"rel":[1],"target":[1]},[[0,"click","onClick"]]]]],["qds-title.cjs",[[1,"qds-title",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"kicker":[1],"layer":[1],"level":[1],"subtitle":[1],"tag":[1]}]]],["qds-divider.cjs",[[1,"qds-divider",{"importance":[513]}]]],["qds-dropdown.cjs",[[1,"qds-dropdown",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostAriaLabelledBy":[32],"hostDisplay":[32],"hostPosition":[32],"hostTransform":[32],"show":[64],"close":[64],"update":[64]},[[4,"click","handleMouseDown"]]]]],["qds-input.cjs",[[2,"qds-input",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"max":[8],"maxLength":[2,"maxlength"],"min":[8],"minLength":[2,"minlength"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"spellCheck":[4,"spellcheck"],"step":[8],"type":[1],"value":[1032],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64],"stepDown":[64],"stepUp":[64]}]]],["qds-textarea.cjs",[[2,"qds-textarea",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"cols":[1026],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"maxLength":[2,"maxlength"],"minLength":[2,"minlength"],"name":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"rows":[1026],"spellCheck":[4,"spellcheck"],"value":[1032],"wrap":[1025],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64]}]]],["qds-tooltip.cjs",[[1,"qds-tooltip",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostPosition":[32],"hostTransform":[32],"open":[32],"middleware":[32],"aDisplay":[32],"side":[32],"aShape":[32],"aViewbox":[32],"aHeight":[32],"aWidth":[32],"aGap":[32],"aX":[32],"aY":[32],"show":[64],"close":[64],"updateArrow":[64]},[[5,"mousedown","handleMouseDown"]]]]],["qds-label.cjs",[[1,"qds-label",{"inline":[4],"required":[4],"size":[513],"text":[513]}]]],["qds-icon.cjs",[[1,"qds-icon",{"name":[513],"library":[513],"svg":[32]}]]]], options);
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SPDX-FileCopyrightText: © 2023 Schneider Electric
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: LGPL-2.1-only
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
const index = require('./index-d181f952.js');
|
|
11
|
+
const helpers = require('./helpers-452256e8.js');
|
|
12
|
+
|
|
13
|
+
const dividerCss = ":host{box-sizing:border-box}:host([hidden]){display:none !important}:host([hidden]){}:host *,:host *::before,:host *::after{box-sizing:inherit}:host{display:block}.divider{border:1px solid transparent;display:flex;margin-block:0}[data-importance='standard']{border-color:var(--qds-theme-divider-standard)}[data-importance='emphasized']{border-color:var(--qds-theme-divider-emphasized)}";
|
|
14
|
+
|
|
15
|
+
const Divider = class {
|
|
16
|
+
constructor(hostRef) {
|
|
17
|
+
index.registerInstance(this, hostRef);
|
|
18
|
+
this.inheritedAttributes = {};
|
|
19
|
+
this.importance = 'standard';
|
|
20
|
+
}
|
|
21
|
+
componentWillLoad() {
|
|
22
|
+
this.inheritedAttributes = helpers.inheritAriaAttributes(this.element);
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return (index.h("hr", { class: "divider", "data-importance": this.importance, ...this.inheritedAttributes }));
|
|
26
|
+
}
|
|
27
|
+
get element() { return index.getElement(this); }
|
|
28
|
+
};
|
|
29
|
+
Divider.style = dividerCss;
|
|
30
|
+
|
|
31
|
+
exports.qds_divider = Divider;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=qds-divider.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"qds-divider.entry.cjs.js","mappings":";;;;;;;;;;;;AAAA,MAAM,UAAU,GAAG,mYAAmY;;MC0BzY,OAAO;;;IASV,wBAAmB,GAAe,EAAE,CAAA;sBAJ1C,UAAU;;EAML,iBAAiB;IACtB,IAAI,CAAC,mBAAmB,GAAGA,6BAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;GAC/D;EAEM,MAAM;IACX,QACEC,gBACE,KAAK,EAAC,SAAS,qBACE,IAAI,CAAC,UAAU,KAE5B,IAAI,CAAC,mBAAmB,GAC5B,EACH;GACF;;;;;;;","names":["inheritAriaAttributes","h"],"sources":["src/components/divider/divider.css?tag=qds-divider&encapsulation=shadow","src/components/divider/divider.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: © 2023 Schneider Electric\n *\n * SPDX-License-Identifier: LGPL-2.1-only\n */\n\n@import url('../shared.css');\n\n:host {\n display: block;\n}\n\n.divider {\n border: 1px solid transparent;\n display: flex;\n margin-block: 0;\n}\n\n[data-importance='standard'] {\n border-color: var(--qds-theme-divider-standard);\n}\n\n[data-importance='emphasized'] {\n border-color: var(--qds-theme-divider-emphasized);\n}\n","// SPDX-FileCopyrightText: © 2023 Schneider Electric\n//\n// SPDX-License-Identifier: LGPL-2.1-only\n\nimport type { ComponentInterface } from '@stencil/core'\nimport { Component, Element, h, Prop } from '@stencil/core'\n\nimport type { Attributes } from '../../helpers'\nimport { inheritAriaAttributes } from '../../helpers'\n\nexport type DividerImportance = 'emphasized' | 'standard'\n\n/**\n * The `<qds-divider>` element a thematic break between paragraph-level\n * elements: for example, a change of scene in a story, or a shift of topic\n * within a section.\n *\n * Dividers can also be used to group menu items in `<qds-dropdown>` elements.\n *\n * @see https://quartz.se.com/build/components/divider\n */\n@Component({\n tag: 'qds-divider',\n shadow: true,\n styleUrl: 'divider.css',\n})\nexport class Divider implements ComponentInterface {\n /**\n * The divider's importance.\n */\n @Prop({ reflect: true }) public readonly importance: DividerImportance =\n 'standard'\n\n @Element() private readonly element!: HTMLQdsDividerElement\n\n private inheritedAttributes: Attributes = {}\n\n public componentWillLoad(): void {\n this.inheritedAttributes = inheritAriaAttributes(this.element)\n }\n\n public render() {\n return (\n <hr\n class=\"divider\"\n data-importance={this.importance}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...this.inheritedAttributes}\n />\n )\n }\n}\n"],"version":3}
|
package/dist/cjs/qds.cjs.js
CHANGED
|
@@ -22,7 +22,7 @@ const patchBrowser = () => {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
patchBrowser().then(options => {
|
|
25
|
-
return index.bootstrapLazy([["qds-
|
|
25
|
+
return index.bootstrapLazy([["qds-checkbox.cjs",[[2,"qds-checkbox",{"inline":[4],"size":[513],"text":[1537],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"indeterminate":[1540],"name":[1],"required":[4],"value":[1032],"checkValidity":[64],"reportValidity":[64],"setCustomValidity":[64]},[[0,"click","onClick"]]]]],["qds-radio.cjs",[[2,"qds-radio",{"inline":[4],"size":[513],"text":[1537],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"required":[4],"value":[1032]},[[0,"click","onClick"]]]]],["qds-switch.cjs",[[2,"qds-switch",{"inline":[4],"iconCheckedName":[513,"icon-checked-name"],"iconCheckedLibrary":[513,"icon-checked-library"],"iconUncheckedName":[513,"icon-unchecked-name"],"iconUncheckedLibrary":[513,"icon-unchecked-library"],"size":[513],"textChecked":[1537,"text-checked"],"textUnchecked":[1537,"text-unchecked"],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"value":[1032]},[[0,"click","onClick"]]]]],["qds-button.cjs",[[17,"qds-button",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"importance":[513],"size":[513],"text":[1537],"disabled":[1540],"download":[1],"form":[1],"formAction":[1,"formaction"],"formMethod":[1,"formmethod"],"formNoValidate":[4,"formnovalidate"],"formTarget":[1,"formtarget"],"href":[1],"name":[1],"target":[1],"type":[1],"value":[1]}]]],["qds-inline-link.cjs",[[17,"qds-inline-link",{"disabled":[1540],"download":[8],"href":[1],"hreflang":[1],"referrerPolicy":[1,"referrerpolicy"],"rel":[1],"target":[1]},[[0,"click","onClick"]]]]],["qds-title.cjs",[[1,"qds-title",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"kicker":[1],"layer":[1],"level":[1],"subtitle":[1],"tag":[1]}]]],["qds-divider.cjs",[[1,"qds-divider",{"importance":[513]}]]],["qds-dropdown.cjs",[[1,"qds-dropdown",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostAriaLabelledBy":[32],"hostDisplay":[32],"hostPosition":[32],"hostTransform":[32],"show":[64],"close":[64],"update":[64]},[[4,"click","handleMouseDown"]]]]],["qds-input.cjs",[[2,"qds-input",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"max":[8],"maxLength":[2,"maxlength"],"min":[8],"minLength":[2,"minlength"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"spellCheck":[4,"spellcheck"],"step":[8],"type":[1],"value":[1032],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64],"stepDown":[64],"stepUp":[64]}]]],["qds-textarea.cjs",[[2,"qds-textarea",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"cols":[1026],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"maxLength":[2,"maxlength"],"minLength":[2,"minlength"],"name":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"rows":[1026],"spellCheck":[4,"spellcheck"],"value":[1032],"wrap":[1025],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64]}]]],["qds-tooltip.cjs",[[1,"qds-tooltip",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostPosition":[32],"hostTransform":[32],"open":[32],"middleware":[32],"aDisplay":[32],"side":[32],"aShape":[32],"aViewbox":[32],"aHeight":[32],"aWidth":[32],"aGap":[32],"aX":[32],"aY":[32],"show":[64],"close":[64],"updateArrow":[64]},[[5,"mousedown","handleMouseDown"]]]]],["qds-label.cjs",[[1,"qds-label",{"inline":[4],"required":[4],"size":[513],"text":[513]}]]],["qds-icon.cjs",[[1,"qds-icon",{"name":[513],"library":[513],"svg":[32]}]]]], options);
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
exports.setNonce = index.setNonce;
|
|
@@ -811,6 +811,83 @@
|
|
|
811
811
|
}
|
|
812
812
|
]
|
|
813
813
|
},
|
|
814
|
+
{
|
|
815
|
+
"kind": "javascript-module",
|
|
816
|
+
"path": "src/components/divider/divider.tsx",
|
|
817
|
+
"declarations": [
|
|
818
|
+
{
|
|
819
|
+
"kind": "class",
|
|
820
|
+
"description": "The `<qds-divider>` element a thematic break between paragraph-level\nelements: for example, a change of scene in a story, or a shift of topic\nwithin a section.\n\nDividers can also be used to group menu items in `<qds-dropdown>` elements.",
|
|
821
|
+
"name": "Divider",
|
|
822
|
+
"members": [
|
|
823
|
+
{
|
|
824
|
+
"kind": "field",
|
|
825
|
+
"name": "importance",
|
|
826
|
+
"type": {
|
|
827
|
+
"text": "DividerImportance"
|
|
828
|
+
},
|
|
829
|
+
"privacy": "public",
|
|
830
|
+
"readonly": true,
|
|
831
|
+
"default": "'standard'",
|
|
832
|
+
"description": "The divider's importance."
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"kind": "field",
|
|
836
|
+
"name": "element",
|
|
837
|
+
"type": {
|
|
838
|
+
"text": "HTMLQdsDividerElement"
|
|
839
|
+
},
|
|
840
|
+
"privacy": "private",
|
|
841
|
+
"readonly": true
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"kind": "field",
|
|
845
|
+
"name": "inheritedAttributes",
|
|
846
|
+
"type": {
|
|
847
|
+
"text": "Attributes"
|
|
848
|
+
},
|
|
849
|
+
"privacy": "private",
|
|
850
|
+
"default": "{}"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"kind": "method",
|
|
854
|
+
"name": "render",
|
|
855
|
+
"privacy": "public"
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
"attributes": [
|
|
859
|
+
{
|
|
860
|
+
"name": "importance",
|
|
861
|
+
"fieldName": "importance",
|
|
862
|
+
"type": {
|
|
863
|
+
"text": "DividerImportance"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"tagName": "qds-divider",
|
|
868
|
+
"events": [],
|
|
869
|
+
"customElement": true
|
|
870
|
+
}
|
|
871
|
+
],
|
|
872
|
+
"exports": [
|
|
873
|
+
{
|
|
874
|
+
"kind": "js",
|
|
875
|
+
"name": "Divider",
|
|
876
|
+
"declaration": {
|
|
877
|
+
"name": "Divider",
|
|
878
|
+
"module": "src/components/divider/divider.tsx"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"kind": "custom-element-definition",
|
|
883
|
+
"name": "qds-divider",
|
|
884
|
+
"declaration": {
|
|
885
|
+
"name": "Divider",
|
|
886
|
+
"module": "src/components/divider/divider.tsx"
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
]
|
|
890
|
+
},
|
|
814
891
|
{
|
|
815
892
|
"kind": "javascript-module",
|
|
816
893
|
"path": "src/components/dropdown/dropdown.tsx",
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-07-
|
|
2
|
+
"timestamp": "2023-07-18T01:45:42",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.0.1",
|
|
@@ -1119,6 +1119,64 @@
|
|
|
1119
1119
|
]
|
|
1120
1120
|
}
|
|
1121
1121
|
},
|
|
1122
|
+
{
|
|
1123
|
+
"filePath": "src/components/divider/divider.tsx",
|
|
1124
|
+
"encapsulation": "shadow",
|
|
1125
|
+
"tag": "qds-divider",
|
|
1126
|
+
"readme": "<!--\nSPDX-FileCopyrightText: © 2023 Schneider Electric\n\nSPDX-License-Identifier: LGPL-2.1-only\n-->\n\n# qds-divider\n",
|
|
1127
|
+
"docs": "The `<qds-divider>` element a thematic break between paragraph-level\nelements: for example, a change of scene in a story, or a shift of topic\nwithin a section.\n\nDividers can also be used to group menu items in `<qds-dropdown>` elements.",
|
|
1128
|
+
"docsTags": [
|
|
1129
|
+
{
|
|
1130
|
+
"name": "see",
|
|
1131
|
+
"text": "https://quartz.se.com/build/components/divider"
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"usage": {},
|
|
1135
|
+
"props": [
|
|
1136
|
+
{
|
|
1137
|
+
"name": "importance",
|
|
1138
|
+
"type": "\"emphasized\" | \"standard\"",
|
|
1139
|
+
"complexType": {
|
|
1140
|
+
"original": "DividerImportance",
|
|
1141
|
+
"resolved": "\"emphasized\" | \"standard\"",
|
|
1142
|
+
"references": {
|
|
1143
|
+
"DividerImportance": {
|
|
1144
|
+
"location": "local",
|
|
1145
|
+
"path": "/home/runner/work/core-foundations/core-foundations/packages/core/src/components/divider/divider.tsx",
|
|
1146
|
+
"id": "src/components/divider/divider.tsx::DividerImportance"
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
"mutable": false,
|
|
1151
|
+
"attr": "importance",
|
|
1152
|
+
"reflectToAttr": true,
|
|
1153
|
+
"docs": "The divider's importance.",
|
|
1154
|
+
"docsTags": [],
|
|
1155
|
+
"default": "'standard'",
|
|
1156
|
+
"values": [
|
|
1157
|
+
{
|
|
1158
|
+
"value": "emphasized",
|
|
1159
|
+
"type": "string"
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"value": "standard",
|
|
1163
|
+
"type": "string"
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"optional": false,
|
|
1167
|
+
"required": false
|
|
1168
|
+
}
|
|
1169
|
+
],
|
|
1170
|
+
"methods": [],
|
|
1171
|
+
"events": [],
|
|
1172
|
+
"listeners": [],
|
|
1173
|
+
"styles": [],
|
|
1174
|
+
"slots": [],
|
|
1175
|
+
"parts": [],
|
|
1176
|
+
"dependents": [],
|
|
1177
|
+
"dependencies": [],
|
|
1178
|
+
"dependencyGraph": {}
|
|
1179
|
+
},
|
|
1122
1180
|
{
|
|
1123
1181
|
"filePath": "src/components/dropdown/dropdown.tsx",
|
|
1124
1182
|
"encapsulation": "shadow",
|
|
@@ -6297,6 +6355,11 @@
|
|
|
6297
6355
|
"docstring": "",
|
|
6298
6356
|
"path": "src/components/checkbox/checkbox.tsx"
|
|
6299
6357
|
},
|
|
6358
|
+
"src/components/divider/divider.tsx::DividerImportance": {
|
|
6359
|
+
"declaration": "export type DividerImportance = 'emphasized' | 'standard'",
|
|
6360
|
+
"docstring": "",
|
|
6361
|
+
"path": "src/components/divider/divider.tsx"
|
|
6362
|
+
},
|
|
6300
6363
|
"src/components/inline-link/inline-link.tsx::Target": {
|
|
6301
6364
|
"declaration": "export type Target = '_blank' | '_parent' | '_self' | '_top'",
|
|
6302
6365
|
"docstring": "",
|
package/dist/esm/loader.js
CHANGED
|
@@ -8,7 +8,7 @@ export { s as setNonce } from './index-d7183092.js';
|
|
|
8
8
|
|
|
9
9
|
const defineCustomElements = (win, options) => {
|
|
10
10
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
11
|
-
return bootstrapLazy([["qds-
|
|
11
|
+
return bootstrapLazy([["qds-checkbox",[[2,"qds-checkbox",{"inline":[4],"size":[513],"text":[1537],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"indeterminate":[1540],"name":[1],"required":[4],"value":[1032],"checkValidity":[64],"reportValidity":[64],"setCustomValidity":[64]},[[0,"click","onClick"]]]]],["qds-radio",[[2,"qds-radio",{"inline":[4],"size":[513],"text":[1537],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"required":[4],"value":[1032]},[[0,"click","onClick"]]]]],["qds-switch",[[2,"qds-switch",{"inline":[4],"iconCheckedName":[513,"icon-checked-name"],"iconCheckedLibrary":[513,"icon-checked-library"],"iconUncheckedName":[513,"icon-unchecked-name"],"iconUncheckedLibrary":[513,"icon-unchecked-library"],"size":[513],"textChecked":[1537,"text-checked"],"textUnchecked":[1537,"text-unchecked"],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"value":[1032]},[[0,"click","onClick"]]]]],["qds-button",[[17,"qds-button",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"importance":[513],"size":[513],"text":[1537],"disabled":[1540],"download":[1],"form":[1],"formAction":[1,"formaction"],"formMethod":[1,"formmethod"],"formNoValidate":[4,"formnovalidate"],"formTarget":[1,"formtarget"],"href":[1],"name":[1],"target":[1],"type":[1],"value":[1]}]]],["qds-inline-link",[[17,"qds-inline-link",{"disabled":[1540],"download":[8],"href":[1],"hreflang":[1],"referrerPolicy":[1,"referrerpolicy"],"rel":[1],"target":[1]},[[0,"click","onClick"]]]]],["qds-title",[[1,"qds-title",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"kicker":[1],"layer":[1],"level":[1],"subtitle":[1],"tag":[1]}]]],["qds-divider",[[1,"qds-divider",{"importance":[513]}]]],["qds-dropdown",[[1,"qds-dropdown",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostAriaLabelledBy":[32],"hostDisplay":[32],"hostPosition":[32],"hostTransform":[32],"show":[64],"close":[64],"update":[64]},[[4,"click","handleMouseDown"]]]]],["qds-input",[[2,"qds-input",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"max":[8],"maxLength":[2,"maxlength"],"min":[8],"minLength":[2,"minlength"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"spellCheck":[4,"spellcheck"],"step":[8],"type":[1],"value":[1032],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64],"stepDown":[64],"stepUp":[64]}]]],["qds-textarea",[[2,"qds-textarea",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"cols":[1026],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"maxLength":[2,"maxlength"],"minLength":[2,"minlength"],"name":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"rows":[1026],"spellCheck":[4,"spellcheck"],"value":[1032],"wrap":[1025],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64]}]]],["qds-tooltip",[[1,"qds-tooltip",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostPosition":[32],"hostTransform":[32],"open":[32],"middleware":[32],"aDisplay":[32],"side":[32],"aShape":[32],"aViewbox":[32],"aHeight":[32],"aWidth":[32],"aGap":[32],"aX":[32],"aY":[32],"show":[64],"close":[64],"updateArrow":[64]},[[5,"mousedown","handleMouseDown"]]]]],["qds-label",[[1,"qds-label",{"inline":[4],"required":[4],"size":[513],"text":[513]}]]],["qds-icon",[[1,"qds-icon",{"name":[513],"library":[513],"svg":[32]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export { defineCustomElements };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SPDX-FileCopyrightText: © 2023 Schneider Electric
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: LGPL-2.1-only
|
|
5
|
+
*/
|
|
6
|
+
import { r as registerInstance, h, a as getElement } from './index-d7183092.js';
|
|
7
|
+
import { i as inheritAriaAttributes } from './helpers-76b84f45.js';
|
|
8
|
+
|
|
9
|
+
const dividerCss = ":host{box-sizing:border-box}:host([hidden]){display:none !important}:host([hidden]){}:host *,:host *::before,:host *::after{box-sizing:inherit}:host{display:block}.divider{border:1px solid transparent;display:flex;margin-block:0}[data-importance='standard']{border-color:var(--qds-theme-divider-standard)}[data-importance='emphasized']{border-color:var(--qds-theme-divider-emphasized)}";
|
|
10
|
+
|
|
11
|
+
const Divider = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
registerInstance(this, hostRef);
|
|
14
|
+
this.inheritedAttributes = {};
|
|
15
|
+
this.importance = 'standard';
|
|
16
|
+
}
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
this.inheritedAttributes = inheritAriaAttributes(this.element);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h("hr", { class: "divider", "data-importance": this.importance, ...this.inheritedAttributes }));
|
|
22
|
+
}
|
|
23
|
+
get element() { return getElement(this); }
|
|
24
|
+
};
|
|
25
|
+
Divider.style = dividerCss;
|
|
26
|
+
|
|
27
|
+
export { Divider as qds_divider };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=qds-divider.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"qds-divider.entry.js","mappings":";;;;;;;;AAAA,MAAM,UAAU,GAAG,mYAAmY;;MC0BzY,OAAO;;;IASV,wBAAmB,GAAe,EAAE,CAAA;sBAJ1C,UAAU;;EAML,iBAAiB;IACtB,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;GAC/D;EAEM,MAAM;IACX,QACE,UACE,KAAK,EAAC,SAAS,qBACE,IAAI,CAAC,UAAU,KAE5B,IAAI,CAAC,mBAAmB,GAC5B,EACH;GACF;;;;;;;","names":[],"sources":["src/components/divider/divider.css?tag=qds-divider&encapsulation=shadow","src/components/divider/divider.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: © 2023 Schneider Electric\n *\n * SPDX-License-Identifier: LGPL-2.1-only\n */\n\n@import url('../shared.css');\n\n:host {\n display: block;\n}\n\n.divider {\n border: 1px solid transparent;\n display: flex;\n margin-block: 0;\n}\n\n[data-importance='standard'] {\n border-color: var(--qds-theme-divider-standard);\n}\n\n[data-importance='emphasized'] {\n border-color: var(--qds-theme-divider-emphasized);\n}\n","// SPDX-FileCopyrightText: © 2023 Schneider Electric\n//\n// SPDX-License-Identifier: LGPL-2.1-only\n\nimport type { ComponentInterface } from '@stencil/core'\nimport { Component, Element, h, Prop } from '@stencil/core'\n\nimport type { Attributes } from '../../helpers'\nimport { inheritAriaAttributes } from '../../helpers'\n\nexport type DividerImportance = 'emphasized' | 'standard'\n\n/**\n * The `<qds-divider>` element a thematic break between paragraph-level\n * elements: for example, a change of scene in a story, or a shift of topic\n * within a section.\n *\n * Dividers can also be used to group menu items in `<qds-dropdown>` elements.\n *\n * @see https://quartz.se.com/build/components/divider\n */\n@Component({\n tag: 'qds-divider',\n shadow: true,\n styleUrl: 'divider.css',\n})\nexport class Divider implements ComponentInterface {\n /**\n * The divider's importance.\n */\n @Prop({ reflect: true }) public readonly importance: DividerImportance =\n 'standard'\n\n @Element() private readonly element!: HTMLQdsDividerElement\n\n private inheritedAttributes: Attributes = {}\n\n public componentWillLoad(): void {\n this.inheritedAttributes = inheritAriaAttributes(this.element)\n }\n\n public render() {\n return (\n <hr\n class=\"divider\"\n data-importance={this.importance}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...this.inheritedAttributes}\n />\n )\n }\n}\n"],"version":3}
|
package/dist/esm/qds.js
CHANGED
|
@@ -19,7 +19,7 @@ const patchBrowser = () => {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
patchBrowser().then(options => {
|
|
22
|
-
return bootstrapLazy([["qds-
|
|
22
|
+
return bootstrapLazy([["qds-checkbox",[[2,"qds-checkbox",{"inline":[4],"size":[513],"text":[1537],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"indeterminate":[1540],"name":[1],"required":[4],"value":[1032],"checkValidity":[64],"reportValidity":[64],"setCustomValidity":[64]},[[0,"click","onClick"]]]]],["qds-radio",[[2,"qds-radio",{"inline":[4],"size":[513],"text":[1537],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"required":[4],"value":[1032]},[[0,"click","onClick"]]]]],["qds-switch",[[2,"qds-switch",{"inline":[4],"iconCheckedName":[513,"icon-checked-name"],"iconCheckedLibrary":[513,"icon-checked-library"],"iconUncheckedName":[513,"icon-unchecked-name"],"iconUncheckedLibrary":[513,"icon-unchecked-library"],"size":[513],"textChecked":[1537,"text-checked"],"textUnchecked":[1537,"text-unchecked"],"autoFocus":[4,"autofocus"],"checked":[1540],"disabled":[1540],"form":[1],"name":[1],"value":[1032]},[[0,"click","onClick"]]]]],["qds-button",[[17,"qds-button",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"importance":[513],"size":[513],"text":[1537],"disabled":[1540],"download":[1],"form":[1],"formAction":[1,"formaction"],"formMethod":[1,"formmethod"],"formNoValidate":[4,"formnovalidate"],"formTarget":[1,"formtarget"],"href":[1],"name":[1],"target":[1],"type":[1],"value":[1]}]]],["qds-inline-link",[[17,"qds-inline-link",{"disabled":[1540],"download":[8],"href":[1],"hreflang":[1],"referrerPolicy":[1,"referrerpolicy"],"rel":[1],"target":[1]},[[0,"click","onClick"]]]]],["qds-title",[[1,"qds-title",{"iconName":[513,"icon-name"],"iconLibrary":[513,"icon-library"],"kicker":[1],"layer":[1],"level":[1],"subtitle":[1],"tag":[1]}]]],["qds-divider",[[1,"qds-divider",{"importance":[513]}]]],["qds-dropdown",[[1,"qds-dropdown",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostAriaLabelledBy":[32],"hostDisplay":[32],"hostPosition":[32],"hostTransform":[32],"show":[64],"close":[64],"update":[64]},[[4,"click","handleMouseDown"]]]]],["qds-input",[[2,"qds-input",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"max":[8],"maxLength":[2,"maxlength"],"min":[8],"minLength":[2,"minlength"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"spellCheck":[4,"spellcheck"],"step":[8],"type":[1],"value":[1032],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64],"stepDown":[64],"stepUp":[64]}]]],["qds-textarea",[[2,"qds-textarea",{"invalid":[1540],"size":[513],"autoCapitalize":[1,"autocapitalize"],"autoComplete":[1,"autocomplete"],"autoFocus":[4,"autofocus"],"cols":[1026],"disabled":[1540],"enterkeyhint":[1],"form":[1],"inputmode":[1],"maxLength":[2,"maxlength"],"minLength":[2,"minlength"],"name":[1],"placeholder":[1],"readOnly":[4,"readonly"],"required":[4],"rows":[1026],"spellCheck":[4,"spellcheck"],"value":[1032],"wrap":[1025],"reportValidity":[64],"select":[64],"setCustomValidity":[64],"setRangeText":[64],"setSelectionRange":[64]}]]],["qds-tooltip",[[1,"qds-tooltip",{"autoUpdateOptions":[16],"disabled":[1028],"flipOptions":[16],"noFlip":[4,"no-flip"],"noShift":[4,"no-shift"],"offsetOptions":[16],"placement":[1],"shiftOptions":[16],"strategy":[1],"target":[1],"hostPosition":[32],"hostTransform":[32],"open":[32],"middleware":[32],"aDisplay":[32],"side":[32],"aShape":[32],"aViewbox":[32],"aHeight":[32],"aWidth":[32],"aGap":[32],"aX":[32],"aY":[32],"show":[64],"close":[64],"updateArrow":[64]},[[5,"mousedown","handleMouseDown"]]]]],["qds-label",[[1,"qds-label",{"inline":[4],"required":[4],"size":[513],"text":[513]}]]],["qds-icon",[[1,"qds-icon",{"name":[513],"library":[513],"svg":[32]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
//# sourceMappingURL=qds.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
export type DividerImportance = 'emphasized' | 'standard';
|
|
3
|
+
/**
|
|
4
|
+
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
5
|
+
* elements: for example, a change of scene in a story, or a shift of topic
|
|
6
|
+
* within a section.
|
|
7
|
+
*
|
|
8
|
+
* Dividers can also be used to group menu items in `<qds-dropdown>` elements.
|
|
9
|
+
*
|
|
10
|
+
* @see https://quartz.se.com/build/components/divider
|
|
11
|
+
*/
|
|
12
|
+
export declare class Divider implements ComponentInterface {
|
|
13
|
+
/**
|
|
14
|
+
* The divider's importance.
|
|
15
|
+
*/
|
|
16
|
+
readonly importance: DividerImportance;
|
|
17
|
+
private readonly element;
|
|
18
|
+
private inheritedAttributes;
|
|
19
|
+
componentWillLoad(): void;
|
|
20
|
+
render(): any;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -9,6 +9,7 @@ import { ButtonSize, ButtonTarget, ButtonType, FormMethod, Importance } from "./
|
|
|
9
9
|
import { LiteralUnion } from "type-fest";
|
|
10
10
|
import { OffsetOptions, QdsFocusEventDetail, QdsInputEventDetail } from "./helpers";
|
|
11
11
|
import { CheckboxSize, CheckboxValue } from "./components/checkbox/checkbox";
|
|
12
|
+
import { DividerImportance } from "./components/divider/divider";
|
|
12
13
|
import { AutoUpdateOptions, DetectOverflowOptions, FlipOptions, Placement, ReferenceElement, ShiftOptions, Strategy } from "@floating-ui/dom";
|
|
13
14
|
import { Target } from "./components/inline-link/inline-link";
|
|
14
15
|
import { InputAutoComplete, InputSize, InputType } from "./components/input/input";
|
|
@@ -22,6 +23,7 @@ export { ButtonSize, ButtonTarget, ButtonType, FormMethod, Importance } from "./
|
|
|
22
23
|
export { LiteralUnion } from "type-fest";
|
|
23
24
|
export { OffsetOptions, QdsFocusEventDetail, QdsInputEventDetail } from "./helpers";
|
|
24
25
|
export { CheckboxSize, CheckboxValue } from "./components/checkbox/checkbox";
|
|
26
|
+
export { DividerImportance } from "./components/divider/divider";
|
|
25
27
|
export { AutoUpdateOptions, DetectOverflowOptions, FlipOptions, Placement, ReferenceElement, ShiftOptions, Strategy } from "@floating-ui/dom";
|
|
26
28
|
export { Target } from "./components/inline-link/inline-link";
|
|
27
29
|
export { InputAutoComplete, InputSize, InputType } from "./components/input/input";
|
|
@@ -194,6 +196,19 @@ export namespace Components {
|
|
|
194
196
|
*/
|
|
195
197
|
"value"?: CheckboxValue;
|
|
196
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
201
|
+
* elements: for example, a change of scene in a story, or a shift of topic
|
|
202
|
+
* within a section.
|
|
203
|
+
* Dividers can also be used to group menu items in `<qds-dropdown>` elements.
|
|
204
|
+
* @see https://quartz.se.com/build/components/divider
|
|
205
|
+
*/
|
|
206
|
+
interface QdsDivider {
|
|
207
|
+
/**
|
|
208
|
+
* The divider's importance.
|
|
209
|
+
*/
|
|
210
|
+
"importance": DividerImportance;
|
|
211
|
+
}
|
|
197
212
|
/**
|
|
198
213
|
* @experimental
|
|
199
214
|
* @see https://quartz.se.com/build/components/dropdown
|
|
@@ -921,6 +936,19 @@ declare global {
|
|
|
921
936
|
prototype: HTMLQdsCheckboxElement;
|
|
922
937
|
new (): HTMLQdsCheckboxElement;
|
|
923
938
|
};
|
|
939
|
+
/**
|
|
940
|
+
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
941
|
+
* elements: for example, a change of scene in a story, or a shift of topic
|
|
942
|
+
* within a section.
|
|
943
|
+
* Dividers can also be used to group menu items in `<qds-dropdown>` elements.
|
|
944
|
+
* @see https://quartz.se.com/build/components/divider
|
|
945
|
+
*/
|
|
946
|
+
interface HTMLQdsDividerElement extends Components.QdsDivider, HTMLStencilElement {
|
|
947
|
+
}
|
|
948
|
+
var HTMLQdsDividerElement: {
|
|
949
|
+
prototype: HTMLQdsDividerElement;
|
|
950
|
+
new (): HTMLQdsDividerElement;
|
|
951
|
+
};
|
|
924
952
|
/**
|
|
925
953
|
* @experimental
|
|
926
954
|
* @see https://quartz.se.com/build/components/dropdown
|
|
@@ -1036,6 +1064,7 @@ declare global {
|
|
|
1036
1064
|
interface HTMLElementTagNameMap {
|
|
1037
1065
|
"qds-button": HTMLQdsButtonElement;
|
|
1038
1066
|
"qds-checkbox": HTMLQdsCheckboxElement;
|
|
1067
|
+
"qds-divider": HTMLQdsDividerElement;
|
|
1039
1068
|
"qds-dropdown": HTMLQdsDropdownElement;
|
|
1040
1069
|
"qds-icon": HTMLQdsIconElement;
|
|
1041
1070
|
"qds-inline-link": HTMLQdsInlineLinkElement;
|
|
@@ -1219,6 +1248,19 @@ declare namespace LocalJSX {
|
|
|
1219
1248
|
*/
|
|
1220
1249
|
"value"?: CheckboxValue;
|
|
1221
1250
|
}
|
|
1251
|
+
/**
|
|
1252
|
+
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
1253
|
+
* elements: for example, a change of scene in a story, or a shift of topic
|
|
1254
|
+
* within a section.
|
|
1255
|
+
* Dividers can also be used to group menu items in `<qds-dropdown>` elements.
|
|
1256
|
+
* @see https://quartz.se.com/build/components/divider
|
|
1257
|
+
*/
|
|
1258
|
+
interface QdsDivider {
|
|
1259
|
+
/**
|
|
1260
|
+
* The divider's importance.
|
|
1261
|
+
*/
|
|
1262
|
+
"importance"?: DividerImportance;
|
|
1263
|
+
}
|
|
1222
1264
|
/**
|
|
1223
1265
|
* @experimental
|
|
1224
1266
|
* @see https://quartz.se.com/build/components/dropdown
|
|
@@ -1877,6 +1919,7 @@ declare namespace LocalJSX {
|
|
|
1877
1919
|
interface IntrinsicElements {
|
|
1878
1920
|
"qds-button": QdsButton;
|
|
1879
1921
|
"qds-checkbox": QdsCheckbox;
|
|
1922
|
+
"qds-divider": QdsDivider;
|
|
1880
1923
|
"qds-dropdown": QdsDropdown;
|
|
1881
1924
|
"qds-icon": QdsIcon;
|
|
1882
1925
|
"qds-inline-link": QdsInlineLink;
|
|
@@ -1909,6 +1952,14 @@ declare module "@stencil/core" {
|
|
|
1909
1952
|
* @see https://quartz.se.com/build/components/checkbox
|
|
1910
1953
|
*/
|
|
1911
1954
|
"qds-checkbox": LocalJSX.QdsCheckbox & JSXBase.HTMLAttributes<HTMLQdsCheckboxElement>;
|
|
1955
|
+
/**
|
|
1956
|
+
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
1957
|
+
* elements: for example, a change of scene in a story, or a shift of topic
|
|
1958
|
+
* within a section.
|
|
1959
|
+
* Dividers can also be used to group menu items in `<qds-dropdown>` elements.
|
|
1960
|
+
* @see https://quartz.se.com/build/components/divider
|
|
1961
|
+
*/
|
|
1962
|
+
"qds-divider": LocalJSX.QdsDivider & JSXBase.HTMLAttributes<HTMLQdsDividerElement>;
|
|
1912
1963
|
/**
|
|
1913
1964
|
* @experimental
|
|
1914
1965
|
* @see https://quartz.se.com/build/components/dropdown
|
|
@@ -214,6 +214,27 @@
|
|
|
214
214
|
}
|
|
215
215
|
]
|
|
216
216
|
},
|
|
217
|
+
{
|
|
218
|
+
"name": "qds-divider",
|
|
219
|
+
"description": {
|
|
220
|
+
"kind": "markdown",
|
|
221
|
+
"value": "The `<qds-divider>` element a thematic break between paragraph-level\nelements: for example, a change of scene in a story, or a shift of topic\nwithin a section.\n\nDividers can also be used to group menu items in `<qds-dropdown>` elements."
|
|
222
|
+
},
|
|
223
|
+
"attributes": [
|
|
224
|
+
{
|
|
225
|
+
"name": "importance",
|
|
226
|
+
"description": "The divider's importance.",
|
|
227
|
+
"values": [
|
|
228
|
+
{
|
|
229
|
+
"name": "emphasized"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "standard"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
217
238
|
{
|
|
218
239
|
"name": "qds-dropdown",
|
|
219
240
|
"description": {
|
package/hydrate/index.js
CHANGED
|
@@ -6202,6 +6202,43 @@ class Checkbox {
|
|
|
6202
6202
|
}; }
|
|
6203
6203
|
}
|
|
6204
6204
|
|
|
6205
|
+
const dividerCss = "/*!@:host*/.sc-qds-divider-h{box-sizing:border-box}/*!@:host([hidden])*/[hidden].sc-qds-divider-h{display:none !important}/*!@:host([hidden])*//*!@:host *,\n:host *::before,\n:host *::after*/.sc-qds-divider-h *.sc-qds-divider,.sc-qds-divider-h *.sc-qds-divider::before,.sc-qds-divider-h *.sc-qds-divider::after{box-sizing:inherit}/*!@:host*/.sc-qds-divider-h{display:block}/*!@.divider*/.divider.sc-qds-divider{border:1px solid transparent;display:flex;margin-block:0}/*!@[data-importance='standard']*/[data-importance='standard'].sc-qds-divider{border-color:var(--qds-theme-divider-standard)}/*!@[data-importance='emphasized']*/[data-importance='emphasized'].sc-qds-divider{border-color:var(--qds-theme-divider-emphasized)}";
|
|
6206
|
+
|
|
6207
|
+
/**
|
|
6208
|
+
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
6209
|
+
* elements: for example, a change of scene in a story, or a shift of topic
|
|
6210
|
+
* within a section.
|
|
6211
|
+
*
|
|
6212
|
+
* Dividers can also be used to group menu items in `<qds-dropdown>` elements.
|
|
6213
|
+
*
|
|
6214
|
+
* @see https://quartz.se.com/build/components/divider
|
|
6215
|
+
*/
|
|
6216
|
+
class Divider {
|
|
6217
|
+
constructor(hostRef) {
|
|
6218
|
+
registerInstance(this, hostRef);
|
|
6219
|
+
this.inheritedAttributes = {};
|
|
6220
|
+
this.importance = 'standard';
|
|
6221
|
+
}
|
|
6222
|
+
componentWillLoad() {
|
|
6223
|
+
this.inheritedAttributes = inheritAriaAttributes(this.element);
|
|
6224
|
+
}
|
|
6225
|
+
render() {
|
|
6226
|
+
return (hAsync("hr", { class: "divider", "data-importance": this.importance, ...this.inheritedAttributes }));
|
|
6227
|
+
}
|
|
6228
|
+
get element() { return getElement(this); }
|
|
6229
|
+
static get style() { return dividerCss; }
|
|
6230
|
+
static get cmpMeta() { return {
|
|
6231
|
+
"$flags$": 9,
|
|
6232
|
+
"$tagName$": "qds-divider",
|
|
6233
|
+
"$members$": {
|
|
6234
|
+
"importance": [513]
|
|
6235
|
+
},
|
|
6236
|
+
"$listeners$": undefined,
|
|
6237
|
+
"$lazyBundleId$": "-",
|
|
6238
|
+
"$attrsToReflect$": [["importance", "importance"]]
|
|
6239
|
+
}; }
|
|
6240
|
+
}
|
|
6241
|
+
|
|
6205
6242
|
function getAlignment(placement) {
|
|
6206
6243
|
return placement.split('-')[1];
|
|
6207
6244
|
}
|
|
@@ -9085,6 +9122,7 @@ class Tooltip {
|
|
|
9085
9122
|
registerComponents([
|
|
9086
9123
|
Button,
|
|
9087
9124
|
Checkbox,
|
|
9125
|
+
Divider,
|
|
9088
9126
|
Dropdown,
|
|
9089
9127
|
Icon,
|
|
9090
9128
|
InlineLink,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quartzds/core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"description": "Quartz design system web components",
|
|
5
5
|
"homepage": "https://github.com/quartzds/core-foundations/tree/main/packages/core",
|
|
6
6
|
"bugs": {
|
|
@@ -176,14 +176,14 @@
|
|
|
176
176
|
"type-fest": "^3.0.0"
|
|
177
177
|
},
|
|
178
178
|
"devDependencies": {
|
|
179
|
-
"@babel/core": "7.22.
|
|
179
|
+
"@babel/core": "7.22.9",
|
|
180
180
|
"@babel/plugin-proposal-decorators": "7.22.7",
|
|
181
181
|
"@babel/plugin-proposal-export-default-from": "7.22.5",
|
|
182
|
-
"@babel/preset-env": "7.22.
|
|
182
|
+
"@babel/preset-env": "7.22.9",
|
|
183
183
|
"@babel/preset-typescript": "7.22.5",
|
|
184
184
|
"@custom-elements-manifest/analyzer": "0.8.3",
|
|
185
185
|
"@jest/globals": "29.6.1",
|
|
186
|
-
"@playwright/test": "1.
|
|
186
|
+
"@playwright/test": "1.36.1",
|
|
187
187
|
"@quartzds/browserslist-config": "1.1.1",
|
|
188
188
|
"@quartzds/generic-tokens-core": "1.0.0-beta.1",
|
|
189
189
|
"@quartzds/tailwind-preset": "1.0.0-beta.5",
|
|
@@ -194,20 +194,20 @@
|
|
|
194
194
|
"@storybook/addon-a11y": "7.0.26",
|
|
195
195
|
"@storybook/addon-docs": "7.0.26",
|
|
196
196
|
"@storybook/addon-essentials": "7.0.26",
|
|
197
|
-
"@storybook/addon-styling": "1.3.
|
|
197
|
+
"@storybook/addon-styling": "1.3.4",
|
|
198
198
|
"@storybook/builder-webpack5": "7.0.26",
|
|
199
199
|
"@storybook/mdx2-csf": "1.1.0",
|
|
200
200
|
"@storybook/web-components": "7.0.26",
|
|
201
201
|
"@storybook/web-components-webpack5": "7.0.26",
|
|
202
202
|
"@types/postcss-import": "14.0.0",
|
|
203
203
|
"@types/react": "18.2.14",
|
|
204
|
-
"babel-loader": "9.1.
|
|
204
|
+
"babel-loader": "9.1.3",
|
|
205
205
|
"babel-plugin-macros": "3.1.0",
|
|
206
206
|
"core-js": "3.31.1",
|
|
207
207
|
"css-loader": "6.8.1",
|
|
208
208
|
"lit": "2.7.6",
|
|
209
209
|
"npm-run-all": "4.1.5",
|
|
210
|
-
"postcss": "8.4.
|
|
210
|
+
"postcss": "8.4.26",
|
|
211
211
|
"postcss-import": "15.1.0",
|
|
212
212
|
"postcss-loader": "7.3.3",
|
|
213
213
|
"postcss-preset-env": "9.0.0",
|