@tmorrow/cre8-wc 1.0.25 → 1.1.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 (214) hide show
  1. package/cdn/cre8-wc.esm.js +9082 -15604
  2. package/cdn/cre8-wc.esm.js.map +1 -1
  3. package/cdn/cre8-wc.min.js +1231 -8308
  4. package/cdn/cre8-wc.min.js.map +1 -1
  5. package/lib/cdn-entry.d.ts +20 -2
  6. package/lib/cdn-entry.d.ts.map +1 -1
  7. package/lib/components/accordion/accordion.js +18 -64
  8. package/lib/components/accordion/accordion.styles.d.ts.map +1 -1
  9. package/lib/components/accordion-item/accordion-item.js +35 -238
  10. package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -1
  11. package/lib/components/alert/alert.js +56 -221
  12. package/lib/components/alert/alert.styles.d.ts.map +1 -1
  13. package/lib/components/badge/badge.js +33 -164
  14. package/lib/components/badge/badge.styles.d.ts.map +1 -1
  15. package/lib/components/band/band.js +15 -46
  16. package/lib/components/band/band.styles.d.ts.map +1 -1
  17. package/lib/components/breadcrumbs/breadcrumbs.js +14 -33
  18. package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
  19. package/lib/components/breadcrumbs-item/breadcrumbs-item.js +10 -45
  20. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -1
  21. package/lib/components/button/button.js +16 -16
  22. package/lib/components/button-group/button-group.js +19 -50
  23. package/lib/components/button-group/button-group.styles.d.ts.map +1 -1
  24. package/lib/components/card/card.js +17 -130
  25. package/lib/components/card/card.styles.d.ts.map +1 -1
  26. package/lib/components/chart/chart.js +137 -223
  27. package/lib/components/chart/chart.styles.d.ts.map +1 -1
  28. package/lib/components/checkbox-field/checkbox-field.js +26 -59
  29. package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
  30. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +0 -5
  31. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -1
  32. package/lib/components/checkbox-field-item/checkbox-field-item.js +42 -212
  33. package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -1
  34. package/lib/components/contexts/form-internals-context.d.ts +30 -0
  35. package/lib/components/contexts/form-internals-context.d.ts.map +1 -0
  36. package/lib/components/cre8-form-element.d.ts +98 -24
  37. package/lib/components/cre8-form-element.d.ts.map +1 -1
  38. package/lib/components/cre8-form-element.js +221 -22
  39. package/lib/components/danger-button/danger-button.js +53 -582
  40. package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -1
  41. package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -1
  42. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -1
  43. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -1
  44. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -1
  45. package/lib/components/date-picker/date-picker.js +262 -499
  46. package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -1
  47. package/lib/components/divider/divider.js +20 -61
  48. package/lib/components/divider/divider.styles.d.ts.map +1 -1
  49. package/lib/components/dropdown/dropdown.js +34 -107
  50. package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -1
  51. package/lib/components/dropdown-item/dropdown-item.js +18 -49
  52. package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -1
  53. package/lib/components/feature/feature.js +19 -81
  54. package/lib/components/feature/feature.styles.d.ts.map +1 -1
  55. package/lib/components/field/field.js +12 -146
  56. package/lib/components/field/field.styles.d.ts.map +1 -1
  57. package/lib/components/field-note/field-note.js +22 -66
  58. package/lib/components/field-note/field-note.styles.d.ts.map +1 -1
  59. package/lib/components/footer/footer.js +10 -29
  60. package/lib/components/footer/footer.styles.d.ts.map +1 -1
  61. package/lib/components/global-nav/global-nav.js +20 -43
  62. package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -1
  63. package/lib/components/global-nav-item/global-nav-item.js +26 -105
  64. package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -1
  65. package/lib/components/grid/grid.js +15 -337
  66. package/lib/components/grid/grid.styles.d.ts.map +1 -1
  67. package/lib/components/grid-item/grid-item.js +7 -15
  68. package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -1
  69. package/lib/components/header/header.js +17 -80
  70. package/lib/components/header/header.styles.d.ts.map +1 -1
  71. package/lib/components/heading/heading.js +16 -153
  72. package/lib/components/heading/heading.styles.d.ts.map +1 -1
  73. package/lib/components/hero/hero.js +17 -149
  74. package/lib/components/hero/hero.styles.d.ts.map +1 -1
  75. package/lib/components/icon/icon.js +1 -1
  76. package/lib/components/icon/icon.styles.d.ts.map +1 -1
  77. package/lib/components/inline-alert/inline-alert.js +53 -214
  78. package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -1
  79. package/lib/components/layout/layout.js +20 -53
  80. package/lib/components/layout/layout.styles.d.ts.map +1 -1
  81. package/lib/components/layout-container/layout-container.js +20 -43
  82. package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -1
  83. package/lib/components/layout-section/layout-section.js +20 -29
  84. package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -1
  85. package/lib/components/linelength-container/linelength-container.js +7 -15
  86. package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -1
  87. package/lib/components/link/link.js +33 -228
  88. package/lib/components/link/link.styles.d.ts.map +1 -1
  89. package/lib/components/link-list/link-list.js +23 -129
  90. package/lib/components/link-list/link-list.styles.d.ts.map +1 -1
  91. package/lib/components/link-list-item/link-list-item.js +19 -80
  92. package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -1
  93. package/lib/components/list/list.js +17 -67
  94. package/lib/components/list/list.styles.d.ts.map +1 -1
  95. package/lib/components/list-item/list-item.js +11 -16
  96. package/lib/components/list-item/list-item.styles.d.ts.map +1 -1
  97. package/lib/components/loading-spinner/loading-spinner.js +13 -157
  98. package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -1
  99. package/lib/components/logo/logo.js +20 -30
  100. package/lib/components/logo/logo.styles.d.ts.map +1 -1
  101. package/lib/components/main/main.js +18 -42
  102. package/lib/components/main/main.styles.d.ts.map +1 -1
  103. package/lib/components/modal/modal.js +50 -215
  104. package/lib/components/modal/modal.styles.d.ts.map +1 -1
  105. package/lib/components/multi-select/multi-select.js +57 -222
  106. package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -1
  107. package/lib/components/nav-container/nav-container.js +5 -40
  108. package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -1
  109. package/lib/components/page-header/page-header.js +19 -54
  110. package/lib/components/page-header/page-header.styles.d.ts.map +1 -1
  111. package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -1
  112. package/lib/components/pagination/pagination.js +102 -183
  113. package/lib/components/pagination/pagination.styles.d.ts.map +1 -1
  114. package/lib/components/percent-bar/percent-bar.js +22 -50
  115. package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -1
  116. package/lib/components/popover/popover.js +51 -220
  117. package/lib/components/popover/popover.styles.d.ts.map +1 -1
  118. package/lib/components/primary-nav/primary-nav.js +17 -51
  119. package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -1
  120. package/lib/components/primary-nav-item/primary-nav-item.js +24 -191
  121. package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -1
  122. package/lib/components/progress-meter/progress-meter.js +23 -127
  123. package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -1
  124. package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -1
  125. package/lib/components/progress-steps-item/progress-steps-item.js +27 -118
  126. package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -1
  127. package/lib/components/radio-field/radio-field.js +28 -64
  128. package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -1
  129. package/lib/components/radio-field-item/radio-field-item.d.ts +0 -4
  130. package/lib/components/radio-field-item/radio-field-item.d.ts.map +1 -1
  131. package/lib/components/radio-field-item/radio-field-item.js +69 -207
  132. package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -1
  133. package/lib/components/remove-tag/remove-tag.js +36 -129
  134. package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -1
  135. package/lib/components/section/section.js +19 -50
  136. package/lib/components/section/section.styles.d.ts.map +1 -1
  137. package/lib/components/select/select.d.ts +6 -10
  138. package/lib/components/select/select.d.ts.map +1 -1
  139. package/lib/components/select/select.js +67 -135
  140. package/lib/components/select/select.styles.d.ts.map +1 -1
  141. package/lib/components/select-tile/select-tile.d.ts +0 -4
  142. package/lib/components/select-tile/select-tile.d.ts.map +1 -1
  143. package/lib/components/select-tile/select-tile.js +21 -448
  144. package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -1
  145. package/lib/components/select-tile-list/select-tile-list.js +24 -62
  146. package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -1
  147. package/lib/components/skeleton-loader/skeleton-loader.js +19 -73
  148. package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -1
  149. package/lib/components/split-button/split-button.js +21 -37
  150. package/lib/components/split-button/split-button.styles.d.ts.map +1 -1
  151. package/lib/components/submenu/submenu.js +8 -18
  152. package/lib/components/submenu/submenu.styles.d.ts.map +1 -1
  153. package/lib/components/submenu-item/submenu-item.js +21 -42
  154. package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -1
  155. package/lib/components/tab/tab.js +17 -100
  156. package/lib/components/tab/tab.styles.d.ts.map +1 -1
  157. package/lib/components/tab-panel/tab-panel.js +18 -52
  158. package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -1
  159. package/lib/components/table/table.js +21 -73
  160. package/lib/components/table/table.styles.d.ts.map +1 -1
  161. package/lib/components/table-body/table-body.js +12 -24
  162. package/lib/components/table-body/table-body.styles.d.ts.map +1 -1
  163. package/lib/components/table-cell/table-cell.js +29 -69
  164. package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -1
  165. package/lib/components/table-header/table-header.js +8 -39
  166. package/lib/components/table-header/table-header.styles.d.ts.map +1 -1
  167. package/lib/components/table-header-cell/table-header-cell.js +18 -37
  168. package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -1
  169. package/lib/components/table-object/table-object.js +13 -32
  170. package/lib/components/table-object/table-object.styles.d.ts.map +1 -1
  171. package/lib/components/table-row/table-row.js +33 -139
  172. package/lib/components/table-row/table-row.styles.d.ts.map +1 -1
  173. package/lib/components/tabs/tabs.d.ts.map +1 -1
  174. package/lib/components/tabs/tabs.js +58 -159
  175. package/lib/components/tabs/tabs.styles.d.ts.map +1 -1
  176. package/lib/components/tag/tag.js +46 -161
  177. package/lib/components/tag/tag.styles.d.ts.map +1 -1
  178. package/lib/components/tag-list/tag-list.js +20 -51
  179. package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -1
  180. package/lib/components/tertiary-nav/tertiary-nav.js +21 -54
  181. package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -1
  182. package/lib/components/tertiary-nav-item/tertiary-nav-item.js +18 -68
  183. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -1
  184. package/lib/components/text-link/text-link.js +20 -85
  185. package/lib/components/text-link/text-link.styles.d.ts.map +1 -1
  186. package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -1
  187. package/lib/components/text-passage/text-passage.js +17 -189
  188. package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -1
  189. package/lib/components/tooltip/tooltip.js +57 -248
  190. package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -1
  191. package/lib/components/utility-nav/utility-nav.js +23 -56
  192. package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -1
  193. package/lib/components/utility-nav-item/utility-nav-item.js +28 -83
  194. package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -1
  195. package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -1
  196. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -1
  197. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
  198. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
  199. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -1
  200. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -1
  201. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -1
  202. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -1
  203. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +2 -2
  204. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -1
  205. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -1
  206. package/lib/design-tokens/core/scss/theming/component.scss +6 -6
  207. package/lib/design-tokens/core/scss/theming/functions.scss +4 -0
  208. package/lib/design-tokens/core/scss/theming/spacing.scss +60 -60
  209. package/lib/design-tokens/core/scss/theming/variables.scss +11 -11
  210. package/lib/design-tokens/mixins/typography-usage.scss +277 -277
  211. package/lib/design-tokens/tokens_netflix.theme.d.ts.map +1 -1
  212. package/lib/{icon-DImqxDiW.js → icon-D22g8aWB.js} +35 -138
  213. package/lib/index.js +1 -1
  214. package/package.json +12 -5
@@ -1,435 +1,11 @@
1
- import { s as b } from "../../icon-DImqxDiW.js";
2
- import { css as m, LitElement as v, html as n } from "lit";
3
- import { property as i, query as k } from "lit/decorators.js";
1
+ import { s as u } from "../../icon-D22g8aWB.js";
2
+ import { css as f, LitElement as _, html as n } from "lit";
3
+ import { property as i, query as v } from "lit/decorators.js";
4
4
  import { ifDefined as y } from "lit-html/directives/if-defined.js";
5
- import { nanoid as _ } from "nanoid";
6
- import { Cre8FormElement as g } from "../cre8-form-element.js";
7
- const x = m`@import '../../design-tokens/core/scss/theming/component';
8
-
9
- // #SELECT-TILE
10
-
11
- :host {
12
- display: inline-flex;
13
- }
14
-
15
- .cre8-c-select-tile {
16
- position: relative;
17
- overflow: hidden;
18
- cursor: pointer;
19
- display: flex;
20
- flex-direction: column;
21
- height: 100%;
22
- width: 100%;
23
- padding: calc(8px * 2);
24
- gap: 1rem;
25
- border-color: var(--cre8-color-border-default);
26
- border-width: var(--cre8-border-width-default);
27
- border-radius: var(--cre8-border-radius-default);
28
- border-style: solid;
29
- background: var(--cre8-color-bg-default);
30
- &:hover,
31
- &:focus,
32
- &:focus-visible,
33
- &:active {
34
- background: var(--cre8-color-bg-default-hover);
35
- border-color: var(--cre8-color-border-brand);
36
- }
37
- &:focus,
38
- &:focus-visible {
39
- @includefocus();
40
- }
41
-
42
- &.cre8-c-select-tile--error {
43
- border-color: var(--cre8-color-border-error);
44
- background: var(--cre8-color-bg-error);
45
- }
46
-
47
- &.cre8-c-select-tile--success {
48
- border-color: var(--cre8-color-border-success);
49
- background: var(--cre8-color-bg-success);
50
- }
51
-
52
- &.cre8-c-select-tile--disabled {
53
- border-color: var(--cre8-color-border-disabled);
54
- background: var(--cre8-color-bg-disabled);
55
- cursor: not-allowed;
56
- }
57
- }
58
-
59
- input:checked + .cre8-c-select-tile {
60
- border-width: 2px;
61
- border-color: var(--cre8-color-border-brand);
62
- }
63
-
64
- .cre8-c-select-tile__input {
65
- display: none;
66
- }
67
-
68
- /**
69
- * Horizontal select-tile
70
- * 1) Organized block with flex-direction set to row so that header => footer appears
71
- * from left to right rather than top to bottom
72
- */
73
- .cre8-c-select-tile--horizontal {
74
- flex-direction: row;
75
- align-items: center;
76
- justify-content: center;
77
- }
78
-
79
- @mixin cre8-c-select-tile--vertical-at-bp($breakpoint) {
80
- @media all and (max-width: $breakpoint) {
81
- flex-direction: column;
82
-
83
- .cre8-c-select-tile__custom-radio {
84
- position: absolute;
85
- top: calc(8px * 1);
86
- right: calc(8px * 1);
87
- }
88
- }
89
- }
90
-
91
- .cre8-c-select-tile--vertical-at-sm {
92
- @include cre8-c-select-tile--vertical-at-bp(component.$cre8-breakpoint-sm);
93
- }
94
- .cre8-c-select-tile--vertical-at-sm-2 {
95
- @include cre8-c-select-tile--vertical-at-bp(component.$cre8-breakpoint-sm);
96
- }
97
- .cre8-c-select-tile--vertical-at-md {
98
- @include cre8-c-select-tile--vertical-at-bp(component.$cre8-breakpoint-md);
99
- }
100
- .cre8-c-select-tile--vertical-at-lg {
101
- @include cre8-c-select-tile--vertical-at-bp(component.$cre8-breakpoint-lg);
102
- }
103
- .cre8-c-select-tile--vertical-at-xl {
104
- @include cre8-c-select-tile--vertical-at-bp(component.$cre8-breakpoint-xl);
105
- }
106
- .cre8-c-select-tile--vertical-at-xxl {
107
- @include cre8-c-select-tile--vertical-at-bp(component.$cre8-breakpoint-xxl);
108
- }
109
-
110
-
111
- /**
112
- * Bare select-tile
113
- * 1) Organized block without a border, background, or padding
114
- */
115
- .cre8-c-select-tile--bare {
116
- border: var(--cre8-border-width-none);
117
- padding: var(--cre8-spacing-0);
118
- box-shadow: none;
119
- }
120
- /**
121
- * Horizontal-bare select-tile
122
- * 1) Organized block with flex-direction set to row so that header => footer appears
123
- * from left to right rather than top to bottom without a border, background, or padding
124
- */
125
- .cre8-c-select-tile--horizontal-bare {
126
- flex-direction: row;
127
- border: var(--cre8-border-width-none);
128
- padding: var(--cre8-spacing-0);
129
- box-shadow: none;
130
- align-items: center;
131
- justify-content: center;
132
- }
133
- /**
134
- * Center aligned select-tile
135
- * 1) Center content and text within the select-tile
136
- */
137
- .cre8-c-select-tile--align-center {
138
- text-align: center; /* 1 */
139
- align-items: center; /* 1 */
140
- justify-content: center; /* 1 */
141
- }
142
-
143
- /**
144
- * Slotted image within a select-tile
145
- * 1) Make the image full width
146
- */
147
- ::slotted(img) {
148
- width: 100%;
149
- }
150
-
151
- /**
152
- * Select tile header
153
- * 1) Remove flex so that body always takes up remaining space
154
- */
155
- .cre8-c-select-tile__header {
156
- display: block;
157
- flex: none; /* 1 */
158
- }
159
-
160
- /**
161
- * Select Tile body
162
- * 1) Flex applied to always fill the remaining space of the select-tile
163
- */
164
- .cre8-c-select-tile__body {
165
- display: block;
166
- flex: 1 1 auto; /* 1 */
167
-
168
- /**
169
- * Select Tile body within bare select-tile
170
- * 1) Remove padding
171
- */
172
- .cre8-c-select-tile--bare & {
173
- padding: var(--cre8-spacing-0);
174
- }
175
- .cre8-c-select-tile--horizontal-bare & {
176
- padding: var(--cre8-spacing-0);
177
- }
178
-
179
- .cre8-c-select-tile__body_title {
180
- @include cre8-typography-title-default();
181
- }
182
- .cre8-c-select-tile__body_body {
183
- @include cre8-typography-body-default();
184
- }
185
- }
186
-
187
- /**
188
- * Select Tile footer
189
- * 1) Remove flex so that body always takes up remaining space
190
- */
191
- .cre8-c-select-tile__footer {
192
- display: flex;
193
- flex: none; /* 1 */
194
-
195
- .cre8-c-select-tile--bare & {
196
- padding: var(--cre8-spacing-0);
197
- }
198
- .cre8-c-select-tile--horizontal-bare & {
199
- padding: var(--cre8-spacing-0);
200
- }
201
- }
202
-
203
- .cre8-c-select-tile__custom-radio, .cre8-c-select-tile__custom-checkbox {
204
-
205
- /**
206
- * Render the checkmark/radio button on the left instead of the right.
207
- * Since it is only visual and the "checked" state is also set via aria,
208
- * there are hopefully no a11y issues with using order here.
209
- */
210
- &.cre8-c-select-tile__custom-radio-left {
211
- order: -1;
212
- }
213
-
214
- &.cre8-c-select-tile__custom-radio-none {
215
- display: none;
216
- }
217
- }
218
-
219
- @mixin cre8-c-select-radio-top-right($breakpoint: 0) {
220
- position: absolute;
221
- top: calc(8px * 1);
222
- right: calc(8px * 1);
223
- @if $breakpoint != 0 {
224
- @media all and (min-width: $breakpoint) {
225
- position: static;
226
- }
227
- }
228
- }
229
-
230
- /**
231
- * Radio field item custom radio container
232
- */
233
- .cre8-c-select-tile__custom-radio {
234
- display: flex;
235
- flex: none;
236
- height: calc(8px * 3);
237
- width: calc(8px * 3);
238
- cursor: pointer;
239
- align-items: center;
240
- justify-content: center;
241
- border-radius: var(--cre8-border-radius-round);
242
- border-width: var(--cre8-border-width-default);
243
- border-style: var(--cre8-border-style-default);
244
- background-color: var(--cre8-color-bg-default);
245
- border-color: var(--cre8-color-border-default);
246
-
247
- /**
248
- * Radio field item custom radio focus visible custom outline
249
- */
250
- .cre8-c-select-tile__input:focus-visible + & {
251
- border-color: var(--cre8-color-border-strong);
252
- @include focus;
253
-
254
- .cre8-c-select-tile--error & {
255
- @include focusError;
256
- border-color: var(--cre8-color-border-error);
257
- }
258
- }
259
-
260
- /**
261
- * Radio field item custom radio within radio field with error
262
- */
263
- .cre8-c-select-tile--error & {
264
- border-color: var(--cre8-color-border-error);
265
- }
266
-
267
- /**
268
- * Radio field item custom radio within radio field disabled
269
- */
270
- .cre8-c-select-tile--disabled & {
271
- cursor: not-allowed;
272
- background-color: var(--cre8-color-bg-disabled);
273
- border-color: var(--cre8-color-border-disabled);
274
- }
275
- }
276
-
277
- .cre8-c-select-tile__custom-radio-top-right {
278
- @include technology.cre8-c-select-radio-top-right();
279
- }
280
-
281
- /**
282
- * Check radio variant
283
- */
284
- .cre8-c-select-tile__custom-radio-check {
285
- .cre8-c-select-tile__icon {
286
- display: flex;
287
- }
288
- }
289
-
290
- /**
291
- * Radio field item inner circle
292
- */
293
- .cre8-c-select-tile__inner-circle {
294
- display: none;
295
-
296
- cursor: pointer;
297
- height: calc(8px * 1.5);
298
- width: calc(8px * 1.5);
299
- background: var(--cre8-color-content-brand);
300
- border-radius: var(--cre8-border-radius-round);
301
-
302
- /** Check radio variant */
303
- .cre8-c-select-tile__custom-radio-check & {
304
- flex: none;
305
- height: calc(8px * 3);
306
- width: calc(8px * 3);
307
- align-items: center;
308
- justify-content: center;
309
- }
310
-
311
- /**
312
- * Radio field item inner circle error
313
- */
314
- .cre8-c-select-tile--error & {
315
- background: var(--cre8-color-bg-error-strong);
316
- }
317
-
318
- /**
319
- * Radio field item inner circle disabled
320
- */
321
- .cre8-c-select-tile--disabled & {
322
- background: var(--cre8-color-content-disabled);
323
- }
324
-
325
- /**
326
- * Radio field item inner circle will display if the input is checked
327
- */
328
- input:checked ~ * .cre8-c-select-tile__custom-radio & {
329
- display: flex;
330
- }
331
- }
332
-
333
-
334
- // These styles are for the checkbox version
335
-
336
- /**
337
- * Checkbox field item custom checkbox container
338
- */
339
- .cre8-c-select-tile__custom-checkbox {
340
- display: flex;
341
- flex: none;
342
- height: calc(8px * 3);
343
- width: calc(8px * 3);
344
- cursor: pointer;
345
- align-items: center;
346
- justify-content: center;
347
- border-radius: var(--cre8-border-radius-small);
348
- border-width: var(--cre8-border-width-default);
349
- border-style: var(--cre8-border-style-default);
350
- background-color: var(--cre8-color-bg-default);
351
- border-color: var(--cre8-color-border-strong);
352
-
353
- /**
354
- * Checkbox field item custom checkbox focus visible custom outline
355
- */
356
- .cre8-c-select-tile__input:focus-visible + & {
357
- @include focus;
358
-
359
- .cre8-c-select-tile--error & {
360
- @include focusError;
361
- }
362
- }
363
-
364
- /**
365
- * Checkbox field item custom checkbox within checkbox field with error
366
- */
367
- .cre8-c-select-tile--error & {
368
- background-color: var(--cre8-color-bg-default);
369
- border-color: var(--cre8-color-border-error);
370
- }
371
-
372
- /**
373
- * Checkbox field item custom checkbox within checkbox field with disabled
374
- */
375
- .cre8-c-select-tile--disabled & {
376
- cursor: not-allowed;
377
- background-color: var(--cre8-color-bg-disabled);
378
- border-color: var(--cre8-color-border-disabled);
379
- }
380
- }
381
-
382
- /**
383
- * Checkbox field item custom checkbox when item is checked
384
- */
385
- input:checked ~ * .cre8-c-select-tile__custom-checkbox {
386
- background-color: var(--cre8-color-bg-brand-strong);
387
-
388
- /**
389
- * Checkbox field item custom checkbox when item is checked with error
390
- */
391
- .cre8-c-select-tile--error & {
392
- background-color: var(--cre8-color-bg-default);
393
- }
394
-
395
- /**
396
- * Checkbox field item custom checkbox when item is checked with disabled
397
- */
398
- .cre8-c-select-tile--disabled & {
399
- background-color: var(--cre8-color-bg-disabled);
400
- }
401
- }
402
-
403
- /**
404
- * Checkbox field item checkmark icon
405
- */
406
- .cre8-c-select-tile__icon {
407
- display: none;
408
- color: var(--cre8-color-content-knockout);
409
-
410
- /**
411
- * Checkbox field item icon within checkbox field with error
412
- */
413
- .cre8-c-select-tile--error & {
414
- color: var(--cre8-color-content-error);
415
- }
416
-
417
- /**
418
- * Checkbox field item icon within checkbox field disabled
419
- */
420
- .cre8-c-select-tile--disabled & {
421
- color: var(--cre8-color-content-disabled);
422
- }
423
-
424
- /**
425
- * Checkbox field item icon will display in the box if the input is checked
426
- */
427
- input:checked ~ * .cre8-c-select-tile__custom-checkbox & {
428
- display: flex;
429
- }
430
- }
431
- `;
432
- function u(d, t) {
5
+ import { nanoid as g } from "nanoid";
6
+ import { Cre8FormElement as x } from "../cre8-form-element.js";
7
+ const k = f`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{display:inline-flex}.cre8-c-select-tile{position:relative;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;height:100%;width:100%;padding:1rem;gap:1rem;border-color:var(--cre8-color-border-default);border-width:var(--cre8-border-width-default);border-radius:var(--cre8-border-radius-default);border-style:solid;background:var(--cre8-color-bg-default)}.cre8-c-select-tile:hover,.cre8-c-select-tile:focus,.cre8-c-select-tile:focus-visible,.cre8-c-select-tile:active{background:var(--cre8-color-bg-default-hover);border-color:var(--cre8-color-border-brand)}.cre8-c-select-tile:focus,.cre8-c-select-tile:focus-visible{outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);outline-offset:0.125rem}.cre8-c-select-tile.cre8-c-select-tile--error{border-color:var(--cre8-color-border-error);background:var(--cre8-color-bg-error)}.cre8-c-select-tile.cre8-c-select-tile--success{border-color:var(--cre8-color-border-success);background:var(--cre8-color-bg-success)}.cre8-c-select-tile.cre8-c-select-tile--disabled{border-color:var(--cre8-color-border-disabled);background:var(--cre8-color-bg-disabled);cursor:not-allowed}input:checked+.cre8-c-select-tile{border-width:2px;border-color:var(--cre8-color-border-brand)}.cre8-c-select-tile__input{display:none}.cre8-c-select-tile--horizontal{flex-direction:row;align-items:center;justify-content:center}@media all and (max-width: 560px){.cre8-c-select-tile--vertical-at-sm{flex-direction:column}.cre8-c-select-tile--vertical-at-sm .cre8-c-select-tile__custom-radio{position:absolute;top:0.5rem;right:0.5rem}}@media all and (max-width: 560px){.cre8-c-select-tile--vertical-at-sm-2{flex-direction:column}.cre8-c-select-tile--vertical-at-sm-2 .cre8-c-select-tile__custom-radio{position:absolute;top:0.5rem;right:0.5rem}}@media all and (max-width: 768px){.cre8-c-select-tile--vertical-at-md{flex-direction:column}.cre8-c-select-tile--vertical-at-md .cre8-c-select-tile__custom-radio{position:absolute;top:0.5rem;right:0.5rem}}@media all and (max-width: 960px){.cre8-c-select-tile--vertical-at-lg{flex-direction:column}.cre8-c-select-tile--vertical-at-lg .cre8-c-select-tile__custom-radio{position:absolute;top:0.5rem;right:0.5rem}}@media all and (max-width: 1200px){.cre8-c-select-tile--vertical-at-xl{flex-direction:column}.cre8-c-select-tile--vertical-at-xl .cre8-c-select-tile__custom-radio{position:absolute;top:0.5rem;right:0.5rem}}@media all and (max-width: 1400px){.cre8-c-select-tile--vertical-at-xxl{flex-direction:column}.cre8-c-select-tile--vertical-at-xxl .cre8-c-select-tile__custom-radio{position:absolute;top:0.5rem;right:0.5rem}}.cre8-c-select-tile--bare{border:var(--cre8-border-width-none);padding:var(--cre8-spacing-0);box-shadow:none}.cre8-c-select-tile--horizontal-bare{flex-direction:row;border:var(--cre8-border-width-none);padding:var(--cre8-spacing-0);box-shadow:none;align-items:center;justify-content:center}.cre8-c-select-tile--align-center{text-align:center;align-items:center;justify-content:center}::slotted(img){width:100%}.cre8-c-select-tile__header{display:block;flex:none}.cre8-c-select-tile__body{display:block;flex:1 1 auto}.cre8-c-select-tile--bare .cre8-c-select-tile__body{padding:var(--cre8-spacing-0)}.cre8-c-select-tile--horizontal-bare .cre8-c-select-tile__body{padding:var(--cre8-spacing-0)}.cre8-c-select-tile__body .cre8-c-select-tile__body_title{font-family:var(--cre8-typography-title-default-mobile-font-family);font-size:var(--cre8-typography-title-default-mobile-font-size);font-weight:var(--cre8-typography-title-default-mobile-font-weight);line-height:var(--cre8-typography-title-default-mobile-line-height);text-decoration:var(--cre8-typography-title-default-mobile-text-decoration);text-transform:var(--cre8-typography-title-default-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-select-tile__body .cre8-c-select-tile__body_title{font-family:var(--cre8-typography-title-default-font-family);font-size:var(--cre8-typography-title-default-font-size);font-weight:var(--cre8-typography-title-default-font-weight);line-height:var(--cre8-typography-title-default-line-height);text-decoration:var(--cre8-typography-title-default-text-decoration);text-transform:var(--cre8-typography-title-default-text-transform)}}.cre8-c-select-tile__body .cre8-c-select-tile__body_body{font-family:var(--cre8-typography-body-default-font-family);font-size:var(--cre8-typography-body-default-font-size);font-weight:var(--cre8-typography-body-default-font-weight);line-height:var(--cre8-typography-body-default-line-height);text-decoration:var(--cre8-typography-body-default-text-decoration);text-transform:var(--cre8-typography-body-default-text-transform)}.cre8-c-select-tile__footer{display:flex;flex:none}.cre8-c-select-tile--bare .cre8-c-select-tile__footer{padding:var(--cre8-spacing-0)}.cre8-c-select-tile--horizontal-bare .cre8-c-select-tile__footer{padding:var(--cre8-spacing-0)}.cre8-c-select-tile__custom-radio.cre8-c-select-tile__custom-radio-left,.cre8-c-select-tile__custom-checkbox.cre8-c-select-tile__custom-radio-left{order:-1}.cre8-c-select-tile__custom-radio.cre8-c-select-tile__custom-radio-none,.cre8-c-select-tile__custom-checkbox.cre8-c-select-tile__custom-radio-none{display:none}.cre8-c-select-tile__custom-radio{display:flex;flex:none;height:1.5rem;width:1.5rem;cursor:pointer;align-items:center;justify-content:center;border-radius:var(--cre8-border-radius-round);border-width:var(--cre8-border-width-default);border-style:var(--cre8-border-style-default);background-color:var(--cre8-color-bg-default);border-color:var(--cre8-color-border-default)}.cre8-c-select-tile__input:focus-visible+.cre8-c-select-tile__custom-radio{border-color:var(--cre8-color-border-strong);outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);outline-offset:0.125rem}.cre8-c-select-tile--error .cre8-c-select-tile__input:focus-visible+.cre8-c-select-tile__custom-radio{outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-error);outline-offset:0.125rem;border-color:var(--cre8-color-border-error)}.cre8-c-select-tile--error .cre8-c-select-tile__custom-radio{border-color:var(--cre8-color-border-error)}.cre8-c-select-tile--disabled .cre8-c-select-tile__custom-radio{cursor:not-allowed;background-color:var(--cre8-color-bg-disabled);border-color:var(--cre8-color-border-disabled)}.cre8-c-select-tile__custom-radio-top-right{position:absolute;top:0.5rem;right:0.5rem}.cre8-c-select-tile__custom-radio-check .cre8-c-select-tile__icon{display:flex}.cre8-c-select-tile__inner-circle{display:none;cursor:pointer;height:0.75rem;width:0.75rem;background:var(--cre8-color-content-brand);border-radius:var(--cre8-border-radius-round)}.cre8-c-select-tile__custom-radio-check .cre8-c-select-tile__inner-circle{flex:none;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}.cre8-c-select-tile--error .cre8-c-select-tile__inner-circle{background:var(--cre8-color-bg-error-strong)}.cre8-c-select-tile--disabled .cre8-c-select-tile__inner-circle{background:var(--cre8-color-content-disabled)}input:checked~* .cre8-c-select-tile__custom-radio .cre8-c-select-tile__inner-circle{display:flex}.cre8-c-select-tile__custom-checkbox{display:flex;flex:none;height:1.5rem;width:1.5rem;cursor:pointer;align-items:center;justify-content:center;border-radius:var(--cre8-border-radius-small);border-width:var(--cre8-border-width-default);border-style:var(--cre8-border-style-default);background-color:var(--cre8-color-bg-default);border-color:var(--cre8-color-border-strong)}.cre8-c-select-tile__input:focus-visible+.cre8-c-select-tile__custom-checkbox{outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);outline-offset:0.125rem}.cre8-c-select-tile--error .cre8-c-select-tile__input:focus-visible+.cre8-c-select-tile__custom-checkbox{outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-error);outline-offset:0.125rem}.cre8-c-select-tile--error .cre8-c-select-tile__custom-checkbox{background-color:var(--cre8-color-bg-default);border-color:var(--cre8-color-border-error)}.cre8-c-select-tile--disabled .cre8-c-select-tile__custom-checkbox{cursor:not-allowed;background-color:var(--cre8-color-bg-disabled);border-color:var(--cre8-color-border-disabled)}input:checked~* .cre8-c-select-tile__custom-checkbox{background-color:var(--cre8-color-bg-brand-strong)}.cre8-c-select-tile--error input:checked~* .cre8-c-select-tile__custom-checkbox{background-color:var(--cre8-color-bg-default)}.cre8-c-select-tile--disabled input:checked~* .cre8-c-select-tile__custom-checkbox{background-color:var(--cre8-color-bg-disabled)}.cre8-c-select-tile__icon{display:none;color:var(--cre8-color-content-knockout)}.cre8-c-select-tile--error .cre8-c-select-tile__icon{color:var(--cre8-color-content-error)}.cre8-c-select-tile--disabled .cre8-c-select-tile__icon{color:var(--cre8-color-content-disabled)}input:checked~* .cre8-c-select-tile__custom-checkbox .cre8-c-select-tile__icon{display:flex}`;
8
+ function b(d, t) {
433
9
  return t < 0 ? d.length - 1 : t >= d.length ? 0 : t;
434
10
  }
435
11
  class p {
@@ -447,16 +23,16 @@ class p {
447
23
  return;
448
24
  const l = o.findIndex((a) => a === this.host);
449
25
  let s;
450
- e.code === "ArrowLeft" || e.code === "ArrowUp" ? s = o[u(o, l - 1)] : (e.code === "ArrowRight" || e.code === "ArrowDown") && (s = o[u(o, l + 1)]), this._checkAndFocus(s), e.preventDefault();
26
+ e.code === "ArrowLeft" || e.code === "ArrowUp" ? s = o[b(o, l - 1)] : (e.code === "ArrowRight" || e.code === "ArrowDown") && (s = o[b(o, l + 1)]), this._checkAndFocus(s), e.preventDefault();
451
27
  }, this._handleEnterSpace = (e) => {
452
28
  this._checkAndFocus(this.host), e.preventDefault();
453
29
  }, this.host = t, t.addController(this);
454
30
  }
455
31
  hostConnected() {
456
- this.host.internals.role = "radio", this.host.setAttribute("role", "radio"), this.host.setAttribute("tabindex", "0"), this.host.addEventListener("click", this._clickHandler), this.host.addEventListener("keydown", this._handleKeyDown);
32
+ this.host._internals.role = "radio", this.host.setAttribute("role", "radio"), this.host.setAttribute("tabindex", "0"), this.host.addEventListener("click", this._clickHandler), this.host.addEventListener("keydown", this._handleKeyDown);
457
33
  }
458
34
  hostDisconnected() {
459
- this.host.internals.role = void 0, this.host.removeAttribute("role"), this.host.removeAttribute("tabindex"), this.host.removeEventListener("click", this._clickHandler), this.host.removeEventListener("keydown", this._handleKeyDown);
35
+ this.host._internals.role = void 0, this.host.removeAttribute("role"), this.host.removeAttribute("tabindex"), this.host.removeEventListener("click", this._clickHandler), this.host.removeEventListener("keydown", this._handleKeyDown);
460
36
  }
461
37
  hostUpdate() {
462
38
  }
@@ -491,7 +67,7 @@ class p {
491
67
  });
492
68
  }
493
69
  }
494
- class f {
70
+ class m {
495
71
  constructor(t) {
496
72
  this._clickHandler = (e) => {
497
73
  this._checkAndFocus(), e.preventDefault();
@@ -504,10 +80,10 @@ class f {
504
80
  }, this.host = t, t.addController(this);
505
81
  }
506
82
  hostConnected() {
507
- this.host.internals.role = "checkbox", this.host.setAttribute("tabindex", "0"), this.host.addEventListener("click", this._clickHandler), this.host.addEventListener("keydown", this._handleKeyDown);
83
+ this.host._internals.role = "checkbox", this.host.setAttribute("tabindex", "0"), this.host.addEventListener("click", this._clickHandler), this.host.addEventListener("keydown", this._handleKeyDown);
508
84
  }
509
85
  hostDisconnected() {
510
- this.host.internals.role = void 0, this.host.removeAttribute("tabindex"), this.host.removeEventListener("click", this._clickHandler), this.host.removeEventListener("keydown", this._handleKeyDown);
86
+ this.host._internals.role = void 0, this.host.removeAttribute("tabindex"), this.host.removeEventListener("click", this._clickHandler), this.host.removeEventListener("keydown", this._handleKeyDown);
511
87
  }
512
88
  }
513
89
  var w = Object.defineProperty, c = (d, t, e, o) => {
@@ -515,7 +91,7 @@ var w = Object.defineProperty, c = (d, t, e, o) => {
515
91
  (a = d[s]) && (l = a(t, e, l) || l);
516
92
  return l && w(t, e, l), l;
517
93
  };
518
- const h = class h extends g {
94
+ const h = class h extends x {
519
95
  constructor() {
520
96
  super(...arguments), this._controller = void 0, this.type = "radio", this.variantBreakToVertical = "sm", this.checkPosition = "right", this.radioVariant = "dot";
521
97
  }
@@ -525,7 +101,7 @@ const h = class h extends g {
525
101
  * TOOD: maybe this goes on Cre8FormElement
526
102
  */
527
103
  get form() {
528
- return this.internals.form;
104
+ return this._internals.form;
529
105
  }
530
106
  /**
531
107
  * Connected callback lifecycle
@@ -533,7 +109,7 @@ const h = class h extends g {
533
109
  * 2) Initialize the correct controller
534
110
  */
535
111
  connectedCallback() {
536
- super.connectedCallback(), this.fieldId = this.fieldId || _(), this._controller = this.type === "radio" ? new p(this) : new f(this), this.disabled && (this.internals.ariaDisabled = "true");
112
+ super.connectedCallback(), this.fieldId = this.fieldId || g(), this._controller = this.type === "radio" ? new p(this) : new m(this), this.disabled && (this._internals.ariaDisabled = "true");
537
113
  }
538
114
  /**
539
115
  * Reset form callback
@@ -550,7 +126,7 @@ const h = class h extends g {
550
126
  *
551
127
  */
552
128
  updated(t) {
553
- super.updated(t), t.has("checked") && this.setAttribute("aria-checked", this.checked ? "true" : "false"), t.has("type") && (this._controller.hostDisconnected(), this._controller = this.type === "radio" ? new p(this) : new f(this)), t.has("disabled") && (this.disabled ? this.internals.ariaDisabled = "true" : this.internals.ariaDisabled = "false");
129
+ super.updated(t), t.has("checked") && this.setAttribute("aria-checked", this.checked ? "true" : "false"), t.has("type") && (this._controller.hostDisconnected(), this._controller = this.type === "radio" ? new p(this) : new m(this)), t.has("disabled") && (this.disabled ? this._internals.ariaDisabled = "true" : this._internals.ariaDisabled = "false");
554
130
  }
555
131
  renderInput() {
556
132
  return n`
@@ -569,7 +145,7 @@ const h = class h extends g {
569
145
  }
570
146
  renderCheckboxIcon() {
571
147
  return this.type === "checkbox" ? n`
572
- <cre8-icon svg="${b}" class="cre8-c-select-tile__icon" aria-hidden="${!this.checked}"></cre8-icon>
148
+ <cre8-icon svg="${u}" class="cre8-c-select-tile__icon" aria-hidden="${!this.checked}"></cre8-icon>
573
149
  ` : null;
574
150
  }
575
151
  render() {
@@ -623,19 +199,19 @@ const h = class h extends g {
623
199
  <div class="${e}">
624
200
  ${this.renderCheckboxIcon()}
625
201
  <div class="cre8-c-select-tile__inner-circle">
626
- <cre8-icon svg="${b}" class="cre8-c-select-tile__icon"></cre8-icon>
202
+ <cre8-icon svg="${u}" class="cre8-c-select-tile__icon"></cre8-icon>
627
203
  </div>
628
204
  </div>
629
205
  </label>`;
630
206
  }
631
207
  };
632
- h.shadowRootOptions = { ...v.shadowRootOptions, delegatesFocus: !0 }, h.styles = [x];
208
+ h.shadowRootOptions = { ..._.shadowRootOptions, delegatesFocus: !0 }, h.styles = [k];
633
209
  let r = h;
634
210
  c([
635
211
  i({ reflect: !0 })
636
212
  ], r.prototype, "type");
637
213
  c([
638
- k("input")
214
+ v("input")
639
215
  ], r.prototype, "field");
640
216
  c([
641
217
  i({ reflect: !0 })
@@ -670,9 +246,6 @@ c([
670
246
  c([
671
247
  i()
672
248
  ], r.prototype, "fieldId");
673
- c([
674
- i({ reflect: !0 })
675
- ], r.prototype, "name");
676
249
  c([
677
250
  i()
678
251
  ], r.prototype, "ariaDescribedBy");
@@ -1 +1 @@
1
- {"version":3,"file":"select-tile.styles.d.ts","sourceRoot":"","sources":["../../../components/select-tile/select-tile.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAwaX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"select-tile.styles.d.ts","sourceRoot":"","sources":["../../../components/select-tile/select-tile.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAqjV,CAAC;AAClkV,eAAe,MAAM,CAAC"}