@esri/solutions-components 0.7.12-alpha → 0.7.12-alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/package.json +2 -1
  3. package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
  4. package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +263 -0
  5. package/packages/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
  6. package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
  7. package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
  8. package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
  9. package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
  10. package/packages/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
  11. package/packages/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
  12. package/packages/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
  13. package/packages/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
  14. package/packages/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +802 -0
  15. package/packages/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
  16. package/packages/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
  17. package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
  18. package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
  19. package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
  20. package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
  21. package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
  22. package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
  23. package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +209 -0
  24. package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
  25. package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
  26. package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
  27. package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
  28. package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
  29. package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
  30. package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
  31. package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +278 -0
  32. package/packages/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
  33. package/packages/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
  34. package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
  35. package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
  36. package/packages/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
  37. package/packages/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
  38. package/packages/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
  39. package/packages/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
  40. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
  41. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
  42. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
  43. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
  44. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
  45. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
  46. package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
  47. package/packages/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
  48. package/packages/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
  49. package/packages/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
  50. package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
  51. package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
  52. package/packages/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
  53. package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
  54. package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
  55. package/packages/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
  56. package/packages/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
  57. package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
  58. package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +136 -0
  59. package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
  60. package/packages/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
  61. package/packages/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
  62. package/packages/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
  63. package/packages/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
  64. package/packages/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
  65. package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
  66. package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
  67. package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
  68. package/packages/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
  69. package/packages/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
  70. package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
  71. package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
  72. package/packages/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
  73. package/packages/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
  74. package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
  75. package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
  76. package/packages/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
  77. package/packages/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
  78. package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
  79. package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
  80. package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
  81. package/packages/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
  82. package/packages/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
  83. package/packages/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
  84. package/packages/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
  85. package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
  86. package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +457 -0
  87. package/packages/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
  88. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
  89. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
  90. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +348 -0
  91. package/packages/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
  92. package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
  93. package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
  94. package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
  95. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
  96. package/packages/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
  97. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +170 -0
  98. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
  99. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
  100. package/packages/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
  101. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
  102. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
  103. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
  104. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
  105. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
  106. package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +315 -0
  107. package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
  108. package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
  109. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
  110. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
  111. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
  112. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
  113. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
  114. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
  115. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
  116. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
  117. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
  118. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
  119. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
  120. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
  121. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
  122. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
  123. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
  124. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
  125. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
  126. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
  127. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
  128. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
  129. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
  130. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
  131. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
  132. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
  133. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
  134. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
  135. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
  136. package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
  137. package/packages/solutions-components/dist/solutions-components_commit.txt +4 -4
  138. package/t9nmanifest.txt +6 -6
@@ -0,0 +1,183 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
4
+ */
5
+ /**
6
+ * Do not edit directly
7
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
8
+ */
9
+ /**
10
+ * Do not edit directly
11
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
12
+ */
13
+ /**
14
+ * Do not edit directly
15
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
16
+ */
17
+ /**
18
+ * Do not edit directly
19
+ * Generated on Sat, 02 Dec 2023 04:05:26 GMT
20
+ */
21
+ /* mixins & extensions */
22
+ /* helper to properly scale internal durations */
23
+ /**
24
+ * Currently only used in Checkbox.
25
+ */
26
+ :host {
27
+ display: block;
28
+ max-inline-size: 100%;
29
+ }
30
+ :host .calcite-card-container {
31
+ position: relative;
32
+ display: flex;
33
+ block-size: 100%;
34
+ flex-direction: column;
35
+ justify-content: space-between;
36
+ overflow: hidden;
37
+ border-width: 1px;
38
+ border-style: solid;
39
+ border-color: var(--calcite-color-border-2);
40
+ background-color: var(--calcite-color-foreground-1);
41
+ color: var(--calcite-color-text-3);
42
+ --tw-shadow: 0 0 #0000;
43
+ --tw-shadow-colored: 0 0 #0000;
44
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
45
+ transition-duration: 150ms;
46
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
47
+ border-radius: var(--calcite-border-radius-base);
48
+ }
49
+
50
+ .container {
51
+ position: relative;
52
+ display: flex;
53
+ flex: 1 1 auto;
54
+ flex-direction: column;
55
+ }
56
+
57
+ :host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container) {
58
+ pointer-events: none;
59
+ opacity: 0;
60
+ }
61
+
62
+ :host([loading]) .calcite-card-loader-container {
63
+ position: absolute;
64
+ inset: 0px;
65
+ display: flex;
66
+ align-items: center;
67
+ }
68
+
69
+ .header,
70
+ .footer {
71
+ display: flex;
72
+ padding-inline: 0.75rem;
73
+ padding-block: 0.75rem 0.25rem;
74
+ }
75
+
76
+ .header {
77
+ flex-direction: column;
78
+ }
79
+
80
+ .footer {
81
+ margin-block-start: auto;
82
+ flex-direction: row;
83
+ align-content: space-between;
84
+ justify-content: space-between;
85
+ padding-inline: 0.75rem;
86
+ padding-block: 0.25rem 0.75rem;
87
+ }
88
+
89
+ .card-content {
90
+ padding: 0.75rem;
91
+ font-size: var(--calcite-font-size--2);
92
+ line-height: 1.375;
93
+ color: var(--calcite-color-text-3);
94
+ }
95
+
96
+ :host([selected]) .calcite-card-container {
97
+ border-color: var(--calcite-color-brand);
98
+ }
99
+
100
+ slot[name=title]::slotted(*),
101
+ *::slotted([slot=title]) {
102
+ margin: 0px;
103
+ font-size: var(--calcite-font-size--1);
104
+ line-height: 1.375;
105
+ font-weight: var(--calcite-font-weight-medium);
106
+ color: var(--calcite-color-text-1);
107
+ }
108
+
109
+ :host([selectable]) .header {
110
+ padding-inline-end: 2rem;
111
+ }
112
+
113
+ slot[name=subtitle]::slotted(*),
114
+ *::slotted([slot=subtitle]) {
115
+ margin: 0px;
116
+ margin-block-start: 0.5rem;
117
+ font-size: var(--calcite-font-size--2);
118
+ line-height: 1.375;
119
+ font-weight: var(--calcite-font-weight-normal);
120
+ color: var(--calcite-color-text-2);
121
+ }
122
+
123
+ slot[name=thumbnail]::slotted(img),
124
+ img::slotted([slot=thumbnail]) {
125
+ min-inline-size: 100%;
126
+ max-inline-size: 100%;
127
+ }
128
+
129
+ slot[name=footer-start]::slotted(*),
130
+ *::slotted([slot=footer-start]) {
131
+ align-self: center;
132
+ font-size: var(--calcite-font-size--2);
133
+ line-height: 1.375;
134
+ margin-inline-end: auto;
135
+ }
136
+
137
+ slot[name=footer-end]::slotted(*),
138
+ *::slotted([slot=footer-end]) {
139
+ align-self: center;
140
+ font-size: var(--calcite-font-size--2);
141
+ line-height: 1.375;
142
+ }
143
+
144
+ .checkbox-wrapper {
145
+ position: absolute;
146
+ margin: 0px;
147
+ padding: 0px;
148
+ inset-block-start: 0.5rem;
149
+ inset-inline-end: 0.5rem;
150
+ }
151
+
152
+ .thumbnail-wrapper {
153
+ display: flex;
154
+ }
155
+
156
+ .calcite-card-container.inline {
157
+ flex-direction: row;
158
+ }
159
+ .calcite-card-container.inline > .container {
160
+ inline-size: 60%;
161
+ }
162
+ .calcite-card-container.inline > .thumbnail-wrapper {
163
+ inline-size: 40%;
164
+ align-items: flex-start;
165
+ }
166
+ .calcite-card-container.inline slot[name=thumbnail]::slotted(img),
167
+ .calcite-card-container.inline img::slotted([slot=thumbnail]) {
168
+ inline-size: 100%;
169
+ }
170
+
171
+ slot[name=footer-start]::slotted(*),
172
+ slot[name=footer-end]::slotted(*) {
173
+ display: flex;
174
+ gap: 0.25rem;
175
+ }
176
+
177
+ :host([hidden]) {
178
+ display: none;
179
+ }
180
+
181
+ [hidden] {
182
+ display: none;
183
+ }
@@ -0,0 +1,167 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
4
+ */
5
+ /**
6
+ * Do not edit directly
7
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
8
+ */
9
+ /**
10
+ * Do not edit directly
11
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
12
+ */
13
+ /**
14
+ * Do not edit directly
15
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
16
+ */
17
+ /**
18
+ * Do not edit directly
19
+ * Generated on Sat, 02 Dec 2023 04:05:26 GMT
20
+ */
21
+ /* mixins & extensions */
22
+ /* helper to properly scale internal durations */
23
+ /**
24
+ * Currently only used in Checkbox.
25
+ */
26
+ :host([disabled]) {
27
+ cursor: default;
28
+ -webkit-user-select: none;
29
+ -moz-user-select: none;
30
+ user-select: none;
31
+ opacity: var(--calcite-opacity-disabled);
32
+ }
33
+
34
+ :host([disabled]) *,
35
+ :host([disabled]) ::slotted(*) {
36
+ pointer-events: none;
37
+ }
38
+
39
+ /**
40
+ * CSS Custom Properties
41
+ *
42
+ * These properties can be overridden using the component's tag as selector.
43
+ *
44
+ * @prop --calcite-checkbox-size: Specifies the component's height and width.
45
+ */
46
+ :host([scale=s]) {
47
+ --calcite-checkbox-size: 0.75rem;
48
+ }
49
+
50
+ :host([scale=m]) {
51
+ --calcite-checkbox-size: var(--calcite-font-size--1);
52
+ }
53
+
54
+ :host([scale=l]) {
55
+ --calcite-checkbox-size: 1rem;
56
+ }
57
+
58
+ :host {
59
+ position: relative;
60
+ display: inline-flex;
61
+ cursor: pointer;
62
+ -webkit-user-select: none;
63
+ -moz-user-select: none;
64
+ user-select: none;
65
+ -webkit-tap-highlight-color: transparent;
66
+ }
67
+ :host .check-svg,
68
+ :host .toggle {
69
+ inline-size: var(--calcite-checkbox-size);
70
+ block-size: var(--calcite-checkbox-size);
71
+ }
72
+ :host .check-svg {
73
+ pointer-events: none;
74
+ box-sizing: border-box;
75
+ display: block;
76
+ overflow: hidden;
77
+ background-color: var(--calcite-color-foreground-1);
78
+ fill: currentColor;
79
+ stroke: currentColor;
80
+ stroke-width: 1;
81
+ transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
82
+ box-shadow: inset 0 0 0 1px var(--calcite-color-border-input);
83
+ color: var(--calcite-color-background);
84
+ }
85
+
86
+ :host([status=invalid]:not([checked])) .check-svg {
87
+ box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger);
88
+ }
89
+ :host([status=invalid]:not([checked])) .toggle:focus {
90
+ outline: 2px solid var(--calcite-color-status-danger);
91
+ outline-offset: calc(
92
+ 2px *
93
+ calc(
94
+ 1 -
95
+ 2 * clamp(
96
+ 0,
97
+ var(--calcite-offset-invert-focus),
98
+ 1
99
+ )
100
+ )
101
+ );
102
+ }
103
+
104
+ :host([checked]) .check-svg,
105
+ :host([indeterminate]) .check-svg {
106
+ background-color: var(--calcite-color-brand);
107
+ box-shadow: inset 0 0 0 1px var(--calcite-color-brand);
108
+ }
109
+
110
+ :host([hovered]) .toggle .check-svg,
111
+ :host .toggle:hover .check-svg {
112
+ box-shadow: inset 0 0 0 2px var(--calcite-color-brand);
113
+ }
114
+
115
+ .toggle {
116
+ position: relative;
117
+ outline-color: transparent;
118
+ }
119
+ .toggle:active, .toggle:focus, .toggle:focus-visible {
120
+ outline: 2px solid var(--calcite-color-brand);
121
+ outline-offset: calc(
122
+ 2px *
123
+ calc(
124
+ 1 -
125
+ 2 * clamp(
126
+ 0,
127
+ var(--calcite-offset-invert-focus),
128
+ 1
129
+ )
130
+ )
131
+ );
132
+ }
133
+ .toggle::after {
134
+ content: "";
135
+ inset-block-start: 50%;
136
+ inset-inline-start: 50%;
137
+ min-block-size: 1.5rem;
138
+ min-inline-size: 1.5rem;
139
+ position: absolute;
140
+ transform: translateX(-50%) translateY(-50%);
141
+ }
142
+
143
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
144
+ :host([disabled]) [calcite-hydrated][disabled] {
145
+ /* prevent opacity stacking */
146
+ opacity: 1;
147
+ }
148
+
149
+ ::slotted(input[slot=hidden-form-input]) {
150
+ margin: 0 !important;
151
+ opacity: 0 !important;
152
+ outline: none !important;
153
+ padding: 0 !important;
154
+ position: absolute !important;
155
+ inset: 0 !important;
156
+ transform: none !important;
157
+ -webkit-appearance: none !important;
158
+ z-index: -1 !important;
159
+ }
160
+
161
+ :host([hidden]) {
162
+ display: none;
163
+ }
164
+
165
+ [hidden] {
166
+ display: none;
167
+ }
@@ -0,0 +1,385 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
4
+ */
5
+ /**
6
+ * Do not edit directly
7
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
8
+ */
9
+ /**
10
+ * Do not edit directly
11
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
12
+ */
13
+ /**
14
+ * Do not edit directly
15
+ * Generated on Sat, 02 Dec 2023 04:05:27 GMT
16
+ */
17
+ /**
18
+ * Do not edit directly
19
+ * Generated on Sat, 02 Dec 2023 04:05:26 GMT
20
+ */
21
+ /* mixins & extensions */
22
+ /* helper to properly scale internal durations */
23
+ /**
24
+ * Currently only used in Checkbox.
25
+ */
26
+ :host([disabled]) {
27
+ cursor: default;
28
+ -webkit-user-select: none;
29
+ -moz-user-select: none;
30
+ user-select: none;
31
+ opacity: var(--calcite-opacity-disabled);
32
+ }
33
+
34
+ :host([disabled]) *,
35
+ :host([disabled]) ::slotted(*) {
36
+ pointer-events: none;
37
+ }
38
+
39
+ :host([scale=s]) {
40
+ block-size: 1.5rem;
41
+ font-size: var(--calcite-font-size--2);
42
+ --calcite-chip-spacing-s-internal: 0.25rem;
43
+ --calcite-chip-spacing-l-internal: 0.5rem;
44
+ }
45
+ :host([scale=s]) .close,
46
+ :host([scale=s]) .select-icon--active {
47
+ block-size: 1rem;
48
+ inline-size: 1rem;
49
+ }
50
+ :host([scale=s]) .image-container {
51
+ block-size: 1.25rem;
52
+ inline-size: 1.25rem;
53
+ }
54
+ :host([scale=s]) .container.is-circle {
55
+ block-size: 1.5rem;
56
+ inline-size: 1.5rem;
57
+ }
58
+
59
+ :host([scale=m]) {
60
+ block-size: 2rem;
61
+ font-size: var(--calcite-font-size--1);
62
+ --calcite-chip-spacing-s-internal: 0.375rem;
63
+ --calcite-chip-spacing-l-internal: 0.5rem;
64
+ }
65
+ :host([scale=m]) .close,
66
+ :host([scale=m]) .image-container,
67
+ :host([scale=m]) .select-icon--active {
68
+ block-size: 1.5rem;
69
+ inline-size: 1.5rem;
70
+ }
71
+ :host([scale=m]) .container.is-circle {
72
+ block-size: 2rem;
73
+ inline-size: 2rem;
74
+ }
75
+
76
+ :host([scale=l]) {
77
+ block-size: 2.75rem;
78
+ font-size: var(--calcite-font-size-0);
79
+ --calcite-chip-spacing-s-internal: 0.5rem;
80
+ --calcite-chip-spacing-l-internal: 0.75rem;
81
+ }
82
+ :host([scale=l]) .image-container,
83
+ :host([scale=l]) .close,
84
+ :host([scale=l]) .select-icon--active {
85
+ block-size: 2rem;
86
+ inline-size: 2rem;
87
+ }
88
+ :host([scale=l]) .container.is-circle {
89
+ block-size: 2.75rem;
90
+ inline-size: 2.75rem;
91
+ }
92
+
93
+ :host {
94
+ display: inline-flex;
95
+ cursor: default;
96
+ border-radius: 9999px;
97
+ }
98
+
99
+ .container {
100
+ box-sizing: border-box;
101
+ display: inline-flex;
102
+ block-size: 100%;
103
+ max-inline-size: 100%;
104
+ align-items: center;
105
+ justify-content: center;
106
+ border-radius: 9999px;
107
+ border-width: 1px;
108
+ border-style: solid;
109
+ border-color: var(--calcite-color-border-1);
110
+ font-weight: var(--calcite-font-weight-medium);
111
+ outline-color: transparent;
112
+ }
113
+ .container:not(.is-circle) {
114
+ padding-inline: var(--calcite-chip-spacing-s-internal);
115
+ }
116
+ .container.selectable {
117
+ cursor: pointer;
118
+ }
119
+ .container:not(.non-interactive):focus {
120
+ outline: 2px solid var(--calcite-color-brand);
121
+ outline-offset: calc(
122
+ 2px *
123
+ calc(
124
+ 1 -
125
+ 2 * clamp(
126
+ 0,
127
+ var(--calcite-offset-invert-focus),
128
+ 1
129
+ )
130
+ )
131
+ );
132
+ }
133
+
134
+ :host([scale=s]) .container.image--slotted {
135
+ padding-inline-start: calc(0.125rem / 2);
136
+ }
137
+
138
+ :host([scale=s]) .container.is-circle {
139
+ padding-inline: 0;
140
+ }
141
+
142
+ .container.text--slotted .title {
143
+ overflow: hidden;
144
+ text-overflow: ellipsis;
145
+ white-space: nowrap;
146
+ padding-inline: var(--calcite-chip-spacing-s-internal);
147
+ }
148
+
149
+ .container:not(.text--slotted) .title {
150
+ display: none;
151
+ }
152
+
153
+ .container:not(.image--slotted) .image-container {
154
+ display: none;
155
+ }
156
+
157
+ .container.closable {
158
+ padding-inline-end: calc(var(--calcite-chip-spacing-l-internal) / 2);
159
+ }
160
+
161
+ .container:not(.is-circle).image--slotted {
162
+ padding-inline-start: calc(var(--calcite-chip-spacing-l-internal) / 2);
163
+ }
164
+ .container:not(.is-circle).image--slotted .image-container {
165
+ margin-inline-end: var(--calcite-chip-spacing-s-internal);
166
+ }
167
+ .container:not(.is-circle).image--slotted .image-container ~ .chip-icon {
168
+ margin-inline-start: var(--calcite-chip-spacing-s-internal);
169
+ }
170
+ .container:not(.is-circle).selectable:not(.text--slotted) .chip-icon {
171
+ margin-inline-end: var(--calcite-chip-spacing-s-internal);
172
+ }
173
+ .container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon {
174
+ margin-inline-start: var(--calcite-chip-spacing-s-internal);
175
+ }
176
+ .container:not(.is-circle):not(.text--slotted) .chip-icon {
177
+ margin-inline-end: var(--calcite-chip-spacing-s-internal);
178
+ }
179
+ .container:not(.is-circle):not(.text-slotted).image--slotted .image-container {
180
+ margin-inline-end: var(--calcite-chip-spacing-s-internal);
181
+ }
182
+ .container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container {
183
+ margin-inline-end: 0;
184
+ }
185
+ .container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container ~ .chip-icon {
186
+ margin-inline-start: calc(var(--calcite-chip-spacing-s-internal) * 2);
187
+ }
188
+
189
+ .chip-icon {
190
+ position: relative;
191
+ margin-block: 0px;
192
+ display: inline-flex;
193
+ transition-duration: 150ms;
194
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
195
+ margin-inline: var(--calcite-chip-spacing-s-internal);
196
+ }
197
+
198
+ .image-container {
199
+ display: inline-flex;
200
+ overflow: hidden;
201
+ align-items: center;
202
+ justify-content: center;
203
+ pointer-events: none;
204
+ }
205
+
206
+ .close {
207
+ margin: 0px;
208
+ cursor: pointer;
209
+ align-items: center;
210
+ border-style: none;
211
+ background-color: transparent;
212
+ color: var(--calcite-color-text-1);
213
+ outline-color: transparent;
214
+ transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
215
+ -webkit-appearance: none;
216
+ display: flex;
217
+ border-radius: 50%;
218
+ align-content: center;
219
+ justify-content: center;
220
+ --calcite-chip-transparent-hover: var(--calcite-color-transparent-hover);
221
+ --calcite-chip-transparent-press: var(--calcite-color-transparent-press);
222
+ }
223
+ .close:hover {
224
+ background-color: var(--calcite-chip-transparent-hover);
225
+ }
226
+ .close:focus {
227
+ background-color: var(--calcite-chip-transparent-hover);
228
+ outline: 2px solid var(--calcite-color-brand);
229
+ outline-offset: calc(
230
+ -2px *
231
+ calc(
232
+ 1 -
233
+ 2 * clamp(
234
+ 0,
235
+ var(--calcite-offset-invert-focus),
236
+ 1
237
+ )
238
+ )
239
+ );
240
+ }
241
+ .close:active {
242
+ background-color: var(--calcite-chip-transparent-press);
243
+ }
244
+ .close calcite-icon {
245
+ color: inherit;
246
+ }
247
+
248
+ .select-icon {
249
+ align-self: center;
250
+ justify-content: center;
251
+ align-items: center;
252
+ display: flex;
253
+ inset-block-start: -1px;
254
+ position: relative;
255
+ visibility: hidden;
256
+ inline-size: 0;
257
+ opacity: 0;
258
+ transition: opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out;
259
+ }
260
+ .select-icon.select-icon--active {
261
+ visibility: visible;
262
+ opacity: 0.5;
263
+ }
264
+
265
+ .container:not(.is-circle).image--slotted .select-icon.select-icon--active {
266
+ margin-inline-end: var(--calcite-chip-spacing-s-internal);
267
+ }
268
+
269
+ :host([selected]) .select-icon {
270
+ opacity: 1;
271
+ }
272
+
273
+ .container:hover .select-icon--active {
274
+ opacity: 1;
275
+ }
276
+
277
+ slot[name=image]::slotted(*) {
278
+ display: flex;
279
+ block-size: 100%;
280
+ inline-size: 100%;
281
+ overflow: hidden;
282
+ border-radius: 50%;
283
+ }
284
+
285
+ :host([kind=neutral]) {
286
+ background-color: var(--calcite-color-foreground-2);
287
+ color: var(--calcite-color-text-1);
288
+ }
289
+ :host([kind=neutral]) .container {
290
+ border-color: transparent;
291
+ }
292
+ :host([kind=neutral]) .close {
293
+ color: var(--calcite-color-text-3);
294
+ }
295
+ :host([kind=neutral]) .chip-icon {
296
+ color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));
297
+ }
298
+
299
+ :host([kind=inverse]) {
300
+ background-color: var(--calcite-color-inverse);
301
+ color: var(--calcite-color-text-inverse);
302
+ }
303
+ :host([kind=inverse]) .container {
304
+ border-color: transparent;
305
+ }
306
+ :host([kind=inverse]) .close {
307
+ color: var(--calcite-color-text-inverse);
308
+ }
309
+ :host([kind=inverse]) .chip-icon {
310
+ color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));
311
+ }
312
+
313
+ :host([kind=brand]) {
314
+ background-color: var(--calcite-color-brand);
315
+ color: var(--calcite-color-text-inverse);
316
+ }
317
+ :host([kind=brand]) .container {
318
+ border-color: transparent;
319
+ }
320
+ :host([kind=brand]) .close {
321
+ color: var(--calcite-color-text-inverse);
322
+ }
323
+ :host([kind=brand]) .chip-icon {
324
+ color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));
325
+ }
326
+
327
+ :host([appearance=outline-fill]),
328
+ :host([appearance=outline]) {
329
+ background-color: var(--calcite-color-foreground-1);
330
+ color: var(--calcite-color-text-1);
331
+ }
332
+ :host([appearance=outline-fill]) .close,
333
+ :host([appearance=outline]) .close {
334
+ color: var(--calcite-color-text-3);
335
+ }
336
+ :host([appearance=outline-fill]) .chip-icon,
337
+ :host([appearance=outline]) .chip-icon {
338
+ color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));
339
+ }
340
+
341
+ :host([appearance=outline-fill]) {
342
+ background-color: var(--calcite-color-foreground-1);
343
+ }
344
+
345
+ :host([appearance=outline]) {
346
+ background-color: transparent;
347
+ }
348
+
349
+ :host([kind=neutral][appearance=outline-fill]) .container,
350
+ :host([kind=neutral][appearance=outline]) .container {
351
+ border-color: var(--calcite-color-border-1);
352
+ }
353
+
354
+ :host([kind=inverse][appearance=outline-fill]) .container,
355
+ :host([kind=inverse][appearance=outline]) .container {
356
+ border-color: var(--calcite-color-border-inverse);
357
+ }
358
+
359
+ :host([kind=brand][appearance=outline-fill]) .container,
360
+ :host([kind=brand][appearance=outline]) .container {
361
+ border-color: var(--calcite-color-brand);
362
+ }
363
+
364
+ :host([kind=brand][appearance=solid]) button,
365
+ :host([kind=inverse][appearance=solid]) button {
366
+ outline-color: var(--calcite-color-text-inverse);
367
+ }
368
+
369
+ :host([closed]) {
370
+ display: none;
371
+ }
372
+
373
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
374
+ :host([disabled]) [calcite-hydrated][disabled] {
375
+ /* prevent opacity stacking */
376
+ opacity: 1;
377
+ }
378
+
379
+ :host([hidden]) {
380
+ display: none;
381
+ }
382
+
383
+ [hidden] {
384
+ display: none;
385
+ }