@maggioli-design-system/mds-paginator 3.7.2 → 4.0.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.
Files changed (88) hide show
  1. package/dist/cjs/{index-77eee455.js → index-30bc2eba.js} +14 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-paginator.cjs.entry.js +17 -7
  4. package/dist/cjs/mds-paginator.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/date.js +13 -0
  7. package/dist/collection/common/locale.js +25 -7
  8. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -236
  9. package/dist/collection/components/mds-paginator/mds-paginator.js +15 -5
  10. package/dist/collection/dictionary/button.js +7 -1
  11. package/dist/collection/dictionary/variant.js +15 -1
  12. package/dist/collection/type/variant-file-format.js +0 -34
  13. package/dist/components/mds-paginator.js +16 -6
  14. package/dist/documentation.json +3 -3
  15. package/dist/esm/{index-83d7e753.js → index-bb799122.js} +14 -3
  16. package/dist/esm/loader.js +2 -2
  17. package/dist/esm/mds-paginator.entry.js +17 -7
  18. package/dist/esm/mds-paginator.js +3 -3
  19. package/dist/esm-es5/index-bb799122.js +1 -0
  20. package/dist/esm-es5/loader.js +1 -1
  21. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  22. package/dist/esm-es5/mds-paginator.js +1 -1
  23. package/dist/mds-paginator/mds-paginator.esm.js +1 -1
  24. package/dist/mds-paginator/mds-paginator.js +1 -1
  25. package/dist/mds-paginator/p-04d97497.system.js +2 -0
  26. package/dist/mds-paginator/{p-c411d146.js → p-76c74f59.js} +2 -2
  27. package/dist/mds-paginator/{p-bada0b5a.system.js → p-ad4d8236.system.js} +1 -1
  28. package/dist/mds-paginator/p-bcb4edeb.system.entry.js +1 -0
  29. package/dist/mds-paginator/p-e01b6aef.entry.js +1 -0
  30. package/dist/stats.json +40 -37
  31. package/dist/types/common/date.d.ts +4 -0
  32. package/dist/types/common/file.d.ts +3 -4
  33. package/dist/types/common/locale.d.ts +5 -2
  34. package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
  35. package/dist/types/dictionary/button.d.ts +2 -1
  36. package/dist/types/dictionary/file-extensions.d.ts +2 -1
  37. package/dist/types/dictionary/variant.d.ts +3 -1
  38. package/dist/types/stencil-public-runtime.d.ts +6 -0
  39. package/dist/types/type/autocomplete.d.ts +1 -1
  40. package/dist/types/type/button.d.ts +1 -1
  41. package/dist/types/type/date.d.ts +5 -0
  42. package/dist/types/type/header-bar.d.ts +2 -0
  43. package/dist/types/type/input.d.ts +3 -0
  44. package/dist/types/type/variant-file-format.d.ts +4 -4
  45. package/dist/types/type/variant.d.ts +3 -2
  46. package/documentation.json +58 -33
  47. package/package.json +5 -5
  48. package/readme.md +1 -1
  49. package/src/common/date.ts +21 -0
  50. package/src/common/file.ts +2 -3
  51. package/src/common/locale.ts +29 -9
  52. package/src/common/unit.ts +1 -1
  53. package/src/components/mds-paginator/.gitlab-ci.yml +5 -10
  54. package/src/components/mds-paginator/mds-paginator.css +2 -2
  55. package/src/components/mds-paginator/mds-paginator.tsx +14 -4
  56. package/src/dictionary/button.ts +8 -0
  57. package/src/dictionary/file-extensions.ts +3 -1
  58. package/src/dictionary/variant.ts +18 -0
  59. package/src/fixtures/icons.json +45 -2
  60. package/src/fixtures/iconsauce.json +37 -0
  61. package/src/tailwind/components.css +1 -1
  62. package/src/type/autocomplete.ts +0 -1
  63. package/src/type/button.ts +1 -0
  64. package/src/type/date.ts +10 -0
  65. package/src/type/header-bar.ts +11 -0
  66. package/src/type/input.ts +4 -0
  67. package/src/type/variant-file-format.ts +20 -37
  68. package/src/type/variant.ts +10 -2
  69. package/www/build/mds-paginator.esm.js +1 -1
  70. package/www/build/mds-paginator.js +1 -1
  71. package/www/build/p-04d97497.system.js +2 -0
  72. package/www/build/{p-c411d146.js → p-76c74f59.js} +2 -2
  73. package/www/build/{p-bada0b5a.system.js → p-ad4d8236.system.js} +1 -1
  74. package/www/build/p-bcb4edeb.system.entry.js +1 -0
  75. package/www/build/p-e01b6aef.entry.js +1 -0
  76. package/dist/esm-es5/index-83d7e753.js +0 -1
  77. package/dist/mds-paginator/p-32d4dc43.system.entry.js +0 -1
  78. package/dist/mds-paginator/p-3b01870b.system.js +0 -2
  79. package/dist/mds-paginator/p-bb51d080.entry.js +0 -1
  80. package/dist/types/interface/input-value.d.ts +0 -4
  81. package/dist/types/type/language.d.ts +0 -1
  82. package/src/interface/input-value.ts +0 -5
  83. package/src/type/language.ts +0 -4
  84. package/www/build/p-32d4dc43.system.entry.js +0 -1
  85. package/www/build/p-3b01870b.system.js +0 -2
  86. package/www/build/p-bb51d080.entry.js +0 -1
  87. /package/dist/collection/{interface/input-value.js → type/date.js} +0 -0
  88. /package/dist/collection/type/{language.js → header-bar.js} +0 -0
@@ -24,7 +24,7 @@ const NAMESPACE = 'mds-paginator';
24
24
  const BUILD = /* mds-paginator */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: false, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.21.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -362,10 +362,21 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
362
362
  if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
363
363
  if (styleContainerNode.nodeName === "HEAD") {
364
364
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
365
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
365
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
366
366
  styleContainerNode.insertBefore(styleElm, referenceNode2);
367
367
  } else if ("host" in styleContainerNode) {
368
- styleContainerNode.prepend(styleElm);
368
+ if (supportsConstructableStylesheets) {
369
+ const stylesheet = new CSSStyleSheet();
370
+ stylesheet.replaceSync(style);
371
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
372
+ } else {
373
+ const existingStyleContainer = styleContainerNode.querySelector("style");
374
+ if (existingStyleContainer) {
375
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
376
+ } else {
377
+ styleContainerNode.prepend(styleElm);
378
+ }
379
+ }
369
380
  } else {
370
381
  styleContainerNode.append(styleElm);
371
382
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-77eee455.js');
5
+ const index = require('./index-30bc2eba.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,22 +2,22 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-77eee455.js');
5
+ const index = require('./index-30bc2eba.js');
6
6
 
7
7
  const miBaselineArrowBack = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8l8 8l1.41-1.41L7.83 13H20v-2z"/></svg>`;
8
8
 
9
9
  const miBaselineArrowForward = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/></svg>`;
10
10
 
11
- const mdsPaginatorCss = "@tailwind components;\n@tailwind utilities;\n\n.svg{\n\n display: -ms-flexbox;\n\n display: flex;\n}\n\n.svg svg{\n\n aspect-ratio: 1/1;\n\n height: 100%;\n\n width: 100%;\n}\n@tailwind utilities;\n\n/**\n* @prop --mds-paginator-background: Sets the background-color of the pages area and the item\n*/\n\n:host {\n\n --mds-paginator-background: rgb(var(--tone-neutral-09));\n\n gap: 0.25rem;\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n}\n\n.pages {\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n border-radius: 9999px;\n padding: 0.5rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-paginator-background);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-negative: 1;\n flex-shrink: 1;\n gap: 2px;\n overflow: auto;\n scroll-behavior: smooth;\n -webkit-transition-property: background-color, -webkit-box-shadow;\n transition-property: background-color, -webkit-box-shadow;\n transition-property: background-color, box-shadow;\n transition-property: background-color, box-shadow, -webkit-box-shadow;\n }\n\n.pages::-webkit-scrollbar {\n display: none;\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .pages {\n scroll-behavior: unset;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .pages {\n scroll-behavior: unset;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-paginator-background: rgb(var(--tone-neutral-09));\n\n }\n \n .pages {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-paginator-background: rgb(var(--tone-neutral-09));\n }\n\n .pages {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n.static{\n\n position: static;\n}\n\n.fixed{\n\n position: fixed;\n}\n\n.absolute{\n\n position: absolute;\n}\n\n.border{\n\n border-width: 1px;\n}\n\n.bg-label-amaranth-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-aqua-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-blue-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-green-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-lime-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orange-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orchid-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-violet-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-yellow-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));\n}\n\n.bg-tone-neutral-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));\n}\n\n.fill-label-amaranth-04{\n\n fill: rgb(var(--label-amaranth-04));\n}\n\n.fill-label-aqua-04{\n\n fill: rgb(var(--label-aqua-04));\n}\n\n.fill-label-blue-04{\n\n fill: rgb(var(--label-blue-04));\n}\n\n.fill-label-green-04{\n\n fill: rgb(var(--label-green-04));\n}\n\n.fill-label-lime-04{\n\n fill: rgb(var(--label-lime-04));\n}\n\n.fill-label-orange-04{\n\n fill: rgb(var(--label-orange-04));\n}\n\n.fill-label-orchid-04{\n\n fill: rgb(var(--label-orchid-04));\n}\n\n.fill-label-violet-04{\n\n fill: rgb(var(--label-violet-04));\n}\n\n.fill-label-yellow-04{\n\n fill: rgb(var(--label-yellow-04));\n}\n\n.fill-tone-neutral-04{\n\n fill: rgb(var(--tone-neutral-04));\n}\n\n.text-label-amaranth-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));\n}\n\n.text-label-aqua-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));\n}\n\n.text-label-blue-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-blue-04) / var(--tw-text-opacity));\n}\n\n.text-label-green-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-green-04) / var(--tw-text-opacity));\n}\n\n.text-label-lime-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-lime-04) / var(--tw-text-opacity));\n}\n\n.text-label-orange-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orange-04) / var(--tw-text-opacity));\n}\n\n.text-label-orchid-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));\n}\n\n.text-label-violet-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-violet-04) / var(--tw-text-opacity));\n}\n\n.text-label-yellow-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));\n}\n\n.text-tone-neutral-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));\n}\n\n.shadow{\n\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n\n -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n@container style(--magma-pref-contrast: more) {\n .pages {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n\n .item {\n\n --mds-paginator-item-background-hover: rgb(var(--tone-neutral));\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: none;\n }\n\n .item-first,\n .item-last,\n .item-icon {\n\n --mds-paginator-item-shadow-disabled: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n .pages {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n\n .item {\n\n --mds-paginator-item-background-hover: rgb(var(--tone-neutral));\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: none;\n }\n\n .item-first,\n .item-last,\n .item-icon {\n\n --mds-paginator-item-shadow-disabled: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n";
11
+ const mdsPaginatorCss = "@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-paginator-background: Sets the background-color of the pages area and the item\n */\n\n:host {\n\n --mds-paginator-background: rgb(var(--tone-neutral-09));\n\n gap: 0.25rem;\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n}\n\n.pages {\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n border-radius: 9999px;\n padding: 0.5rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-paginator-background);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-negative: 1;\n flex-shrink: 1;\n gap: 2px;\n overflow: auto;\n scroll-behavior: smooth;\n -webkit-transition-property: background-color, -webkit-box-shadow;\n transition-property: background-color, -webkit-box-shadow;\n transition-property: background-color, box-shadow;\n transition-property: background-color, box-shadow, -webkit-box-shadow;\n }\n\n.pages::-webkit-scrollbar {\n display: none;\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .pages {\n scroll-behavior: unset;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .pages {\n scroll-behavior: unset;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-paginator-background: rgb(var(--tone-neutral-09));\n\n }\n \n .pages {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-paginator-background: rgb(var(--tone-neutral-09));\n }\n\n .pages {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n .pages {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n\n .item {\n\n --mds-paginator-item-background-hover: rgb(var(--tone-neutral));\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: none;\n }\n\n .item-first,\n .item-last,\n .item-icon {\n\n --mds-paginator-item-shadow-disabled: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n .pages {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n\n .item {\n\n --mds-paginator-item-background-hover: rgb(var(--tone-neutral));\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: none;\n }\n\n .item-first,\n .item-last,\n .item-icon {\n\n --mds-paginator-item-shadow-disabled: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow-hover: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n --mds-paginator-item-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n";
12
12
  const MdsPaginatorStyle0 = mdsPaginatorCss;
13
13
 
14
14
  const MdsPaginator = class {
15
15
  constructor(hostRef) {
16
16
  index.registerInstance(this, hostRef);
17
17
  this.pageChangedEvent = index.createEvent(this, "mdsPaginatorChange", 7);
18
- this.scrollPage = () => {
18
+ this.scrollPage = (index) => {
19
19
  var _a;
20
- const elementIndex = this.currentPage - 2;
20
+ const elementIndex = index;
21
21
  const pagesElement = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.pages');
22
22
  const pagesItems = pagesElement === null || pagesElement === void 0 ? void 0 : pagesElement.querySelectorAll('mds-paginator-item');
23
23
  if (!pagesElement || !pagesItems)
@@ -34,13 +34,23 @@ const MdsPaginator = class {
34
34
  const pageItem = pagesItems[elementIndex];
35
35
  pagesElement.scrollLeft = pageItem.offsetLeft - pagesElement.offsetLeft - (pagesElement.offsetWidth / 2) + (pageItem.offsetWidth / 2);
36
36
  };
37
+ this.focus = (ev) => {
38
+ var _a;
39
+ const pagesElement = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.pages');
40
+ const pagesItems = pagesElement === null || pagesElement === void 0 ? void 0 : pagesElement.querySelectorAll('mds-paginator-item');
41
+ if (pagesItems && ev.target) {
42
+ const elements = Array.from(pagesItems);
43
+ const index = elements.indexOf(ev.target);
44
+ this.scrollPage(index);
45
+ }
46
+ };
37
47
  this.goToPage = (selectedPage, caller) => {
38
48
  if (selectedPage < 1 || selectedPage > this.pages) {
39
49
  return;
40
50
  }
41
51
  this.currentPage = selectedPage;
42
52
  if (this.pages > 2) {
43
- this.scrollPage();
53
+ this.scrollPage(this.currentPage - 2);
44
54
  }
45
55
  this.pageChangedEvent.emit({ page: this.currentPage, caller });
46
56
  };
@@ -53,8 +63,8 @@ const MdsPaginator = class {
53
63
  }, 10);
54
64
  }
55
65
  render() {
56
- return (index.h(index.Host, { key: 'c48ab830fce84651cabbc04771ca7b991962217d' }, index.h("mds-paginator-item", { key: '153e28bec3b49100c04deeff90c7fe919dcf43b1', class: "item-icon", icon: miBaselineArrowBack, disabled: this.currentPage === 1, onClick: ev => this.goToPage(this.currentPage - 1, ev.target) }), this.pages > 0 && index.h("mds-paginator-item", { key: '05fa304b74614f324caac54ca3e2080360e0ec46', class: "item-first", selected: this.currentPage === 1, onClick: ev => this.goToPage(1, ev.target) }, "1"), this.pages > 2 &&
57
- index.h("div", { key: '1c6888c45a736ea55b1ac516b04bc4141db1cd14', class: "pages" }, Array.from(Array(this.pages - 2).keys()).map(i => index.h("mds-paginator-item", { key: i, class: "item", selected: this.currentPage === i + 2, onClick: ev => this.goToPage(i + 2, ev.target) }, i + 2))), this.pages > 1 && index.h("mds-paginator-item", { key: '0854db5bb04ed8483fe2732bc4345a6f31b374b3', class: "item-last", selected: this.currentPage === this.pages, onClick: ev => this.goToPage(this.pages, ev.target) }, this.pages), index.h("mds-paginator-item", { key: '421a658bd082e983c0b594e5e6cf927a3aa2e6f7', class: "item-icon", icon: miBaselineArrowForward, disabled: this.currentPage === this.pages, onClick: ev => this.goToPage(this.currentPage + 1, ev.target) })));
66
+ return (index.h(index.Host, { key: '75d9f42aad179850676dd09a6a431f0826e567f5' }, index.h("mds-paginator-item", { key: '07983227fc834b1a22cc0286202f548dcc51432c', class: "item-icon", icon: miBaselineArrowBack, disabled: this.currentPage === 1, onClick: ev => this.goToPage(this.currentPage - 1, ev.target) }), this.pages > 0 && index.h("mds-paginator-item", { key: '0c4ee75a41b1cb09c003454cd47667b97e8adaeb', class: "item-first", selected: this.currentPage === 1, onClick: ev => this.goToPage(1, ev.target) }, "1"), this.pages > 2 &&
67
+ index.h("div", { key: '739fd7852575fab05571f2397a8763bbb7474d7b', class: "pages" }, Array.from(Array(this.pages - 2).keys()).map(i => index.h("mds-paginator-item", { key: i, class: "item", selected: this.currentPage === i + 2, onClick: ev => this.goToPage(i + 2, ev.target), onFocus: this.focus }, i + 2))), this.pages > 1 && index.h("mds-paginator-item", { key: '2eb83e4e32bbc3c04fc1ac936cd1416478521005', class: "item-last", selected: this.currentPage === this.pages, onClick: ev => this.goToPage(this.pages, ev.target) }, this.pages), index.h("mds-paginator-item", { key: '44923ede2579a66ffa369805419e502fe2c9a06a', class: "item-icon", icon: miBaselineArrowForward, disabled: this.currentPage === this.pages, onClick: ev => this.goToPage(this.currentPage + 1, ev.target) })));
58
68
  }
59
69
  get element() { return index.getElement(this); }
60
70
  };
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-77eee455.js');
5
+ const index = require('./index-30bc2eba.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-paginator.cjs.js', document.baseURI).href));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.21.0",
8
- "typescriptVersion": "5.5.3"
7
+ "version": "4.22.2",
8
+ "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -0,0 +1,13 @@
1
+ // ISO 8601 date regex allowing optional components (month, day, time)
2
+ const ISO8601RegexString = '^\\d{4}(-\\d{2})?(-\\d{2})?(T\\d{2}(:\\d{2})?(:\\d{2})?(\\.\\d{3})?)?([+-]\\d{2}:\\d{2}|Z)?$';
3
+ const isISO8601Date = (dateString) => {
4
+ const ISO8601Regex = new RegExp(ISO8601RegexString);
5
+ return ISO8601Regex.test(dateString);
6
+ };
7
+ const sanitizeISO8601Date = (dateString) => {
8
+ if (isISO8601Date(dateString)) {
9
+ return dateString;
10
+ }
11
+ return new Date(dateString).toISOString();
12
+ };
13
+ export { sanitizeISO8601Date, isISO8601Date, };
@@ -1,16 +1,33 @@
1
- import Handlebars from "handlebars";
1
+ import { render } from "mustache";
2
2
  export class Locale {
3
3
  constructor(configData) {
4
4
  this.rollbackLanguage = 'en';
5
- this.lang = (element) => {
6
- this.closestElement = element.closest('[lang]');
5
+ this.set = (configData) => {
6
+ this.config = configData;
7
+ };
8
+ this.lang = (el) => {
9
+ this.element = el;
10
+ this.closestElement = this.element.closest('[lang]');
7
11
  if (this.closestElement) {
8
12
  if (this.closestElement.lang) {
9
13
  this.language = this.closestElement.lang;
10
- return;
14
+ return this.language;
11
15
  }
12
16
  }
13
17
  this.language = this.rollbackLanguage;
18
+ return this.language;
19
+ };
20
+ this.update = (doc) => {
21
+ const context = doc !== null && doc !== void 0 ? doc : this.element.shadowRoot;
22
+ context && context.querySelectorAll('*').forEach(el => {
23
+ if (el.tagName.toLowerCase().startsWith('mds-')) {
24
+ // eslint-disable-next-line no-restricted-syntax
25
+ if (el && 'updateLang' in el) {
26
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
27
+ el.updateLang();
28
+ }
29
+ }
30
+ });
14
31
  };
15
32
  this.pluralize = (tag, context) => {
16
33
  const languagePhrase = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
@@ -34,8 +51,7 @@ export class Locale {
34
51
  }
35
52
  }
36
53
  }
37
- const template = Handlebars.compile(translatePhrase);
38
- return template(context);
54
+ return render(translatePhrase, context);
39
55
  };
40
56
  this.get = (tag, context) => {
41
57
  if (context) {
@@ -43,6 +59,8 @@ export class Locale {
43
59
  }
44
60
  return this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
45
61
  };
46
- this.config = configData;
62
+ if (configData) {
63
+ this.set(configData);
64
+ }
47
65
  }
48
66
  }
@@ -1,24 +1,9 @@
1
1
  @tailwind components;
2
2
  @tailwind utilities;
3
3
 
4
- .svg{
5
-
6
- display: flex;
7
- }
8
-
9
- .svg svg{
10
-
11
- aspect-ratio: 1/1;
12
-
13
- height: 100%;
14
-
15
- width: 100%;
16
- }
17
- @tailwind utilities;
18
-
19
4
  /**
20
- * @prop --mds-paginator-background: Sets the background-color of the pages area and the item
21
- */
5
+ * @prop --mds-paginator-background: Sets the background-color of the pages area and the item
6
+ */
22
7
 
23
8
  :host {
24
9
 
@@ -106,225 +91,6 @@
106
91
  }
107
92
  }
108
93
 
109
- .static{
110
-
111
- position: static;
112
- }
113
-
114
- .fixed{
115
-
116
- position: fixed;
117
- }
118
-
119
- .absolute{
120
-
121
- position: absolute;
122
- }
123
-
124
- .border{
125
-
126
- border-width: 1px;
127
- }
128
-
129
- .bg-label-amaranth-10{
130
-
131
- --tw-bg-opacity: 1;
132
-
133
- background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));
134
- }
135
-
136
- .bg-label-aqua-10{
137
-
138
- --tw-bg-opacity: 1;
139
-
140
- background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));
141
- }
142
-
143
- .bg-label-blue-10{
144
-
145
- --tw-bg-opacity: 1;
146
-
147
- background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));
148
- }
149
-
150
- .bg-label-green-10{
151
-
152
- --tw-bg-opacity: 1;
153
-
154
- background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));
155
- }
156
-
157
- .bg-label-lime-10{
158
-
159
- --tw-bg-opacity: 1;
160
-
161
- background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));
162
- }
163
-
164
- .bg-label-orange-10{
165
-
166
- --tw-bg-opacity: 1;
167
-
168
- background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));
169
- }
170
-
171
- .bg-label-orchid-10{
172
-
173
- --tw-bg-opacity: 1;
174
-
175
- background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));
176
- }
177
-
178
- .bg-label-violet-10{
179
-
180
- --tw-bg-opacity: 1;
181
-
182
- background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));
183
- }
184
-
185
- .bg-label-yellow-10{
186
-
187
- --tw-bg-opacity: 1;
188
-
189
- background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));
190
- }
191
-
192
- .bg-tone-neutral-10{
193
-
194
- --tw-bg-opacity: 1;
195
-
196
- background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));
197
- }
198
-
199
- .fill-label-amaranth-04{
200
-
201
- fill: rgb(var(--label-amaranth-04));
202
- }
203
-
204
- .fill-label-aqua-04{
205
-
206
- fill: rgb(var(--label-aqua-04));
207
- }
208
-
209
- .fill-label-blue-04{
210
-
211
- fill: rgb(var(--label-blue-04));
212
- }
213
-
214
- .fill-label-green-04{
215
-
216
- fill: rgb(var(--label-green-04));
217
- }
218
-
219
- .fill-label-lime-04{
220
-
221
- fill: rgb(var(--label-lime-04));
222
- }
223
-
224
- .fill-label-orange-04{
225
-
226
- fill: rgb(var(--label-orange-04));
227
- }
228
-
229
- .fill-label-orchid-04{
230
-
231
- fill: rgb(var(--label-orchid-04));
232
- }
233
-
234
- .fill-label-violet-04{
235
-
236
- fill: rgb(var(--label-violet-04));
237
- }
238
-
239
- .fill-label-yellow-04{
240
-
241
- fill: rgb(var(--label-yellow-04));
242
- }
243
-
244
- .fill-tone-neutral-04{
245
-
246
- fill: rgb(var(--tone-neutral-04));
247
- }
248
-
249
- .text-label-amaranth-04{
250
-
251
- --tw-text-opacity: 1;
252
-
253
- color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));
254
- }
255
-
256
- .text-label-aqua-04{
257
-
258
- --tw-text-opacity: 1;
259
-
260
- color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));
261
- }
262
-
263
- .text-label-blue-04{
264
-
265
- --tw-text-opacity: 1;
266
-
267
- color: rgb(var(--label-blue-04) / var(--tw-text-opacity));
268
- }
269
-
270
- .text-label-green-04{
271
-
272
- --tw-text-opacity: 1;
273
-
274
- color: rgb(var(--label-green-04) / var(--tw-text-opacity));
275
- }
276
-
277
- .text-label-lime-04{
278
-
279
- --tw-text-opacity: 1;
280
-
281
- color: rgb(var(--label-lime-04) / var(--tw-text-opacity));
282
- }
283
-
284
- .text-label-orange-04{
285
-
286
- --tw-text-opacity: 1;
287
-
288
- color: rgb(var(--label-orange-04) / var(--tw-text-opacity));
289
- }
290
-
291
- .text-label-orchid-04{
292
-
293
- --tw-text-opacity: 1;
294
-
295
- color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));
296
- }
297
-
298
- .text-label-violet-04{
299
-
300
- --tw-text-opacity: 1;
301
-
302
- color: rgb(var(--label-violet-04) / var(--tw-text-opacity));
303
- }
304
-
305
- .text-label-yellow-04{
306
-
307
- --tw-text-opacity: 1;
308
-
309
- color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));
310
- }
311
-
312
- .text-tone-neutral-04{
313
-
314
- --tw-text-opacity: 1;
315
-
316
- color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));
317
- }
318
-
319
- .shadow{
320
-
321
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
322
-
323
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
324
-
325
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
326
- }
327
-
328
94
  @container style(--magma-pref-contrast: more) {
329
95
  .pages {
330
96
  box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;
@@ -3,9 +3,9 @@ import miBaselineArrowBack from "@icon/mi/baseline/arrow-back.svg";
3
3
  import miBaselineArrowForward from "@icon/mi/baseline/arrow-forward.svg";
4
4
  export class MdsPaginator {
5
5
  constructor() {
6
- this.scrollPage = () => {
6
+ this.scrollPage = (index) => {
7
7
  var _a;
8
- const elementIndex = this.currentPage - 2;
8
+ const elementIndex = index;
9
9
  const pagesElement = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.pages');
10
10
  const pagesItems = pagesElement === null || pagesElement === void 0 ? void 0 : pagesElement.querySelectorAll('mds-paginator-item');
11
11
  if (!pagesElement || !pagesItems)
@@ -22,13 +22,23 @@ export class MdsPaginator {
22
22
  const pageItem = pagesItems[elementIndex];
23
23
  pagesElement.scrollLeft = pageItem.offsetLeft - pagesElement.offsetLeft - (pagesElement.offsetWidth / 2) + (pageItem.offsetWidth / 2);
24
24
  };
25
+ this.focus = (ev) => {
26
+ var _a;
27
+ const pagesElement = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.pages');
28
+ const pagesItems = pagesElement === null || pagesElement === void 0 ? void 0 : pagesElement.querySelectorAll('mds-paginator-item');
29
+ if (pagesItems && ev.target) {
30
+ const elements = Array.from(pagesItems);
31
+ const index = elements.indexOf(ev.target);
32
+ this.scrollPage(index);
33
+ }
34
+ };
25
35
  this.goToPage = (selectedPage, caller) => {
26
36
  if (selectedPage < 1 || selectedPage > this.pages) {
27
37
  return;
28
38
  }
29
39
  this.currentPage = selectedPage;
30
40
  if (this.pages > 2) {
31
- this.scrollPage();
41
+ this.scrollPage(this.currentPage - 2);
32
42
  }
33
43
  this.pageChangedEvent.emit({ page: this.currentPage, caller });
34
44
  };
@@ -41,8 +51,8 @@ export class MdsPaginator {
41
51
  }, 10);
42
52
  }
43
53
  render() {
44
- return (h(Host, { key: 'c48ab830fce84651cabbc04771ca7b991962217d' }, h("mds-paginator-item", { key: '153e28bec3b49100c04deeff90c7fe919dcf43b1', class: "item-icon", icon: miBaselineArrowBack, disabled: this.currentPage === 1, onClick: ev => this.goToPage(this.currentPage - 1, ev.target) }), this.pages > 0 && h("mds-paginator-item", { key: '05fa304b74614f324caac54ca3e2080360e0ec46', class: "item-first", selected: this.currentPage === 1, onClick: ev => this.goToPage(1, ev.target) }, "1"), this.pages > 2 &&
45
- h("div", { key: '1c6888c45a736ea55b1ac516b04bc4141db1cd14', class: "pages" }, Array.from(Array(this.pages - 2).keys()).map(i => h("mds-paginator-item", { key: i, class: "item", selected: this.currentPage === i + 2, onClick: ev => this.goToPage(i + 2, ev.target) }, i + 2))), this.pages > 1 && h("mds-paginator-item", { key: '0854db5bb04ed8483fe2732bc4345a6f31b374b3', class: "item-last", selected: this.currentPage === this.pages, onClick: ev => this.goToPage(this.pages, ev.target) }, this.pages), h("mds-paginator-item", { key: '421a658bd082e983c0b594e5e6cf927a3aa2e6f7', class: "item-icon", icon: miBaselineArrowForward, disabled: this.currentPage === this.pages, onClick: ev => this.goToPage(this.currentPage + 1, ev.target) })));
54
+ return (h(Host, { key: '75d9f42aad179850676dd09a6a431f0826e567f5' }, h("mds-paginator-item", { key: '07983227fc834b1a22cc0286202f548dcc51432c', class: "item-icon", icon: miBaselineArrowBack, disabled: this.currentPage === 1, onClick: ev => this.goToPage(this.currentPage - 1, ev.target) }), this.pages > 0 && h("mds-paginator-item", { key: '0c4ee75a41b1cb09c003454cd47667b97e8adaeb', class: "item-first", selected: this.currentPage === 1, onClick: ev => this.goToPage(1, ev.target) }, "1"), this.pages > 2 &&
55
+ h("div", { key: '739fd7852575fab05571f2397a8763bbb7474d7b', class: "pages" }, Array.from(Array(this.pages - 2).keys()).map(i => h("mds-paginator-item", { key: i, class: "item", selected: this.currentPage === i + 2, onClick: ev => this.goToPage(i + 2, ev.target), onFocus: this.focus }, i + 2))), this.pages > 1 && h("mds-paginator-item", { key: '2eb83e4e32bbc3c04fc1ac936cd1416478521005', class: "item-last", selected: this.currentPage === this.pages, onClick: ev => this.goToPage(this.pages, ev.target) }, this.pages), h("mds-paginator-item", { key: '44923ede2579a66ffa369805419e502fe2c9a06a', class: "item-icon", icon: miBaselineArrowForward, disabled: this.currentPage === this.pages, onClick: ev => this.goToPage(this.currentPage + 1, ev.target) })));
46
56
  }
47
57
  static get is() { return "mds-paginator"; }
48
58
  static get encapsulation() { return "shadow"; }
@@ -4,6 +4,7 @@ const buttonVariantDictionary = [
4
4
  'info',
5
5
  'light',
6
6
  'primary',
7
+ 'secondary',
7
8
  'success',
8
9
  'warning',
9
10
  ];
@@ -27,4 +28,9 @@ const buttonIconPositionDictionary = [
27
28
  'left',
28
29
  'right',
29
30
  ];
30
- export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, };
31
+ const buttonTypeDictionary = [
32
+ 'button',
33
+ 'submit',
34
+ 'reset',
35
+ ];
36
+ export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonTypeDictionary, buttonVariantDictionary, };
@@ -70,6 +70,15 @@ const toneVariantDictionary = [
70
70
  'ghost',
71
71
  'quiet',
72
72
  ];
73
+ const themeVariantChipDictionary = [
74
+ 'primary',
75
+ 'secondary',
76
+ 'dark',
77
+ 'error',
78
+ 'info',
79
+ 'success',
80
+ 'warning',
81
+ ];
73
82
  const toneActionVariantDictionary = [
74
83
  'primary',
75
84
  'secondary',
@@ -83,8 +92,13 @@ const toneSimpleVariantDictionary = [
83
92
  'weak',
84
93
  'quiet',
85
94
  ];
95
+ const toneSmartVariantDictionary = [
96
+ 'strong',
97
+ 'weak',
98
+ 'ghost',
99
+ ];
86
100
  const toneMinimalVariantDictionary = [
87
101
  'strong',
88
102
  'weak',
89
103
  ];
90
- export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
104
+ export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };