@jsfour/root-ui 0.0.1

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 (158) hide show
  1. package/.stencil/.build/_README.log +8 -0
  2. package/.stencil/.build/optimizeCss_d508b9fc8ae8bf613c09ccb27d146e3a.log +1 -0
  3. package/.stencil/.build/optimizeModule_0b160af7f941adcacfa811e102b08adf.log +2 -0
  4. package/.stencil/.build/optimizeModule_0b246ca6c0647c40ed469a0cf4358a73.log +1 -0
  5. package/.stencil/.build/optimizeModule_1bed709b53ef02375e9f61a9dfa643f3.log +1 -0
  6. package/.stencil/.build/optimizeModule_1d7b03de1d56993f8736d0dfa953b016.log +1 -0
  7. package/.stencil/.build/optimizeModule_211068a08f9a2243f9b6bbc0d066ca7b.log +1 -0
  8. package/.stencil/.build/optimizeModule_2187d3c4a8fdf77d63b94a49e5339089.log +1 -0
  9. package/.stencil/.build/optimizeModule_25ac0c9c93505850d30d777a8983d6cc.log +1 -0
  10. package/.stencil/.build/optimizeModule_2a8347890bf34de8ebcd825e93de4eac.log +1 -0
  11. package/.stencil/.build/optimizeModule_310d74be43349d9cd4462216f44e3025.log +1 -0
  12. package/.stencil/.build/optimizeModule_35ed1b3083d56d1312b29cdc8702dde6.log +1 -0
  13. package/.stencil/.build/optimizeModule_3abf5364bd9f3e07cabdf31f25fdfccd.log +1 -0
  14. package/.stencil/.build/optimizeModule_3c694181a383d2d5d7c43959dae3fc40.log +2 -0
  15. package/.stencil/.build/optimizeModule_3e5a7a979ee157dee476e23a940398bf.log +1 -0
  16. package/.stencil/.build/optimizeModule_3f113b87a2543efdae16831cf4a13466.log +1 -0
  17. package/.stencil/.build/optimizeModule_4cf0a704790c64fa3e7636ba3472dff6.log +1 -0
  18. package/.stencil/.build/optimizeModule_5473d4453ebf4ef999ac7777394048db.log +1 -0
  19. package/.stencil/.build/optimizeModule_56e4598e7f285cec042c0632923a473c.log +1 -0
  20. package/.stencil/.build/optimizeModule_5721447e0280cf2192180b57b6ffd931.log +1 -0
  21. package/.stencil/.build/optimizeModule_5fe32756e8649adbca14ee76bdfbfad3.log +2 -0
  22. package/.stencil/.build/optimizeModule_60477845aacd02169ef3d0091bfb345f.log +1 -0
  23. package/.stencil/.build/optimizeModule_645cc880dd3009950a72ea147a926718.log +1 -0
  24. package/.stencil/.build/optimizeModule_64633d5e5c5103adb5683fc19edaa8b8.log +1 -0
  25. package/.stencil/.build/optimizeModule_6b615133c24ac4e6c5428eb74470b5cb.log +1 -0
  26. package/.stencil/.build/optimizeModule_6e9d6355a774b23f578c75f14d78e605.log +1 -0
  27. package/.stencil/.build/optimizeModule_8797e91e099ec89d9158d143cc9e8199.log +1 -0
  28. package/.stencil/.build/optimizeModule_8a9445cafc85dc657334e37e1fce6fdc.log +1 -0
  29. package/.stencil/.build/optimizeModule_8c399f3f088e7f1cbb87f65d8e96bfc4.log +1 -0
  30. package/.stencil/.build/optimizeModule_90f423b7b20b32670cb13ca6605940fa.log +1 -0
  31. package/.stencil/.build/optimizeModule_9d37b0c4d3ae587fe9c9f384659ac198.log +1 -0
  32. package/.stencil/.build/optimizeModule_9eb9260f8aec9636ffc5e00444eaa1ea.log +1 -0
  33. package/.stencil/.build/optimizeModule_a90d2726fdff70d788aaa8b3fbc0adc7.log +1 -0
  34. package/.stencil/.build/optimizeModule_ad865e38167d997d66ef7128fdb36b5e.log +1 -0
  35. package/.stencil/.build/optimizeModule_b1b3b2dbe6634f16e4a063d74c2df110.log +1 -0
  36. package/.stencil/.build/optimizeModule_b24fa4d64bacca187db7a0654705e182.log +1 -0
  37. package/.stencil/.build/optimizeModule_b90b0f1d4d3dd3aae106476a0cce19c0.log +1 -0
  38. package/.stencil/.build/optimizeModule_c0fee36e4d0c0c701c749a56eec1f7d8.log +1 -0
  39. package/.stencil/.build/optimizeModule_ceeae0c907ecc2a87e2ad19d79e99510.log +1 -0
  40. package/.stencil/.build/optimizeModule_d68f87c26c9b5557f71199e397b81fde.log +1 -0
  41. package/.stencil/.build/optimizeModule_d6b6b4cfa8009d54eb301d8147c45850.log +1 -0
  42. package/.stencil/.build/optimizeModule_d7a4dadc89824480596190cf7a033e72.log +1 -0
  43. package/.stencil/.build/optimizeModule_ddf02b2e19bf055fcfd20ed5dc8b956d.log +2 -0
  44. package/.stencil/.build/optimizeModule_eb39a27ff5ef48385b4bf233760a7d1f.log +1 -0
  45. package/.stencil/.build/optimizeModule_eee1991c594a387b17e535171c33abbf.log +1 -0
  46. package/.stencil/.build/optimizeModule_f0d6e7e6666905c8da7d7450a1b4088b.log +1 -0
  47. package/.stencil/.build/optimizeModule_f93c97ed92b866fd99189e5a0a44e774.log +1 -0
  48. package/.stencil/.build/optimizeModule_fdf66b9636906890546dde0f834d4d8e.log +1 -0
  49. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  50. package/dist/cjs/index-CbJkKnHq.js +3244 -0
  51. package/dist/cjs/index.cjs.js +25 -0
  52. package/dist/cjs/loader.cjs.js +13 -0
  53. package/dist/cjs/root-badge_6.cjs.entry.js +343 -0
  54. package/dist/cjs/stencil-library.cjs.js +25 -0
  55. package/dist/collection/collection-manifest.json +17 -0
  56. package/dist/collection/components/badge/badge-variation.enum.js +9 -0
  57. package/dist/collection/components/badge/badge.css +45 -0
  58. package/dist/collection/components/badge/badge.js +148 -0
  59. package/dist/collection/components/banner/banner-variation.enum.js +9 -0
  60. package/dist/collection/components/banner/banner.css +18 -0
  61. package/dist/collection/components/banner/banner.js +147 -0
  62. package/dist/collection/components/breadcrumbs/breadcrumbs.css +49 -0
  63. package/dist/collection/components/breadcrumbs/breadcrumbs.js +95 -0
  64. package/dist/collection/components/button/button-size.enum.js +5 -0
  65. package/dist/collection/components/button/button-type.enum.js +6 -0
  66. package/dist/collection/components/button/button-variation.enum.js +10 -0
  67. package/dist/collection/components/button/button.css +61 -0
  68. package/dist/collection/components/button/button.js +207 -0
  69. package/dist/collection/components/index.js +6 -0
  70. package/dist/collection/components/input/input-type.enum.js +18 -0
  71. package/dist/collection/components/input/input.css +134 -0
  72. package/dist/collection/components/input/input.js +415 -0
  73. package/dist/collection/components/list/list.css +18 -0
  74. package/dist/collection/components/list/list.js +50 -0
  75. package/dist/collection/enums.js +3 -0
  76. package/dist/collection/global/utils/randomIdGenerator/index.js +7 -0
  77. package/dist/collection/index.js +1 -0
  78. package/dist/components/index.d.ts +35 -0
  79. package/dist/components/index.js +1 -0
  80. package/dist/components/p-CIjEN4Bv.js +1 -0
  81. package/dist/components/p-CvhBNbMT.js +1 -0
  82. package/dist/components/root-badge.d.ts +11 -0
  83. package/dist/components/root-badge.js +1 -0
  84. package/dist/components/root-banner.d.ts +11 -0
  85. package/dist/components/root-banner.js +1 -0
  86. package/dist/components/root-breadcrumbs.d.ts +11 -0
  87. package/dist/components/root-breadcrumbs.js +1 -0
  88. package/dist/components/root-button.d.ts +11 -0
  89. package/dist/components/root-button.js +1 -0
  90. package/dist/components/root-input.d.ts +11 -0
  91. package/dist/components/root-input.js +1 -0
  92. package/dist/components/root-list.d.ts +11 -0
  93. package/dist/components/root-list.js +1 -0
  94. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  95. package/dist/esm/index-Cygc6-mN.js +3236 -0
  96. package/dist/esm/index.js +25 -0
  97. package/dist/esm/loader.js +11 -0
  98. package/dist/esm/root-badge_6.entry.js +336 -0
  99. package/dist/esm/stencil-library.js +21 -0
  100. package/dist/index.cjs.js +1 -0
  101. package/dist/index.js +1 -0
  102. package/dist/stencil-library/index.esm.js +1 -0
  103. package/dist/stencil-library/p-2b062e4c.entry.js +1 -0
  104. package/dist/stencil-library/p-Cygc6-mN.js +2 -0
  105. package/dist/stencil-library/p-DQuL1Twl.js +1 -0
  106. package/dist/stencil-library/stencil-library.esm.js +1 -0
  107. package/dist/types/components/badge/badge-variation.enum.d.ts +8 -0
  108. package/dist/types/components/badge/badge.d.ts +11 -0
  109. package/dist/types/components/banner/banner-variation.enum.d.ts +8 -0
  110. package/dist/types/components/banner/banner.d.ts +11 -0
  111. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +12 -0
  112. package/dist/types/components/button/button-size.enum.d.ts +4 -0
  113. package/dist/types/components/button/button-type.enum.d.ts +5 -0
  114. package/dist/types/components/button/button-variation.enum.d.ts +9 -0
  115. package/dist/types/components/button/button.d.ts +15 -0
  116. package/dist/types/components/index.d.ts +6 -0
  117. package/dist/types/components/input/input-type.enum.d.ts +17 -0
  118. package/dist/types/components/input/input.d.ts +37 -0
  119. package/dist/types/components/list/list.d.ts +7 -0
  120. package/dist/types/components.d.ts +388 -0
  121. package/dist/types/enums.d.ts +3 -0
  122. package/dist/types/global/utils/randomIdGenerator/index.d.ts +1 -0
  123. package/dist/types/index.d.ts +2 -0
  124. package/dist/types/stencil-public-runtime.d.ts +1839 -0
  125. package/package.json +28 -0
  126. package/src/components/badge/badge-variation.enum.ts +9 -0
  127. package/src/components/badge/badge.scss +53 -0
  128. package/src/components/badge/badge.tsx +42 -0
  129. package/src/components/badge/readme.md +27 -0
  130. package/src/components/banner/banner-variation.enum.ts +9 -0
  131. package/src/components/banner/banner.scss +22 -0
  132. package/src/components/banner/banner.tsx +41 -0
  133. package/src/components/banner/readme.md +27 -0
  134. package/src/components/breadcrumbs/breadcrumbs.scss +57 -0
  135. package/src/components/breadcrumbs/breadcrumbs.tsx +74 -0
  136. package/src/components/breadcrumbs/readme.md +24 -0
  137. package/src/components/button/button-size.enum.ts +5 -0
  138. package/src/components/button/button-type.enum.ts +5 -0
  139. package/src/components/button/button-variation.enum.ts +10 -0
  140. package/src/components/button/button.scss +73 -0
  141. package/src/components/button/button.tsx +52 -0
  142. package/src/components/button/readme.md +29 -0
  143. package/src/components/index.ts +7 -0
  144. package/src/components/input/input-type.enum.ts +18 -0
  145. package/src/components/input/input.scss +156 -0
  146. package/src/components/input/input.tsx +264 -0
  147. package/src/components/input/readme.md +34 -0
  148. package/src/components/list/list.scss +21 -0
  149. package/src/components/list/list.tsx +24 -0
  150. package/src/components/list/readme.md +17 -0
  151. package/src/components.d.ts +388 -0
  152. package/src/enums.ts +3 -0
  153. package/src/global/styles/index.scss +0 -0
  154. package/src/global/utils/randomIdGenerator/index.ts +8 -0
  155. package/src/index.html +105 -0
  156. package/src/index.ts +2 -0
  157. package/stencil.config.ts +36 -0
  158. package/tsconfig.json +25 -0
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ exports.RootButtonSize = void 0;
4
+ (function (RootButtonSize) {
5
+ RootButtonSize["SMALL"] = "small";
6
+ RootButtonSize["LARGE"] = "large";
7
+ })(exports.RootButtonSize || (exports.RootButtonSize = {}));
8
+
9
+ exports.RootButtonType = void 0;
10
+ (function (RootButtonType) {
11
+ RootButtonType["BUTTON"] = "button";
12
+ RootButtonType["SUBMIT"] = "submit";
13
+ RootButtonType["RESET"] = "reset";
14
+ })(exports.RootButtonType || (exports.RootButtonType = {}));
15
+
16
+ exports.RootButtonVariation = void 0;
17
+ (function (RootButtonVariation) {
18
+ RootButtonVariation["PRIMARY"] = "primary";
19
+ RootButtonVariation["SECONDARY"] = "secondary";
20
+ RootButtonVariation["TERTIARY"] = "tertiary";
21
+ RootButtonVariation["OUTLINE"] = "outline";
22
+ RootButtonVariation["SUBMIT"] = "submit";
23
+ RootButtonVariation["DANGER"] = "danger";
24
+ RootButtonVariation["CANCEL"] = "cancel";
25
+ })(exports.RootButtonVariation || (exports.RootButtonVariation = {}));
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CbJkKnHq.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
+
6
+ const defineCustomElements = async (win, options) => {
7
+ if (typeof window === 'undefined') return undefined;
8
+ await appGlobals.globalScripts();
9
+ return index.bootstrapLazy([["root-badge_6.cjs",[[257,"root-badge",{"badgeId":[1,"badge-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-banner",{"bannerId":[1,"banner-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[1,"root-breadcrumbs",{"breadcrumbsId":[1,"breadcrumbs-id"],"linkItems":[32]}],[257,"root-button",{"buttonId":[1,"button-id"],"size":[1],"variation":[1],"type":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-input",{"inputId":[1,"input-id"],"type":[1],"label":[1],"inputName":[1,"input-name"],"placeholder":[1],"value":[1025],"maxlength":[2],"fullWidth":[4,"full-width"],"multiline":[4],"icon":[4],"showPassword":[32],"inputValue":[32],"error":[32],"touched":[32],"hasIcon":[32],"fileLabel":[32]},null,{"value":[{"onValueChanged":0}]}],[257,"root-list",{"type":[1]}]]]], options);
10
+ };
11
+
12
+ exports.setNonce = index.setNonce;
13
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,343 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CbJkKnHq.js');
4
+ var index$1 = require('./index.cjs.js');
5
+
6
+ const ids = [];
7
+ function randomIdGenerator(prefix = 'root') {
8
+ let id = `${prefix}-${Math.random().toString(36).substring(2, 7)}`;
9
+ while (ids.includes(id))
10
+ id = `${prefix}-${Math.random().toString(36).substring(2, 7)}`;
11
+ return id;
12
+ }
13
+
14
+ var RootBadgeVariation;
15
+ (function (RootBadgeVariation) {
16
+ RootBadgeVariation["PRIMARY"] = "primary";
17
+ RootBadgeVariation["SECONDARY"] = "secondary";
18
+ RootBadgeVariation["TERTIARY"] = "tertiary";
19
+ RootBadgeVariation["OUTLINE"] = "outline";
20
+ RootBadgeVariation["MUTED"] = "muted";
21
+ RootBadgeVariation["DANGER"] = "danger";
22
+ })(RootBadgeVariation || (RootBadgeVariation = {}));
23
+
24
+ const badgeCss = () => `.root-badge{display:inline-block;color:var(--rootsdk-text-primary);font-size:0.625rem;line-height:1;border-radius:1rem;padding:0.53125rem 0.75rem 0.5rem;min-width:1.5rem;text-transform:uppercase;font-weight:bold;background-color:transparent;text-align:center}.root-badge--primary{background-color:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-badge--secondary{background-color:var(--rootsdk-brand-secondary);color:var(--rootsdk-input)}.root-badge--tertiary{background-color:var(--rootsdk-brand-tertiary);color:var(--rootsdk-input)}.root-badge--danger{background-color:var(--rootsdk-error);color:var(--rootsdk-text-white)}.root-badge--outline{background:transparent;border:var(--border-width-m) solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-badge--muted{background-color:var(--rootsdk-muted);color:var(--rootsdk-text-white)}.root-badge--standard{background:var(--rootsdk-text-primary);color:var(--rootsdk-background-tertiary)}.root-badge--full-width{width:100%}`;
25
+
26
+ const RootBadge = class {
27
+ constructor(hostRef) {
28
+ index.registerInstance(this, hostRef);
29
+ this.rootBadgeClick = index.createEvent(this, "rootBadgeClick");
30
+ this.badgeId = randomIdGenerator('root-badge');
31
+ this.variation = RootBadgeVariation.PRIMARY;
32
+ this.fullWidth = false;
33
+ this.disabled = false;
34
+ }
35
+ clickHandler(e) {
36
+ this.rootBadgeClick.emit(e);
37
+ }
38
+ render() {
39
+ const classes = {
40
+ 'root-badge': true,
41
+ [`root-badge--${this.variation}`]: !!this.variation,
42
+ 'root-badge--full-width': this.fullWidth,
43
+ };
44
+ return (index.h("span", { key: 'a1e7f7cee5b6899eec5d60f5acf5a8217777a6b3', id: this.badgeId, class: classes, onClick: (e) => this.clickHandler(e) }, index.h("slot", { key: '980ad3e760b2a1d6e9e2826d48deb88390752898' })));
45
+ }
46
+ };
47
+ RootBadge.style = badgeCss();
48
+
49
+ var RootBannerVariation;
50
+ (function (RootBannerVariation) {
51
+ RootBannerVariation["PRIMARY"] = "primary";
52
+ RootBannerVariation["SECONDARY"] = "secondary";
53
+ RootBannerVariation["TERTIARY"] = "tertiary";
54
+ RootBannerVariation["DANGER"] = "danger";
55
+ RootBannerVariation["WARNING"] = "warning";
56
+ RootBannerVariation["SUCCESS"] = "success";
57
+ })(RootBannerVariation || (RootBannerVariation = {}));
58
+
59
+ const bannerCss = () => `.root-banner{text-align:center;color:var(--rootsdk-text-primary);padding:0.4rem}.root-banner--primary{background-color:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-banner--danger{background-color:var(--rootsdk-error)}.root-banner--warning{background-color:var(--rootsdk-warning)}.root-banner--success{background-color:var(--rootsdk-brand-tertiary)}`;
60
+
61
+ const RootBanner = class {
62
+ constructor(hostRef) {
63
+ index.registerInstance(this, hostRef);
64
+ this.rootBannerClick = index.createEvent(this, "rootBannerClick");
65
+ this.bannerId = randomIdGenerator('root-banner');
66
+ this.variation = RootBannerVariation.PRIMARY;
67
+ this.fullWidth = false;
68
+ this.disabled = false;
69
+ }
70
+ clickHandler(e) {
71
+ this.rootBannerClick.emit(e);
72
+ }
73
+ render() {
74
+ const classes = {
75
+ 'root-banner': true,
76
+ [`root-banner--${this.variation}`]: !!this.variation
77
+ };
78
+ return (index.h("div", { key: '96197510d7a0988a356be8a6bdddf637e5383870', id: this.bannerId, class: classes, onClick: (e) => this.clickHandler(e) }, index.h("slot", { key: 'b17c26ca99e7f3575c9d2849c644e0fef1e30dff' })));
79
+ }
80
+ };
81
+ RootBanner.style = bannerCss();
82
+
83
+ const breadcrumbsCss = () => `.root-breadcrumbs{display:flex;list-style:none;margin:0;padding:0;gap:0.5rem;align-items:center}.root-breadcrumbs .root-breadcrumbs-item{display:flex;align-items:center}.root-breadcrumbs .root-breadcrumbs-item:not(:last-child)::after{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 256 256"><g><g><polygon points="79.093,0 48.907,30.187 146.72,128 48.907,225.813 79.093,256 207.093,128"/></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>') center;content:" ";display:inline-block;filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);height:0.5rem;margin:0 0.5rem;opacity:0.5;width:0.5rem}.root-breadcrumbs .root-breadcrumbs-item--active span{background:var(--rootsdk-highlight-normal);color:var(--rootsdk-text-tertiary);border-radius:1.5rem;padding:0.32rem 0.64rem;font-size:0.8rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link{text-decoration:underline;cursor:pointer;color:var(--rootsdk-text-primary);padding:0.32rem 0.64rem;border-radius:1.5rem;transition-duration:200ms;transition-property:background, color;font-size:0.8rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link .root-icon{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.root-breadcrumbs .root-breadcrumbs-item .root-breadcrumbs-link:hover{background-color:var(--rootsdk-highlight-normal)}`;
84
+
85
+ const RootBreadcrumbs = class {
86
+ constructor(hostRef) {
87
+ index.registerInstance(this, hostRef);
88
+ this.linkClick = index.createEvent(this, "linkClick");
89
+ this.breadcrumbsId = randomIdGenerator('root-breadcrumbs');
90
+ this.linkItems = [];
91
+ }
92
+ componentDidLoad() {
93
+ this.getBreadcrumbs();
94
+ }
95
+ getBreadcrumbs() {
96
+ const elements = this.hostElement.children;
97
+ if (!elements || (elements === null || elements === void 0 ? void 0 : elements.length) <= 0) {
98
+ console.warn(`The slot contains no link elements.`, this.hostElement);
99
+ return;
100
+ }
101
+ this.linkItems = [...elements]
102
+ .filter((element) => element.tagName.toLowerCase() === 'a')
103
+ .map((element) => {
104
+ return {
105
+ text: element.textContent,
106
+ href: element.getAttribute('href') || ''
107
+ };
108
+ });
109
+ }
110
+ clickHandler(e) {
111
+ this.linkClick.emit(e);
112
+ }
113
+ render() {
114
+ return (index.h("ol", { key: 'ffa88751925c0a1f19acb06854bd4add08edec4f', class: 'root-breadcrumbs', id: this.breadcrumbsId }, this.linkItems.map((item, index$1) => {
115
+ const isLast = index$1 === this.linkItems.length - 1;
116
+ return (index.h("li", { class: { 'root-breadcrumbs-item': true, 'root-breadcrumbs-item--active': isLast } }, isLast ? (index.h("span", null, item.text)) : (index.h("a", { class: "root-breadcrumbs-link", onClick: (e) => this.clickHandler(e), href: item.href }, item.text))));
117
+ })));
118
+ }
119
+ get hostElement() { return index.getElement(this); }
120
+ };
121
+ RootBreadcrumbs.style = breadcrumbsCss();
122
+
123
+ const buttonCss = () => `.root-button{height:2rem;border-radius:1.5rem;padding:0 1.75rem;min-width:fit-content;background-color:transparent;color:var(--rootsdk-text-primary);outline:none;font-size:1rem;border:none;cursor:pointer;border:1px solid transparent;text-transform:capitalize}.root-button--submit{background:var(--rootsdk-text-primary);color:var(--rootsdk-background-tertiary)}.root-button--danger{background:var(--rootsdk-error);color:var(--rootsdk-text-white)}.root-button--primary{background:var(--rootsdk-brand-primary);color:var(--rootsdk-text-white)}.root-button--secondary{background:var(--rootsdk-brand-secondary);color:var(--rootsdk-input)}.root-button--tertiary{background:var(--rootsdk-brand-tertiary);color:var(--rootsdk-input)}.root-button--outline{background:transparent;border:0.0625rem solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-button--cancel{background:transparent;border:0.0625rem solid var(--rootsdk-text-tertiary);color:var(--rootsdk-text-primary)}.root-button--large{height:3.25rem}.root-button[disabled]{opacity:0.6;cursor:not-allowed;pointer-events:none}.root-button--full-width{width:100%}.root-button:hover{opacity:80%}.root-button:active{transform:scale(0.98)}`;
124
+
125
+ const RootButton = class {
126
+ constructor(hostRef) {
127
+ index.registerInstance(this, hostRef);
128
+ this.rootButtonClick = index.createEvent(this, "rootButtonClick");
129
+ this.buttonId = randomIdGenerator('root-button');
130
+ this.size = index$1.RootButtonSize.SMALL;
131
+ this.variation = index$1.RootButtonVariation.PRIMARY;
132
+ this.type = index$1.RootButtonType.BUTTON;
133
+ this.fullWidth = false;
134
+ this.disabled = false;
135
+ }
136
+ clickHandler(e) {
137
+ this.rootButtonClick.emit(e);
138
+ }
139
+ render() {
140
+ const classes = {
141
+ 'root-button': true,
142
+ [`root-button--${this.size}`]: !!this.size,
143
+ [`root-button--${this.variation}`]: !!this.variation,
144
+ 'root-button--full-width': this.fullWidth,
145
+ };
146
+ return (index.h("button", { key: '951b963255c7eab4f286758ff133e9bad9969ee3', id: this.buttonId, class: classes, disabled: this.disabled, type: this.type, onClick: (e) => this.clickHandler(e) }, index.h("slot", { key: 'f50823d7bcfd0b291fbeddb17e8a5d740b7edb2a' })));
147
+ }
148
+ };
149
+ RootButton.style = buttonCss();
150
+
151
+ var RootInputType;
152
+ (function (RootInputType) {
153
+ RootInputType["COLOR"] = "color";
154
+ RootInputType["DATE"] = "date";
155
+ RootInputType["EMAIL"] = "email";
156
+ RootInputType["FILE"] = "file";
157
+ RootInputType["IMAGE"] = "image";
158
+ RootInputType["MONTH"] = "month";
159
+ RootInputType["NUMBER"] = "number";
160
+ RootInputType["PASSWORD"] = "password";
161
+ RootInputType["SEARCH"] = "search";
162
+ RootInputType["SUBMIT"] = "submit";
163
+ RootInputType["TEL"] = "tel";
164
+ RootInputType["TEXT"] = "text";
165
+ RootInputType["TIME"] = "time";
166
+ RootInputType["URL"] = "url";
167
+ RootInputType["WEEK"] = "week";
168
+ })(RootInputType || (RootInputType = {}));
169
+
170
+ const inputCss = () => `.root-input--full-width{width:100%}.root-input .root-input-field{display:flex;align-items:center;width:100%;border-radius:0.75rem;background-color:var(--rootsdk-input);border:0.03125rem solid var(--rootsdk-highlight-normal);color:var(--rootsdk-text-primary);min-height:2em;outline:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;cursor:text}.root-input .root-input-field.root-input-field--textarea{align-items:flex-start}.root-input .root-input-field.root-input-field--file{position:relative;cursor:pointer}.root-input .root-input-field.root-input-field--color{position:relative;cursor:pointer}.root-input .root-input-field:focus-within{border:0.03125rem solid var(--rootsdk-brand-primary)}.root-input .root-input-field.root-input-field--error{border-color:var(--rootsdk-error, #e53935)}.root-input .root-input-icon{margin-right:0.5rem;display:flex;align-items:center;justify-content:center;height:1em}.root-input input{flex:1;border:none;background:transparent;color:inherit;font-family:inherit;outline:none;padding:0;margin:0;text-overflow:ellipsis;cursor:text}.root-input input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.root-input input[type=color]{position:absolute;inset:0;opacity:0;cursor:pointer}.root-input input::-webkit-calendar-picker-indicator{display:none}.root-input input::-webkit-outer-spin-button,.root-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.root-input textarea{flex:1;border:none;background:transparent;color:inherit;font-family:inherit;outline:none;padding:0;margin:0;resize:vertical;min-height:6rem}.root-input .root-input-number-controls{display:flex;flex-direction:column;gap:0;margin-left:0;margin-right:0.5rem;height:1em;line-height:0.5;align-items:center;justify-content:center;cursor:pointer}.root-input .root-input-file-label{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;width:100%;pointer-events:none}.root-input .root-input-color-label{display:flex;align-items:center;gap:0.5rem;width:100%;pointer-events:none}.root-input .root-input-color-swatch{width:1rem;height:1rem;border-radius:4px;border:0.03125rem solid var(--rootsdk-highlight-normal)}.root-input .root-input-color-text{font-family:inherit;color:inherit}.root-input label{font-size:0.875rem;color:var(--rootsdk-text-tertiary);text-transform:capitalize;margin-bottom:0.5rem;display:block}.root-input .root-input-error{margin-top:0.35rem;color:var(--rootsdk-error, #e53935);font-size:0.75rem}`;
171
+
172
+ const RootInput = class {
173
+ constructor(hostRef) {
174
+ index.registerInstance(this, hostRef);
175
+ this.rootInputChange = index.createEvent(this, "rootInputChange");
176
+ this.rootInputBlur = index.createEvent(this, "rootInputBlur");
177
+ this.inputId = randomIdGenerator('root-input');
178
+ this.type = RootInputType.TEXT;
179
+ this.placeholder = '';
180
+ this.value = '';
181
+ this.fullWidth = false;
182
+ this.multiline = false;
183
+ this.icon = true;
184
+ this.showPassword = false;
185
+ this.inputValue = '';
186
+ this.error = '';
187
+ this.touched = false;
188
+ this.hasIcon = false;
189
+ this.fileLabel = 'Select file';
190
+ this.openPicker = () => {
191
+ if (!this.inputRef)
192
+ return;
193
+ const el = this.inputRef;
194
+ if (el instanceof HTMLInputElement && el.showPicker) {
195
+ el.showPicker();
196
+ }
197
+ else {
198
+ el.focus();
199
+ if (el instanceof HTMLInputElement) {
200
+ el.click();
201
+ }
202
+ }
203
+ };
204
+ this.togglePasswordVisibility = () => {
205
+ this.showPassword = !this.showPassword;
206
+ };
207
+ this.incrementNumber = () => {
208
+ if (this.inputRef instanceof HTMLInputElement) {
209
+ this.inputRef.stepUp();
210
+ this.inputValue = this.inputRef.value;
211
+ this.rootInputChange.emit(this.inputValue);
212
+ }
213
+ };
214
+ this.decrementNumber = () => {
215
+ if (this.inputRef instanceof HTMLInputElement) {
216
+ this.inputRef.stepDown();
217
+ this.inputValue = this.inputRef.value;
218
+ this.rootInputChange.emit(this.inputValue);
219
+ }
220
+ };
221
+ this.validate = (val) => {
222
+ if (!val)
223
+ return '';
224
+ if (this.type === RootInputType.EMAIL) {
225
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
226
+ return emailRegex.test(val) ? '' : 'Please enter a valid email address.';
227
+ }
228
+ if (this.type === RootInputType.TEL) {
229
+ const phoneRegex = /^[+]?[- 0-9()]{7,}$/;
230
+ return phoneRegex.test(val) ? '' : 'Please enter a valid phone number.';
231
+ }
232
+ return '';
233
+ };
234
+ this.handleBlur = (e) => {
235
+ this.touched = true;
236
+ this.error = this.validate(this.inputValue);
237
+ this.rootInputBlur.emit(e);
238
+ };
239
+ this.handleChange = (e) => {
240
+ const target = e.target;
241
+ const nextValue = target.value;
242
+ this.inputValue = nextValue;
243
+ this.rootInputChange.emit(nextValue);
244
+ if (this.touched) {
245
+ this.error = this.validate(nextValue);
246
+ }
247
+ };
248
+ this.handleFileChange = (e) => {
249
+ var _a;
250
+ const target = e.target;
251
+ const file = (_a = target.files) === null || _a === void 0 ? void 0 : _a[0];
252
+ if (file) {
253
+ this.fileLabel = file.name;
254
+ }
255
+ else {
256
+ this.fileLabel = 'Select file';
257
+ }
258
+ this.rootInputChange.emit(target.value);
259
+ };
260
+ this.handleFieldClick = () => {
261
+ if (!this.inputRef)
262
+ return;
263
+ if (this.multiline) {
264
+ this.inputRef.focus();
265
+ return;
266
+ }
267
+ if (this.inputRef instanceof HTMLInputElement) {
268
+ if (this.inputRef.type === 'color') {
269
+ this.inputRef.click();
270
+ return;
271
+ }
272
+ if (this.inputRef.type !== 'date') {
273
+ this.inputRef.focus();
274
+ }
275
+ }
276
+ };
277
+ }
278
+ onValueChanged(newValue) {
279
+ this.inputValue = newValue;
280
+ }
281
+ componentWillLoad() {
282
+ this.setHasIcon();
283
+ this.inputValue = this.value;
284
+ }
285
+ setHasIcon() {
286
+ const icon = !!this.hostElement.querySelector('[slot="icon"]');
287
+ if (icon) {
288
+ this.hasIcon = icon;
289
+ }
290
+ }
291
+ render() {
292
+ const inputType = this.type === RootInputType.PASSWORD
293
+ ? (this.showPassword ? 'text' : 'password')
294
+ : this.type;
295
+ const colorValue = this.type === RootInputType.COLOR
296
+ ? (this.inputValue || '#000000')
297
+ : this.inputValue;
298
+ const classes = {
299
+ 'root-input': true,
300
+ 'root-input--full-width': this.fullWidth,
301
+ };
302
+ const fieldClasses = {
303
+ 'root-input-field': true,
304
+ 'root-input-field--error': !!this.error,
305
+ 'root-input-field--file': this.type === RootInputType.FILE,
306
+ 'root-input-field--color': this.type === RootInputType.COLOR,
307
+ 'root-input-field--textarea': this.multiline,
308
+ };
309
+ return (index.h("div", { key: 'f0cfdfa2a787ca3d24467aa14bed615f003669a3', class: classes }, index.h("label", { key: 'efdc7aa0e6b58ea500d2496c2536c1ed8e1baaeb', htmlFor: this.inputId }, this.label), index.h("div", { key: '2aeb9c360647154827070708b7ffa5a9c43b48d6', class: fieldClasses, onClick: this.handleFieldClick }, this.hasIcon && (index.h("div", { key: '8d48d017c77409a49b23c31af4e8010784f7282b', class: "root-input-icon", onClick: this.openPicker }, index.h("slot", { key: '063c38a33aefd8b6cb3120a35f45600e998c93fa', name: "icon" }))), this.multiline ? (index.h("textarea", { ref: (el) => this.inputRef = el, placeholder: this.placeholder, id: this.inputId, name: this.inputName, maxLength: this.maxlength, value: this.inputValue, onBlur: this.handleBlur, onInput: this.handleChange, "aria-invalid": !!this.error ? 'true' : 'false', rows: 3 })) : (index.h("input", { ref: (el) => this.inputRef = el, placeholder: this.placeholder, id: this.inputId, name: this.inputName, maxLength: this.maxlength, type: inputType, value: colorValue, onBlur: this.handleBlur, onInput: this.type === RootInputType.FILE ? this.handleFileChange : this.handleChange, "aria-invalid": !!this.error ? 'true' : 'false' })), this.type === RootInputType.COLOR && (index.h("div", { key: '7deca8ea931a30fbcfa02cfc7232266a5d04bd6e', class: "root-input-color-label" }, index.h("span", { key: '03ea754ebde8113944d7a3ca84dc14fb606bed62', class: "root-input-color-swatch", style: { backgroundColor: colorValue } }), index.h("span", { key: '912f3e9a93f8c6a5e775b2ba7d5ddcb6976fe288', class: "root-input-color-text" }, colorValue))), this.type === RootInputType.FILE && !this.multiline && (index.h("div", { key: 'fe5ebf39d54b21740d1ff7e18c8ca28633d894a3', class: "root-input-file-label" }, index.h("span", { key: 'dab576c2c1ba5b0d8f38cd0a981aa90848a8de58' }, this.fileLabel), index.h("slot", { key: '4a7469093cb502a4596164a39f7e6ba9a2e45f26', name: "file-icon" }))), this.type === RootInputType.PASSWORD && !this.multiline && (index.h("div", { key: 'fd783cd0384fd5efd9c12e967bfd990281f9f1aa', class: "root-input-icon", onClick: this.togglePasswordVisibility }, index.h("slot", { key: '242f5399701370494f5f81d41cc40478136871e0', name: "password-icon" }))), this.type === RootInputType.NUMBER && !this.multiline && (index.h("div", { key: 'f6fa71e43701933280c41f60a27c6e3f923e3670', class: "root-input-number-controls" }, index.h("div", { key: '04d2f6d6e152c0c6326c0e9f38b78f6c15ea3626', class: "root-input-icon", onClick: this.incrementNumber }, index.h("slot", { key: '8de93b51aba6b7f220653c39d8a0e1ba234a15ed', name: "number-up-icon" })), index.h("div", { key: '2baf375834a3926b36d818f563e4fcf545a4146b', class: "root-input-icon", onClick: this.decrementNumber }, index.h("slot", { key: 'f4a7772d01d7d78e7a675ae34cee3ae76c92cdce', name: "number-down-icon" }))))), this.error && this.touched && (index.h("div", { key: 'e0d328cc5154baf82963af89a37e70676df94ee2', class: "root-input-error" }, this.error))));
310
+ }
311
+ get hostElement() { return index.getElement(this); }
312
+ static get watchers() { return {
313
+ "value": [{
314
+ "onValueChanged": 0
315
+ }]
316
+ }; }
317
+ };
318
+ RootInput.style = inputCss();
319
+
320
+ const listCss = () => `.root-list{margin:0;padding-left:1.5rem;color:var(--rootsdk-text-primary);font-size:1rem;line-height:1.6;list-style-position:inside}.root-list--bullet{list-style-type:disc}.root-list--numbered{list-style-type:decimal}.root-list li{margin-bottom:0.5rem;padding-left:0.25rem}`;
321
+
322
+ const RootList = class {
323
+ constructor(hostRef) {
324
+ index.registerInstance(this, hostRef);
325
+ /**
326
+ * The type of list: bullet or numbered
327
+ */
328
+ this.type = 'bullet';
329
+ }
330
+ render() {
331
+ const isNumbered = this.type === 'numbered';
332
+ const Tag = isNumbered ? 'ol' : 'ul';
333
+ return (index.h(Tag, { key: '315491245470e4eb4601debdfbdfeebec6ec0862', class: { 'root-list': true, [`root-list--${this.type}`]: true } }, index.h("slot", { key: '630f9ab955f57568bd6c8686068afc6593a66185' })));
334
+ }
335
+ };
336
+ RootList.style = listCss();
337
+
338
+ exports.root_badge = RootBadge;
339
+ exports.root_banner = RootBanner;
340
+ exports.root_breadcrumbs = RootBreadcrumbs;
341
+ exports.root_button = RootButton;
342
+ exports.root_input = RootInput;
343
+ exports.root_list = RootList;
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CbJkKnHq.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
+
6
+ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
+ /*
8
+ Stencil Client Patch Browser v4.41.1 | MIT Licensed | https://stenciljs.com
9
+ */
10
+
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('stencil-library.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
18
+ };
19
+
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["root-badge_6.cjs",[[257,"root-badge",{"badgeId":[1,"badge-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-banner",{"bannerId":[1,"banner-id"],"variation":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[1,"root-breadcrumbs",{"breadcrumbsId":[1,"breadcrumbs-id"],"linkItems":[32]}],[257,"root-button",{"buttonId":[1,"button-id"],"size":[1],"variation":[1],"type":[1],"fullWidth":[4,"full-width"],"disabled":[4]}],[257,"root-input",{"inputId":[1,"input-id"],"type":[1],"label":[1],"inputName":[1,"input-name"],"placeholder":[1],"value":[1025],"maxlength":[2],"fullWidth":[4,"full-width"],"multiline":[4],"icon":[4],"showPassword":[32],"inputValue":[32],"error":[32],"touched":[32],"hasIcon":[32],"fileLabel":[32]},null,{"value":[{"onValueChanged":0}]}],[257,"root-list",{"type":[1]}]]]], options);
23
+ });
24
+
25
+ exports.setNonce = index.setNonce;
@@ -0,0 +1,17 @@
1
+ {
2
+ "entries": [
3
+ "components/button/button.js",
4
+ "components/badge/badge.js",
5
+ "components/banner/banner.js",
6
+ "components/breadcrumbs/breadcrumbs.js",
7
+ "components/input/input.js",
8
+ "components/list/list.js"
9
+ ],
10
+ "compiler": {
11
+ "name": "@stencil/core",
12
+ "version": "4.41.1",
13
+ "typescriptVersion": "5.8.3"
14
+ },
15
+ "collections": [],
16
+ "bundles": []
17
+ }
@@ -0,0 +1,9 @@
1
+ export var RootBadgeVariation;
2
+ (function (RootBadgeVariation) {
3
+ RootBadgeVariation["PRIMARY"] = "primary";
4
+ RootBadgeVariation["SECONDARY"] = "secondary";
5
+ RootBadgeVariation["TERTIARY"] = "tertiary";
6
+ RootBadgeVariation["OUTLINE"] = "outline";
7
+ RootBadgeVariation["MUTED"] = "muted";
8
+ RootBadgeVariation["DANGER"] = "danger";
9
+ })(RootBadgeVariation || (RootBadgeVariation = {}));
@@ -0,0 +1,45 @@
1
+ .root-badge {
2
+ display: inline-block;
3
+ color: var(--rootsdk-text-primary);
4
+ font-size: 0.625rem;
5
+ line-height: 1;
6
+ border-radius: 1rem;
7
+ padding: 0.53125rem 0.75rem 0.5rem;
8
+ min-width: 1.5rem;
9
+ text-transform: uppercase;
10
+ font-weight: bold;
11
+ background-color: transparent;
12
+ text-align: center;
13
+ }
14
+ .root-badge--primary {
15
+ background-color: var(--rootsdk-brand-primary);
16
+ color: var(--rootsdk-text-white);
17
+ }
18
+ .root-badge--secondary {
19
+ background-color: var(--rootsdk-brand-secondary);
20
+ color: var(--rootsdk-input);
21
+ }
22
+ .root-badge--tertiary {
23
+ background-color: var(--rootsdk-brand-tertiary);
24
+ color: var(--rootsdk-input);
25
+ }
26
+ .root-badge--danger {
27
+ background-color: var(--rootsdk-error);
28
+ color: var(--rootsdk-text-white);
29
+ }
30
+ .root-badge--outline {
31
+ background: transparent;
32
+ border: var(--border-width-m) solid var(--rootsdk-text-tertiary);
33
+ color: var(--rootsdk-text-primary);
34
+ }
35
+ .root-badge--muted {
36
+ background-color: var(--rootsdk-muted);
37
+ color: var(--rootsdk-text-white);
38
+ }
39
+ .root-badge--standard {
40
+ background: var(--rootsdk-text-primary);
41
+ color: var(--rootsdk-background-tertiary);
42
+ }
43
+ .root-badge--full-width {
44
+ width: 100%;
45
+ }
@@ -0,0 +1,148 @@
1
+ import { h } from "@stencil/core";
2
+ import { randomIdGenerator } from "../../global/utils/randomIdGenerator";
3
+ import { RootBadgeVariation } from "./badge-variation.enum";
4
+ export class RootBadge {
5
+ constructor() {
6
+ this.badgeId = randomIdGenerator('root-badge');
7
+ this.variation = RootBadgeVariation.PRIMARY;
8
+ this.fullWidth = false;
9
+ this.disabled = false;
10
+ }
11
+ clickHandler(e) {
12
+ this.rootBadgeClick.emit(e);
13
+ }
14
+ render() {
15
+ const classes = {
16
+ 'root-badge': true,
17
+ [`root-badge--${this.variation}`]: !!this.variation,
18
+ 'root-badge--full-width': this.fullWidth,
19
+ };
20
+ return (h("span", { key: 'a1e7f7cee5b6899eec5d60f5acf5a8217777a6b3', id: this.badgeId, class: classes, onClick: (e) => this.clickHandler(e) }, h("slot", { key: '980ad3e760b2a1d6e9e2826d48deb88390752898' })));
21
+ }
22
+ static get is() { return "root-badge"; }
23
+ static get encapsulation() { return "shadow"; }
24
+ static get originalStyleUrls() {
25
+ return {
26
+ "$": ["badge.scss"]
27
+ };
28
+ }
29
+ static get styleUrls() {
30
+ return {
31
+ "$": ["badge.css"]
32
+ };
33
+ }
34
+ static get properties() {
35
+ return {
36
+ "badgeId": {
37
+ "type": "string",
38
+ "mutable": false,
39
+ "complexType": {
40
+ "original": "string",
41
+ "resolved": "string",
42
+ "references": {}
43
+ },
44
+ "required": false,
45
+ "optional": false,
46
+ "docs": {
47
+ "tags": [],
48
+ "text": ""
49
+ },
50
+ "getter": false,
51
+ "setter": false,
52
+ "reflect": false,
53
+ "attribute": "badge-id",
54
+ "defaultValue": "randomIdGenerator('root-badge')"
55
+ },
56
+ "variation": {
57
+ "type": "string",
58
+ "mutable": false,
59
+ "complexType": {
60
+ "original": "RootBadgeVariation",
61
+ "resolved": "RootBadgeVariation.DANGER | RootBadgeVariation.MUTED | RootBadgeVariation.OUTLINE | RootBadgeVariation.PRIMARY | RootBadgeVariation.SECONDARY | RootBadgeVariation.TERTIARY",
62
+ "references": {
63
+ "RootBadgeVariation": {
64
+ "location": "import",
65
+ "path": "./badge-variation.enum",
66
+ "id": "src/components/badge/badge-variation.enum.ts::RootBadgeVariation",
67
+ "referenceLocation": "RootBadgeVariation"
68
+ }
69
+ }
70
+ },
71
+ "required": false,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": ""
76
+ },
77
+ "getter": false,
78
+ "setter": false,
79
+ "reflect": false,
80
+ "attribute": "variation",
81
+ "defaultValue": "RootBadgeVariation.PRIMARY"
82
+ },
83
+ "fullWidth": {
84
+ "type": "boolean",
85
+ "mutable": false,
86
+ "complexType": {
87
+ "original": "boolean",
88
+ "resolved": "boolean",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": false,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": ""
96
+ },
97
+ "getter": false,
98
+ "setter": false,
99
+ "reflect": false,
100
+ "attribute": "full-width",
101
+ "defaultValue": "false"
102
+ },
103
+ "disabled": {
104
+ "type": "boolean",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "boolean",
108
+ "resolved": "boolean",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": ""
116
+ },
117
+ "getter": false,
118
+ "setter": false,
119
+ "reflect": false,
120
+ "attribute": "disabled",
121
+ "defaultValue": "false"
122
+ }
123
+ };
124
+ }
125
+ static get events() {
126
+ return [{
127
+ "method": "rootBadgeClick",
128
+ "name": "rootBadgeClick",
129
+ "bubbles": true,
130
+ "cancelable": true,
131
+ "composed": true,
132
+ "docs": {
133
+ "tags": [],
134
+ "text": ""
135
+ },
136
+ "complexType": {
137
+ "original": "MouseEvent",
138
+ "resolved": "MouseEvent",
139
+ "references": {
140
+ "MouseEvent": {
141
+ "location": "global",
142
+ "id": "global::MouseEvent"
143
+ }
144
+ }
145
+ }
146
+ }];
147
+ }
148
+ }
@@ -0,0 +1,9 @@
1
+ export var RootBannerVariation;
2
+ (function (RootBannerVariation) {
3
+ RootBannerVariation["PRIMARY"] = "primary";
4
+ RootBannerVariation["SECONDARY"] = "secondary";
5
+ RootBannerVariation["TERTIARY"] = "tertiary";
6
+ RootBannerVariation["DANGER"] = "danger";
7
+ RootBannerVariation["WARNING"] = "warning";
8
+ RootBannerVariation["SUCCESS"] = "success";
9
+ })(RootBannerVariation || (RootBannerVariation = {}));