@quartzds/core 1.0.0-beta.97 → 1.0.0-beta.98

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/components/index.d.ts +2 -0
  3. package/components/index.js +1 -0
  4. package/components/index.js.map +1 -1
  5. package/components/{p-3f84fbec.js → p-88fcb762.js} +2 -2
  6. package/components/{p-3f84fbec.js.map → p-88fcb762.js.map} +1 -1
  7. package/components/{p-c0611e41.js → p-a4f61139.js} +2 -2
  8. package/components/{p-c0611e41.js.map → p-a4f61139.js.map} +1 -1
  9. package/components/{p-622e5b7d.js → p-da0bfe0b.js} +2 -2
  10. package/components/{p-622e5b7d.js.map → p-da0bfe0b.js.map} +1 -1
  11. package/components/qds-button.js +1 -1
  12. package/components/qds-checkbox.js +1 -1
  13. package/components/qds-input.js +2 -2
  14. package/components/qds-input.js.map +1 -1
  15. package/components/qds-list-item.js +1 -1
  16. package/components/qds-mini-button.d.ts +11 -0
  17. package/components/qds-mini-button.js +163 -0
  18. package/components/qds-mini-button.js.map +1 -0
  19. package/components/qds-nav-list-item.js +3 -3
  20. package/components/qds-progress-bar.js +1 -1
  21. package/components/qds-radio.js +3 -3
  22. package/components/qds-select.js +1 -1
  23. package/components/qds-standalone-link.js +2 -2
  24. package/components/qds-switch.js +3 -3
  25. package/components/qds-tab.js +1 -1
  26. package/components/qds-tabbar.js +1 -1
  27. package/components/qds-table-body.js +1 -1
  28. package/components/qds-table-cell.js +1 -1
  29. package/components/qds-table-head.js +1 -1
  30. package/components/qds-table-row.js +1 -1
  31. package/components/qds-table.js +1 -1
  32. package/components/qds-title.js +1 -1
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/cjs/qds-button.cjs.entry.js +1 -1
  35. package/dist/cjs/qds-checkbox.cjs.entry.js +1 -1
  36. package/dist/cjs/qds-input.cjs.entry.js +1 -1
  37. package/dist/cjs/qds-input.cjs.entry.js.map +1 -1
  38. package/dist/cjs/qds-mini-button.cjs.entry.js +136 -0
  39. package/dist/cjs/qds-mini-button.cjs.entry.js.map +1 -0
  40. package/dist/cjs/qds-nav-list-item.cjs.entry.js +3 -3
  41. package/dist/cjs/qds-progress-bar.cjs.entry.js +1 -1
  42. package/dist/cjs/qds-radio.cjs.entry.js +3 -3
  43. package/dist/cjs/qds-select.cjs.entry.js +1 -1
  44. package/dist/cjs/qds-standalone-link.cjs.entry.js +2 -2
  45. package/dist/cjs/qds-switch.cjs.entry.js +3 -3
  46. package/dist/cjs/qds-table-body.cjs.entry.js +1 -1
  47. package/dist/cjs/qds-table-cell.cjs.entry.js +1 -1
  48. package/dist/cjs/qds-table-head.cjs.entry.js +1 -1
  49. package/dist/cjs/qds-table-row.cjs.entry.js +1 -1
  50. package/dist/cjs/qds-table.cjs.entry.js +1 -1
  51. package/dist/cjs/qds-tag_2.cjs.entry.js +1 -1
  52. package/dist/cjs/qds.cjs.js +1 -1
  53. package/dist/custom-elements.json +353 -0
  54. package/dist/docs.json +320 -1
  55. package/dist/esm/loader.js +1 -1
  56. package/dist/esm/qds-button.entry.js +1 -1
  57. package/dist/esm/qds-checkbox.entry.js +1 -1
  58. package/dist/esm/qds-input.entry.js +1 -1
  59. package/dist/esm/qds-input.entry.js.map +1 -1
  60. package/dist/esm/qds-mini-button.entry.js +132 -0
  61. package/dist/esm/qds-mini-button.entry.js.map +1 -0
  62. package/dist/esm/qds-nav-list-item.entry.js +3 -3
  63. package/dist/esm/qds-progress-bar.entry.js +1 -1
  64. package/dist/esm/qds-radio.entry.js +3 -3
  65. package/dist/esm/qds-select.entry.js +1 -1
  66. package/dist/esm/qds-standalone-link.entry.js +2 -2
  67. package/dist/esm/qds-switch.entry.js +3 -3
  68. package/dist/esm/qds-table-body.entry.js +1 -1
  69. package/dist/esm/qds-table-cell.entry.js +1 -1
  70. package/dist/esm/qds-table-head.entry.js +1 -1
  71. package/dist/esm/qds-table-row.entry.js +1 -1
  72. package/dist/esm/qds-table.entry.js +1 -1
  73. package/dist/esm/qds-tag_2.entry.js +1 -1
  74. package/dist/esm/qds.js +1 -1
  75. package/dist/types/components/mini-button/mini-button.d.ts +82 -0
  76. package/dist/types/components.d.ts +115 -0
  77. package/dist/vscode.html-custom-data.json +51 -0
  78. package/hydrate/index.js +452 -311
  79. package/hydrate/index.mjs +452 -311
  80. package/package.json +1 -1
@@ -19,6 +19,7 @@ import { AutoUpdateOptions, DetectOverflowOptions, FlipOptions, Placement, Refer
19
19
  import { Capture, InputType } from "./components/input/input";
20
20
  import { Destination, Divider, ListAction } from "./components/list-item/list-item";
21
21
  import { LoaderSize, LoaderStatus } from "./components/loader/loader";
22
+ import { ButtonTarget as ButtonTarget1 } from "./components/button/button";
22
23
  import { SelectType } from "./components/select/select";
23
24
  import { Action as Action1, IndicatorPosition } from "./components/tab/tab";
24
25
  import { Element } from "./stencil-public-runtime";
@@ -42,6 +43,7 @@ export { AutoUpdateOptions, DetectOverflowOptions, FlipOptions, Placement, Refer
42
43
  export { Capture, InputType } from "./components/input/input";
43
44
  export { Destination, Divider, ListAction } from "./components/list-item/list-item";
44
45
  export { LoaderSize, LoaderStatus } from "./components/loader/loader";
46
+ export { ButtonTarget as ButtonTarget1 } from "./components/button/button";
45
47
  export { SelectType } from "./components/select/select";
46
48
  export { Action as Action1, IndicatorPosition } from "./components/tab/tab";
47
49
  export { Element } from "./stencil-public-runtime";
@@ -1006,6 +1008,43 @@ export namespace Components {
1006
1008
  */
1007
1009
  "status"?: LoaderStatus;
1008
1010
  }
1011
+ /**
1012
+ * @experimental
1013
+ */
1014
+ interface QdsMiniButton {
1015
+ /**
1016
+ * Prevents the mini button from being interacted with: it cannot be pressed or focused.
1017
+ * @webnative
1018
+ */
1019
+ "disabled"?: boolean;
1020
+ /**
1021
+ * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
1022
+ * @webnative
1023
+ */
1024
+ "href"?: string;
1025
+ /**
1026
+ * The name of a registered icon library.
1027
+ */
1028
+ "library": string;
1029
+ /**
1030
+ * The name of the icon to render. Available names depend on the icon library being used.
1031
+ */
1032
+ "name": string;
1033
+ /**
1034
+ * When href is define and the button act as a link (`<a>`), the `rel` will be added to the element.
1035
+ * @webnative
1036
+ */
1037
+ "rel"?: string;
1038
+ /**
1039
+ * Where to display the linked URL, as the name for a browsing context (a tab, window, or [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe). The following keywords have special meanings for where to load the URL: - `_blank`: usually a new tab, but users can configure browsers to open a new window instead. - `_parent`: the parent browsing context of the current one. If no parent, behaves as `_self`. - `_self`: the current browsing context. - `_top`: the topmost browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as `_self`.
1040
+ * @webnative
1041
+ */
1042
+ "target"?: LiteralUnion<ButtonTarget1, string>;
1043
+ /**
1044
+ * The mini button's accessible name.
1045
+ */
1046
+ "text": string;
1047
+ }
1009
1048
  /**
1010
1049
  * @see https://quartz.se.com/build/components/nav-list-item
1011
1050
  */
@@ -2048,6 +2087,10 @@ export interface QdsListItemCustomEvent<T> extends CustomEvent<T> {
2048
2087
  detail: T;
2049
2088
  target: HTMLQdsListItemElement;
2050
2089
  }
2090
+ export interface QdsMiniButtonCustomEvent<T> extends CustomEvent<T> {
2091
+ detail: T;
2092
+ target: HTMLQdsMiniButtonElement;
2093
+ }
2051
2094
  export interface QdsNavListItemCustomEvent<T> extends CustomEvent<T> {
2052
2095
  detail: T;
2053
2096
  target: HTMLQdsNavListItemElement;
@@ -2388,6 +2431,27 @@ declare global {
2388
2431
  prototype: HTMLQdsLoaderElement;
2389
2432
  new (): HTMLQdsLoaderElement;
2390
2433
  };
2434
+ interface HTMLQdsMiniButtonElementEventMap {
2435
+ "qdsBlur": QdsFocusEventDetail;
2436
+ "qdsFocus": QdsFocusEventDetail;
2437
+ }
2438
+ /**
2439
+ * @experimental
2440
+ */
2441
+ interface HTMLQdsMiniButtonElement extends Components.QdsMiniButton, HTMLStencilElement {
2442
+ addEventListener<K extends keyof HTMLQdsMiniButtonElementEventMap>(type: K, listener: (this: HTMLQdsMiniButtonElement, ev: QdsMiniButtonCustomEvent<HTMLQdsMiniButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2443
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2444
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2445
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2446
+ removeEventListener<K extends keyof HTMLQdsMiniButtonElementEventMap>(type: K, listener: (this: HTMLQdsMiniButtonElement, ev: QdsMiniButtonCustomEvent<HTMLQdsMiniButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2447
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2448
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2449
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2450
+ }
2451
+ var HTMLQdsMiniButtonElement: {
2452
+ prototype: HTMLQdsMiniButtonElement;
2453
+ new (): HTMLQdsMiniButtonElement;
2454
+ };
2391
2455
  interface HTMLQdsNavListItemElementEventMap {
2392
2456
  "qdsBlur": QdsFocusEventDetail;
2393
2457
  "qdsFocus": QdsFocusEventDetail;
@@ -2723,6 +2787,7 @@ declare global {
2723
2787
  "qds-label": HTMLQdsLabelElement;
2724
2788
  "qds-list-item": HTMLQdsListItemElement;
2725
2789
  "qds-loader": HTMLQdsLoaderElement;
2790
+ "qds-mini-button": HTMLQdsMiniButtonElement;
2726
2791
  "qds-nav-list-item": HTMLQdsNavListItemElement;
2727
2792
  "qds-progress-bar": HTMLQdsProgressBarElement;
2728
2793
  "qds-radio": HTMLQdsRadioElement;
@@ -3794,6 +3859,51 @@ declare namespace LocalJSX {
3794
3859
  */
3795
3860
  "status"?: LoaderStatus;
3796
3861
  }
3862
+ /**
3863
+ * @experimental
3864
+ */
3865
+ interface QdsMiniButton {
3866
+ /**
3867
+ * Prevents the mini button from being interacted with: it cannot be pressed or focused.
3868
+ * @webnative
3869
+ */
3870
+ "disabled"?: boolean;
3871
+ /**
3872
+ * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
3873
+ * @webnative
3874
+ */
3875
+ "href"?: string;
3876
+ /**
3877
+ * The name of a registered icon library.
3878
+ */
3879
+ "library"?: string;
3880
+ /**
3881
+ * The name of the icon to render. Available names depend on the icon library being used.
3882
+ */
3883
+ "name": string;
3884
+ /**
3885
+ * Emitted when the button loses focus.
3886
+ */
3887
+ "onQdsBlur"?: (event: QdsMiniButtonCustomEvent<QdsFocusEventDetail>) => void;
3888
+ /**
3889
+ * Emitted when the button gains focus.
3890
+ */
3891
+ "onQdsFocus"?: (event: QdsMiniButtonCustomEvent<QdsFocusEventDetail>) => void;
3892
+ /**
3893
+ * When href is define and the button act as a link (`<a>`), the `rel` will be added to the element.
3894
+ * @webnative
3895
+ */
3896
+ "rel"?: string;
3897
+ /**
3898
+ * Where to display the linked URL, as the name for a browsing context (a tab, window, or [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe). The following keywords have special meanings for where to load the URL: - `_blank`: usually a new tab, but users can configure browsers to open a new window instead. - `_parent`: the parent browsing context of the current one. If no parent, behaves as `_self`. - `_self`: the current browsing context. - `_top`: the topmost browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as `_self`.
3899
+ * @webnative
3900
+ */
3901
+ "target"?: LiteralUnion<ButtonTarget1, string>;
3902
+ /**
3903
+ * The mini button's accessible name.
3904
+ */
3905
+ "text": string;
3906
+ }
3797
3907
  /**
3798
3908
  * @see https://quartz.se.com/build/components/nav-list-item
3799
3909
  */
@@ -4900,6 +5010,7 @@ declare namespace LocalJSX {
4900
5010
  "qds-label": QdsLabel;
4901
5011
  "qds-list-item": QdsListItem;
4902
5012
  "qds-loader": QdsLoader;
5013
+ "qds-mini-button": QdsMiniButton;
4903
5014
  "qds-nav-list-item": QdsNavListItem;
4904
5015
  "qds-progress-bar": QdsProgressBar;
4905
5016
  "qds-radio": QdsRadio;
@@ -5032,6 +5143,10 @@ declare module "@stencil/core" {
5032
5143
  * @see https://quartz.se.com/build/components/loader
5033
5144
  */
5034
5145
  "qds-loader": LocalJSX.QdsLoader & JSXBase.HTMLAttributes<HTMLQdsLoaderElement>;
5146
+ /**
5147
+ * @experimental
5148
+ */
5149
+ "qds-mini-button": LocalJSX.QdsMiniButton & JSXBase.HTMLAttributes<HTMLQdsMiniButtonElement>;
5035
5150
  /**
5036
5151
  * @see https://quartz.se.com/build/components/nav-list-item
5037
5152
  */
@@ -1251,6 +1251,57 @@
1251
1251
  }
1252
1252
  ]
1253
1253
  },
1254
+ {
1255
+ "name": "qds-mini-button",
1256
+ "description": {
1257
+ "kind": "markdown",
1258
+ "value": "<!--\nSPDX-FileCopyrightText: © 2025 Schneider Electric\nSPDX-License-Identifier: Apache-2.0\n-->"
1259
+ },
1260
+ "attributes": [
1261
+ {
1262
+ "name": "disabled",
1263
+ "description": "Prevents the mini button from being interacted with: it cannot be pressed or\nfocused."
1264
+ },
1265
+ {
1266
+ "name": "href",
1267
+ "description": "When set, the underlying button will be rendered as an `<a>` with this\n`href` instead of a `<button>`."
1268
+ },
1269
+ {
1270
+ "name": "library",
1271
+ "description": "The name of a registered icon library."
1272
+ },
1273
+ {
1274
+ "name": "name",
1275
+ "description": "The name of the icon to render.\n\nAvailable names depend on the icon library being used."
1276
+ },
1277
+ {
1278
+ "name": "rel",
1279
+ "description": "When href is define and the button act as a link (`<a>`), the `rel` will be added to the element."
1280
+ },
1281
+ {
1282
+ "name": "target",
1283
+ "description": "Where to display the linked URL, as the name for a browsing context (a\ntab, window, or\n[`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe).\nThe following keywords have special meanings for where to load the URL:\n\n- `_blank`: usually a new tab, but users can configure browsers to open a new\n window instead.\n- `_parent`: the parent browsing context of the current one. If no parent,\n behaves as `_self`.\n- `_self`: the current browsing context.\n- `_top`: the topmost browsing context (the \"highest\" context that's an\n ancestor of the current one). If no ancestors, behaves as `_self`.",
1284
+ "values": [
1285
+ {
1286
+ "name": "_blank"
1287
+ },
1288
+ {
1289
+ "name": "_parent"
1290
+ },
1291
+ {
1292
+ "name": "_self"
1293
+ },
1294
+ {
1295
+ "name": "_top"
1296
+ }
1297
+ ]
1298
+ },
1299
+ {
1300
+ "name": "text",
1301
+ "description": "The mini button's accessible name."
1302
+ }
1303
+ ]
1304
+ },
1254
1305
  {
1255
1306
  "name": "qds-nav-list-item",
1256
1307
  "description": {