@maggioli-design-system/mds-paginator-item 1.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 (128) hide show
  1. package/dist/cjs/index-e927fcce.js +1102 -0
  2. package/dist/cjs/index.cjs.js +2 -0
  3. package/dist/cjs/loader.cjs.js +21 -0
  4. package/dist/cjs/mds-paginator-item.cjs.entry.js +62 -0
  5. package/dist/cjs/mds-paginator-item.cjs.js +19 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +115 -0
  8. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +71 -0
  9. package/dist/collection/dictionary/autocomplete.js +59 -0
  10. package/dist/collection/dictionary/button.js +26 -0
  11. package/dist/collection/dictionary/color.js +19 -0
  12. package/dist/collection/dictionary/floating-ui.js +19 -0
  13. package/dist/collection/dictionary/icon.js +3 -0
  14. package/dist/collection/dictionary/input-text-type.js +13 -0
  15. package/dist/collection/dictionary/loading.js +5 -0
  16. package/dist/collection/dictionary/typography.js +59 -0
  17. package/dist/collection/dictionary/variant.js +65 -0
  18. package/dist/collection/fixtures/cities.js +110 -0
  19. package/dist/collection/interface/input-value.js +1 -0
  20. package/dist/collection/types/autocomplete.js +1 -0
  21. package/dist/collection/types/button.js +1 -0
  22. package/dist/collection/types/floating-ui.js +1 -0
  23. package/dist/collection/types/form-rel.js +1 -0
  24. package/dist/collection/types/input-text-type.js +1 -0
  25. package/dist/collection/types/input-value-type.js +1 -0
  26. package/dist/collection/types/loading.js +1 -0
  27. package/dist/collection/types/typography.js +1 -0
  28. package/dist/collection/types/variant.js +1 -0
  29. package/dist/components/index.d.ts +22 -0
  30. package/dist/components/index.js +2 -0
  31. package/dist/components/mds-paginator-item.d.ts +11 -0
  32. package/dist/components/mds-paginator-item.js +80 -0
  33. package/dist/esm/index-83a6cf7b.js +1076 -0
  34. package/dist/esm/index.js +1 -0
  35. package/dist/esm/loader.js +17 -0
  36. package/dist/esm/mds-paginator-item.entry.js +58 -0
  37. package/dist/esm/mds-paginator-item.js +17 -0
  38. package/dist/esm/polyfills/core-js.js +11 -0
  39. package/dist/esm/polyfills/css-shim.js +1 -0
  40. package/dist/esm/polyfills/dom.js +79 -0
  41. package/dist/esm/polyfills/es5-html-element.js +1 -0
  42. package/dist/esm/polyfills/index.js +34 -0
  43. package/dist/esm/polyfills/system.js +6 -0
  44. package/dist/esm-es5/index-83a6cf7b.js +2 -0
  45. package/dist/esm-es5/index.js +0 -0
  46. package/dist/esm-es5/loader.js +1 -0
  47. package/dist/esm-es5/mds-paginator-item.entry.js +1 -0
  48. package/dist/esm-es5/mds-paginator-item.js +1 -0
  49. package/dist/index.cjs.js +1 -0
  50. package/dist/index.js +1 -0
  51. package/dist/mds-paginator-item/index.esm.js +0 -0
  52. package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -0
  53. package/dist/mds-paginator-item/mds-paginator-item.js +130 -0
  54. package/dist/mds-paginator-item/p-443e8754.system.entry.js +1 -0
  55. package/dist/mds-paginator-item/p-4cba8bec.system.js +2 -0
  56. package/dist/mds-paginator-item/p-50ea2036.system.js +1 -0
  57. package/dist/mds-paginator-item/p-5763f0b1.system.js +1 -0
  58. package/dist/mds-paginator-item/p-9275c4d0.js +2 -0
  59. package/dist/mds-paginator-item/p-b378e187.entry.js +1 -0
  60. package/dist/stats.json +483 -0
  61. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +15 -0
  62. package/dist/types/components.d.ts +61 -0
  63. package/dist/types/dictionary/autocomplete.d.ts +2 -0
  64. package/dist/types/dictionary/button.d.ts +5 -0
  65. package/dist/types/dictionary/color.d.ts +3 -0
  66. package/dist/types/dictionary/floating-ui.d.ts +3 -0
  67. package/dist/types/dictionary/icon.d.ts +2 -0
  68. package/dist/types/dictionary/input-text-type.d.ts +2 -0
  69. package/dist/types/dictionary/loading.d.ts +2 -0
  70. package/dist/types/dictionary/typography.d.ts +9 -0
  71. package/dist/types/dictionary/variant.d.ts +9 -0
  72. package/dist/types/fixtures/cities.d.ts +2 -0
  73. package/dist/types/interface/input-value.d.ts +4 -0
  74. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  75. package/dist/types/types/autocomplete.d.ts +2 -0
  76. package/dist/types/types/button.d.ts +4 -0
  77. package/dist/types/types/floating-ui.d.ts +2 -0
  78. package/dist/types/types/form-rel.d.ts +1 -0
  79. package/dist/types/types/input-text-type.d.ts +1 -0
  80. package/dist/types/types/input-value-type.d.ts +1 -0
  81. package/dist/types/types/loading.d.ts +1 -0
  82. package/dist/types/types/typography.d.ts +8 -0
  83. package/dist/types/types/variant.d.ts +10 -0
  84. package/loader/cdn.js +3 -0
  85. package/loader/index.cjs.js +3 -0
  86. package/loader/index.d.ts +12 -0
  87. package/loader/index.es2017.js +3 -0
  88. package/loader/index.js +4 -0
  89. package/loader/package.json +10 -0
  90. package/package.json +47 -0
  91. package/readme.md +39 -0
  92. package/src/components/mds-paginator-item/.gitlab-ci.yml +25 -0
  93. package/src/components/mds-paginator-item/mds-paginator-item.css +83 -0
  94. package/src/components/mds-paginator-item/mds-paginator-item.tsx +43 -0
  95. package/src/components/mds-paginator-item/readme.md +19 -0
  96. package/src/components.d.ts +61 -0
  97. package/src/dictionary/autocomplete.ts +62 -0
  98. package/src/dictionary/button.ts +35 -0
  99. package/src/dictionary/color.ts +24 -0
  100. package/src/dictionary/floating-ui.ts +25 -0
  101. package/src/dictionary/icon.ts +5 -0
  102. package/src/dictionary/input-text-type.ts +17 -0
  103. package/src/dictionary/loading.ts +9 -0
  104. package/src/dictionary/typography.ts +76 -0
  105. package/src/dictionary/variant.ts +82 -0
  106. package/src/fixtures/cities.ts +116 -0
  107. package/src/fixtures/icons.json +64 -0
  108. package/src/interface/input-value.ts +5 -0
  109. package/src/tailwind/components.css +14 -0
  110. package/src/types/autocomplete.ts +69 -0
  111. package/src/types/button.ts +24 -0
  112. package/src/types/floating-ui.ts +17 -0
  113. package/src/types/form-rel.ts +11 -0
  114. package/src/types/input-text-type.ts +11 -0
  115. package/src/types/input-value-type.ts +5 -0
  116. package/src/types/loading.ts +3 -0
  117. package/src/types/typography.ts +57 -0
  118. package/src/types/variant.ts +73 -0
  119. package/www/build/index.esm.js +0 -0
  120. package/www/build/mds-paginator-item.esm.js +1 -0
  121. package/www/build/mds-paginator-item.js +130 -0
  122. package/www/build/p-443e8754.system.entry.js +1 -0
  123. package/www/build/p-4cba8bec.system.js +2 -0
  124. package/www/build/p-50ea2036.system.js +1 -0
  125. package/www/build/p-5763f0b1.system.js +1 -0
  126. package/www/build/p-9275c4d0.js +2 -0
  127. package/www/build/p-b378e187.entry.js +1 -0
  128. package/www/host.config.json +15 -0
@@ -0,0 +1,2 @@
1
+ export declare type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
+ export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -0,0 +1,4 @@
1
+ export declare type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
+ export declare type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
3
+ export declare type ButtonIconPositionType = 'left' | 'right';
4
+ export declare type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
@@ -0,0 +1,2 @@
1
+ export declare type FloatingUIPlacement = 'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start';
2
+ export declare type FloatingUIStrategy = 'absolute' | 'fixed';
@@ -0,0 +1 @@
1
+ export declare type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
@@ -0,0 +1 @@
1
+ export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -0,0 +1 @@
1
+ export declare type InputValueType = null | number | string | undefined;
@@ -0,0 +1 @@
1
+ export declare type LoadingType = 'eager' | 'lazy';
@@ -0,0 +1,8 @@
1
+ export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
2
+ export declare type TypographyVariants = 'title' | 'info' | 'read' | 'mono';
3
+ export declare type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
+ export declare type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
5
+ export declare type TypographyReadType = 'caption' | 'detail' | 'paragraph';
6
+ export declare type TypographySmallerType = 'tip' | 'option';
7
+ export declare type TypographyMonoType = 'code' | 'hack';
8
+ export declare type TypographyTooltipType = 'caption' | 'detail' | 'tip';
@@ -0,0 +1,10 @@
1
+ export declare type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
2
+ export declare type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
3
+ export declare type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
4
+ export declare type ThemeLuminanceVariantType = 'dark' | 'light';
5
+ export declare type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
6
+ export declare type ActionVariantType = 'primary' | 'dark' | 'light';
7
+ export declare type StateVariantType = 'disabled' | 'focused' | 'readonly';
8
+ export declare type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
9
+ export declare type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
10
+ export declare type ToneMinimalVariantType = 'strong' | 'weak';
package/loader/cdn.js ADDED
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,12 @@
1
+ export * from '../dist/types/components';
2
+ export interface CustomElementsDefineOptions {
3
+ exclude?: string[];
4
+ resourcesUrl?: string;
5
+ syncQueue?: boolean;
6
+ jmp?: (c: Function) => any;
7
+ raf?: (c: FrameRequestCallback) => number;
8
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
+ }
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
+ export declare function applyPolyfills(): Promise<void>;
@@ -0,0 +1,3 @@
1
+
2
+ export * from '../dist/esm/polyfills/index.js';
3
+ export * from '../dist/esm/loader.js';
@@ -0,0 +1,4 @@
1
+
2
+ (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
+ export * from '../dist/esm/polyfills/index.js';
4
+ export * from '../dist/esm-es5/loader.js';
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "mds-paginator-item-loader",
3
+ "typings": "./index.d.ts",
4
+ "module": "./index.js",
5
+ "main": "./index.cjs.js",
6
+ "jsnext:main": "./index.es2017.js",
7
+ "es2015": "./index.es2017.js",
8
+ "es2017": "./index.es2017.js",
9
+ "unpkg": "./cdn.js"
10
+ }
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@maggioli-design-system/mds-paginator-item",
3
+ "version": "1.0.0",
4
+ "description": "mds-paginator-item is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.js",
7
+ "es2015": "dist/esm/index.mjs",
8
+ "es2017": "dist/esm/index.mjs",
9
+ "types": "dist/types/components.d.ts",
10
+ "collection": "dist/collection/collection-manifest.json",
11
+ "collection:main": "dist/collection/index.js",
12
+ "unpkg": "dist/mds-paginator-item/mds-paginator-item.esm.js",
13
+ "files": [
14
+ "dist/",
15
+ "loader/",
16
+ "readme.md",
17
+ "src/",
18
+ "www/"
19
+ ],
20
+ "scripts": {
21
+ "build": "rm src/components.d.ts || true && stencil build --docs-readme",
22
+ "prepublishOnly": "npm run build",
23
+ "test": "stencil test --spec --e2e"
24
+ },
25
+ "dependencies": {
26
+ "@maggioli-design-system/styles": "^8.0.0",
27
+ "@stencil/core": "^2.17.0"
28
+ },
29
+ "license": "MIT",
30
+ "author": {
31
+ "name": "Vittorio Vittori",
32
+ "email": "vittorio.vittori@maggioli.it",
33
+ "url": "http://vit.to"
34
+ },
35
+ "contributors": [
36
+ {
37
+ "name": "Andrea Pruccoli",
38
+ "email": "andrea.pruccoli@maggioli.it",
39
+ "role": "Software Engineer"
40
+ },
41
+ {
42
+ "name": "Vittorio Vittori",
43
+ "email": "vittorio.vittori@maggioli.it",
44
+ "role": "UX UI Designer"
45
+ }
46
+ ]
47
+ }
package/readme.md ADDED
@@ -0,0 +1,39 @@
1
+ # mds-paginator-item
2
+
3
+
4
+
5
+ <!-- Auto Generated Below -->
6
+
7
+
8
+ ## Properties
9
+
10
+ | Property | Attribute | Description | Type | Default |
11
+ | ---------- | ---------- | ------------------------------------------------------------------------------ | --------- | ----------- |
12
+ | `active` | `active` | Specifies if the item is active or not, is handled from the parent paginator | `boolean` | `undefined` |
13
+ | `disabled` | `disabled` | Specifies if the item is disabled or not, is handled from the parent paginator | `boolean` | `undefined` |
14
+ | `icon` | `icon` | Specifies the icon used inside the paginator item | `string` | `undefined` |
15
+
16
+
17
+ ## Dependencies
18
+
19
+ ### Used by
20
+
21
+ - [mds-paginator](../mds-paginator)
22
+
23
+ ### Depends on
24
+
25
+ - [mds-icon](../mds-icon)
26
+ - [mds-text](../mds-text)
27
+
28
+ ### Graph
29
+ ```mermaid
30
+ graph TD;
31
+ mds-paginator-item --> mds-icon
32
+ mds-paginator-item --> mds-text
33
+ mds-paginator --> mds-paginator-item
34
+ style mds-paginator-item fill:#f9f,stroke:#333,stroke-width:4px
35
+ ```
36
+
37
+ ----------------------------------------------
38
+
39
+ Built with love @ **Maggioli Informatica / R&D Department**
@@ -0,0 +1,25 @@
1
+ .base-paginator-item:
2
+ variables:
3
+ COMPONENT: mds-paginator-item
4
+
5
+ # ISOLATE
6
+ paginator-item-isolate:
7
+ extends: [.base-isolate, .base-paginator-item]
8
+ dependencies: [base-stencil-build]
9
+
10
+ # TEST
11
+ paginator-item-publish-test:
12
+ extends: [.base-stencil-publish-test, .base-paginator-item]
13
+ dependencies: [base-stencil-build, paginator-item-isolate]
14
+
15
+ # PUBLISH
16
+ paginator-item-publish:
17
+ extends: [.base-stencil-publish, .base-paginator-item]
18
+ dependencies: [base-stencil-build, paginator-item-isolate]
19
+ needs: [base-stencil-build, paginator-item-isolate, paginator-item-publish-test]
20
+
21
+ # INSTALL TEST
22
+ paginator-item-install-test:
23
+ extends: [.base-stencil-install-test, .base-paginator-item]
24
+ needs: [paginator-item-publish]
25
+
@@ -0,0 +1,83 @@
1
+ @tailwind utilities;
2
+
3
+ /*
4
+ * @prop --background-disabled: Sets the background-color of the item when is disabled
5
+ * @prop --background-hover: Sets the background-color of the item when the mouse is over it
6
+ * @prop --background-selected: Sets the background-color of the item when is selected
7
+ * @prop --background: Sets the background-color of the pages area and the item
8
+ * @prop --color-disabled: Sets the color of the item when is disabled
9
+ * @prop --color-hover: Sets the text color of the item when the mouse is over it
10
+ * @prop --color-selected: Sets the text color of the item when is selected
11
+ * @prop --color: Sets the text color of the component
12
+ * @prop --radius: Sets the border-radius of the component
13
+ * @prop --shadow-disabled: Sets the box-shadow of the item when is disabled
14
+ * @prop --shadow-hover: Sets the box-shadow of the item when the mouse is over it
15
+ * @prop --shadow-selected: Sets the box-shadow of the item when is selected
16
+ * @prop --shadow: Sets the box-shadow of the component
17
+ * @prop --size: Sets the height and the min-width of the paginator item
18
+ */
19
+
20
+ :host {
21
+
22
+ --background-disabled: theme('colors.tone-neutral-09');
23
+ --background-hover: theme('colors.tone-neutral-08');
24
+ --background-selected: theme('colors.brand-maggioli-03');
25
+ --background: theme('colors.tone-neutral-09');
26
+ --color-disabled: theme('colors.tone-neutral-06');
27
+ --color-hover: theme('colors.tone-neutral-02');
28
+ --color-selected: theme('colors.tone-neutral');
29
+ --color: theme('colors.tone-neutral-02');
30
+ --radius: 200px;
31
+ --shadow-disabled: none;
32
+ --shadow-hover: none;
33
+ --shadow-selected: theme('boxShadow.sharp-md');
34
+ --shadow: none;
35
+ --size: theme('spacing.9');
36
+
37
+ @apply
38
+ box-border
39
+ cursor-pointer
40
+ inline-flex
41
+ items-center
42
+ justify-center
43
+ px-3
44
+ select-none
45
+ shrink-0
46
+ transition-colors;
47
+
48
+ background-color: var(--background);
49
+ border-radius: var(--radius);
50
+ box-shadow: var(--shadow);
51
+ color: var(--color);
52
+ height: var(--size);
53
+ min-width: var(--size);
54
+ }
55
+
56
+ :host( :hover ) {
57
+ background-color: var(--background-hover);
58
+ box-shadow: var(--shadow-hover);
59
+ color: var(--color-hover);
60
+ fill: var(--color-hover);
61
+ }
62
+
63
+ :host ( [active]) {
64
+ @apply pointer-events-none;
65
+
66
+ background-color: var(--background-selected);
67
+ box-shadow: var(--shadow-selected);
68
+ color: var(--color-selected);
69
+ fill: var(--color-selected);
70
+ }
71
+
72
+ :host ( [disabled]) {
73
+ @apply pointer-events-none;
74
+
75
+ background-color: var(--background-disabled);
76
+ box-shadow: var(--shadow-disabled);
77
+ color: var(--color-disabled);
78
+ fill: var(--color-disabled);
79
+ }
80
+
81
+ .icon {
82
+ @apply px-0;
83
+ }
@@ -0,0 +1,43 @@
1
+ import { Component, Host, h, Prop } from '@stencil/core'
2
+ import clsx from 'clsx'
3
+
4
+ @Component({
5
+ tag: 'mds-paginator-item',
6
+ styleUrl: 'mds-paginator-item.css',
7
+ shadow: true,
8
+ })
9
+ export class MdsPaginatorItem {
10
+
11
+ /**
12
+ * Specifies the icon used inside the paginator item
13
+ */
14
+ @Prop() readonly icon?:string
15
+
16
+ /**
17
+ * Specifies if the item is active or not, is handled from the parent paginator
18
+ */
19
+ @Prop({ reflect: true }) readonly active?:boolean
20
+
21
+ /**
22
+ * Specifies if the item is disabled or not, is handled from the parent paginator
23
+ */
24
+ @Prop({ reflect: true }) readonly disabled?:boolean
25
+
26
+ render () {
27
+ return (
28
+ <Host class={clsx(
29
+ this.active && 'active',
30
+ this.disabled && 'disabled',
31
+ this.icon && 'icon',
32
+ )}>
33
+ { this.icon !== undefined
34
+ ? <mds-icon name={this.icon}/>
35
+ : <mds-text class="text" typography="detail">
36
+ <slot/>
37
+ </mds-text>
38
+ }
39
+ </Host>
40
+ )
41
+ }
42
+
43
+ }
@@ -0,0 +1,19 @@
1
+ # mds-paginator-item
2
+
3
+
4
+
5
+ <!-- Auto Generated Below -->
6
+
7
+
8
+ ## Properties
9
+
10
+ | Property | Attribute | Description | Type | Default |
11
+ | ---------- | ---------- | ------------------------------------------------------------------------------ | --------- | ----------- |
12
+ | `active` | `active` | Specifies if the item is active or not, is handled from the parent paginator | `boolean` | `undefined` |
13
+ | `disabled` | `disabled` | Specifies if the item is disabled or not, is handled from the parent paginator | `boolean` | `undefined` |
14
+ | `icon` | `icon` | Specifies the icon used inside the paginator item | `string` | `undefined` |
15
+
16
+
17
+ ----------------------------------------------
18
+
19
+ Built with love @ **Maggioli Informatica / R&D Department**
@@ -0,0 +1,61 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
8
+ export namespace Components {
9
+ interface MdsPaginatorItem {
10
+ /**
11
+ * Specifies if the item is active or not, is handled from the parent paginator
12
+ */
13
+ "active"?: boolean;
14
+ /**
15
+ * Specifies if the item is disabled or not, is handled from the parent paginator
16
+ */
17
+ "disabled"?: boolean;
18
+ /**
19
+ * Specifies the icon used inside the paginator item
20
+ */
21
+ "icon"?: string;
22
+ }
23
+ }
24
+ declare global {
25
+ interface HTMLMdsPaginatorItemElement extends Components.MdsPaginatorItem, HTMLStencilElement {
26
+ }
27
+ var HTMLMdsPaginatorItemElement: {
28
+ prototype: HTMLMdsPaginatorItemElement;
29
+ new (): HTMLMdsPaginatorItemElement;
30
+ };
31
+ interface HTMLElementTagNameMap {
32
+ "mds-paginator-item": HTMLMdsPaginatorItemElement;
33
+ }
34
+ }
35
+ declare namespace LocalJSX {
36
+ interface MdsPaginatorItem {
37
+ /**
38
+ * Specifies if the item is active or not, is handled from the parent paginator
39
+ */
40
+ "active"?: boolean;
41
+ /**
42
+ * Specifies if the item is disabled or not, is handled from the parent paginator
43
+ */
44
+ "disabled"?: boolean;
45
+ /**
46
+ * Specifies the icon used inside the paginator item
47
+ */
48
+ "icon"?: string;
49
+ }
50
+ interface IntrinsicElements {
51
+ "mds-paginator-item": MdsPaginatorItem;
52
+ }
53
+ }
54
+ export { LocalJSX as JSX };
55
+ declare module "@stencil/core" {
56
+ export namespace JSX {
57
+ interface IntrinsicElements {
58
+ "mds-paginator-item": LocalJSX.MdsPaginatorItem & JSXBase.HTMLAttributes<HTMLMdsPaginatorItemElement>;
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,62 @@
1
+ const autoCompleteDictionary = [
2
+ 'additional-name',
3
+ 'address',
4
+ 'address-level1',
5
+ 'address-level2',
6
+ 'address-level3',
7
+ 'address-level4',
8
+ 'address-line1',
9
+ 'address-line2',
10
+ 'address-line3',
11
+ 'bday',
12
+ 'bday-day',
13
+ 'bday-month',
14
+ 'bday-year',
15
+ 'cc-additional-name',
16
+ 'cc-csc',
17
+ 'cc-exp',
18
+ 'cc-exp-month',
19
+ 'cc-exp-year',
20
+ 'cc-family-name',
21
+ 'cc-family-name',
22
+ 'cc-given-name',
23
+ 'cc-name',
24
+ 'cc-number',
25
+ 'cc-type',
26
+ 'country',
27
+ 'country-name',
28
+ 'current-password',
29
+ 'email',
30
+ 'family-name',
31
+ 'given-name',
32
+ 'honorific-prefix',
33
+ 'honorific-suffix',
34
+ 'impp',
35
+ 'language',
36
+ 'name',
37
+ 'new-password',
38
+ 'nickname',
39
+ 'off',
40
+ 'on',
41
+ 'one-time-code',
42
+ 'organization',
43
+ 'organization-title',
44
+ 'photo',
45
+ 'postal-code',
46
+ 'sex',
47
+ 'street-address',
48
+ 'tel',
49
+ 'tel-area-code',
50
+ 'tel-country-code',
51
+ 'tel-extension',
52
+ 'tel-local',
53
+ 'tel-national',
54
+ 'transaction-amount',
55
+ 'transaction-currency',
56
+ 'url',
57
+ 'username',
58
+ ]
59
+
60
+ export {
61
+ autoCompleteDictionary,
62
+ }
@@ -0,0 +1,35 @@
1
+ const buttonVariantDictionary = [
2
+ 'dark',
3
+ 'error',
4
+ 'info',
5
+ 'light',
6
+ 'primary',
7
+ 'success',
8
+ 'warning',
9
+ ]
10
+
11
+ const buttonToneVariantDictionary = [
12
+ 'strong',
13
+ 'weak',
14
+ 'ghost',
15
+ 'quiet',
16
+ ]
17
+
18
+ const buttonSizeDictionary = [
19
+ 'sm',
20
+ 'md',
21
+ 'lg',
22
+ 'xl',
23
+ ]
24
+
25
+ const buttonIconPositionDictionary = [
26
+ 'left',
27
+ 'right',
28
+ ]
29
+
30
+ export {
31
+ buttonSizeDictionary,
32
+ buttonToneVariantDictionary,
33
+ buttonVariantDictionary,
34
+ buttonIconPositionDictionary,
35
+ }
@@ -0,0 +1,24 @@
1
+ const colorLabelDictionary = [
2
+ 'amaranth',
3
+ 'aqua',
4
+ 'blue',
5
+ 'green',
6
+ 'lime',
7
+ 'orange',
8
+ 'orchid',
9
+ 'sky',
10
+ 'violet',
11
+ 'yellow',
12
+ ]
13
+
14
+ const colorStatusDictionary = [
15
+ 'error',
16
+ 'info',
17
+ 'success',
18
+ 'warning',
19
+ ]
20
+
21
+ export {
22
+ colorLabelDictionary,
23
+ colorStatusDictionary,
24
+ }
@@ -0,0 +1,25 @@
1
+
2
+ const floatingUIPlacementDictionary = [
3
+ 'bottom',
4
+ 'bottom-end',
5
+ 'bottom-start',
6
+ 'left',
7
+ 'left-end',
8
+ 'left-start',
9
+ 'right',
10
+ 'right-end',
11
+ 'right-start',
12
+ 'top',
13
+ 'top-end',
14
+ 'top-start',
15
+ ]
16
+
17
+ const floatingUIStrategyDictionary = [
18
+ 'absolute',
19
+ 'fixed',
20
+ ]
21
+
22
+ export {
23
+ floatingUIPlacementDictionary,
24
+ floatingUIStrategyDictionary,
25
+ }
@@ -0,0 +1,5 @@
1
+ import jsonIconsDictionary from '../fixtures/icons.json'
2
+ const iconsDictionary = jsonIconsDictionary
3
+ export {
4
+ iconsDictionary,
5
+ }
@@ -0,0 +1,17 @@
1
+ const inputTextTypeDictionary = [
2
+ 'date',
3
+ 'email',
4
+ 'number',
5
+ 'password',
6
+ 'search',
7
+ 'tel',
8
+ 'text',
9
+ 'textarea',
10
+ 'time',
11
+ 'url',
12
+ ]
13
+
14
+ export {
15
+ inputTextTypeDictionary,
16
+ }
17
+
@@ -0,0 +1,9 @@
1
+ const loadingDictionary = [
2
+ 'eager',
3
+ 'lazy',
4
+ ]
5
+
6
+ export {
7
+ loadingDictionary,
8
+ }
9
+