@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([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([hidden]) {
40
+ display: none;
41
+ }
42
+
43
+ [hidden] {
44
+ display: none;
45
+ }
46
+
47
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
48
+ :host([disabled]) [calcite-hydrated][disabled] {
49
+ /* prevent opacity stacking */
50
+ opacity: 1;
51
+ }
52
+
53
+ :host {
54
+ display: flex;
55
+ --calcite-meter-space-internal: 0.125rem;
56
+ --calcite-meter-height-internal: 1rem;
57
+ --calcite-meter-font-size-internal: var(--calcite-font-size--1);
58
+ }
59
+
60
+ :host([scale=s]) {
61
+ --calcite-meter-height-internal: 0.75rem;
62
+ --calcite-meter-font-size-internal: var(--calcite-font-size--2);
63
+ }
64
+
65
+ :host([scale=l]) {
66
+ --calcite-meter-height-internal: 1.5rem;
67
+ --calcite-meter-font-size-internal: var(--calcite-font-size-0);
68
+ }
69
+
70
+ .container {
71
+ position: relative;
72
+ margin: 0px;
73
+ display: flex;
74
+ inline-size: 100%;
75
+ align-items: center;
76
+ block-size: var(--calcite-meter-height-internal);
77
+ background-color: var(--calcite-color-foreground-2);
78
+ border: 1px solid var(--calcite-color-border-3);
79
+ border-radius: var(--calcite-meter-height-internal);
80
+ }
81
+
82
+ .solid {
83
+ border: 1px solid var(--calcite-color-foreground-3);
84
+ background-color: var(--calcite-color-foreground-3);
85
+ }
86
+
87
+ .outline {
88
+ background-color: transparent;
89
+ }
90
+
91
+ .value-visible {
92
+ margin-block-start: 1.5rem;
93
+ }
94
+
95
+ .steps-visible {
96
+ margin-block-end: 1.5rem;
97
+ }
98
+
99
+ .step-line {
100
+ position: absolute;
101
+ inset-block: 0px;
102
+ display: block;
103
+ inline-size: var(--calcite-meter-space-internal);
104
+ background-color: var(--calcite-color-border-3);
105
+ }
106
+
107
+ .label {
108
+ position: absolute;
109
+ font-size: var(--calcite-meter-font-size-internal);
110
+ }
111
+
112
+ .label-hidden {
113
+ visibility: hidden;
114
+ opacity: 0;
115
+ }
116
+
117
+ .label-value {
118
+ inset-block-end: calc(100% + 0.5em);
119
+ font-weight: var(--calcite-font-weight-bold);
120
+ color: var(--calcite-color-text-1);
121
+ }
122
+
123
+ .label-range {
124
+ color: var(--calcite-color-text-3);
125
+ inset-block-start: calc(100% + 0.5em);
126
+ }
127
+
128
+ .unit-label {
129
+ font-weight: var(--calcite-font-weight-medium);
130
+ color: var(--calcite-color-text-3);
131
+ }
132
+
133
+ .label-value .unit-label {
134
+ font-weight: var(--calcite-font-weight-bold);
135
+ color: var(--calcite-color-text-2);
136
+ }
137
+
138
+ .fill {
139
+ position: absolute;
140
+ z-index: var(--calcite-z-index);
141
+ display: block;
142
+ background-color: var(--calcite-color-brand);
143
+ transition-duration: 150ms;
144
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
145
+ inset-inline-start: var(--calcite-meter-space-internal);
146
+ inset-block: var(--calcite-meter-space-internal);
147
+ border-radius: var(--calcite-meter-height-internal);
148
+ max-inline-size: calc(100% - var(--calcite-meter-space-internal) * 2);
149
+ min-inline-size: calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);
150
+ transition-property: inline-size, background-color, box-shadow;
151
+ }
152
+
153
+ .fill-danger {
154
+ background-color: var(--calcite-color-status-danger);
155
+ }
156
+
157
+ .fill-success {
158
+ background-color: var(--calcite-color-status-success);
159
+ }
160
+
161
+ .fill-warning {
162
+ background-color: var(--calcite-color-status-warning);
163
+ }
164
+
165
+ .solid .fill {
166
+ inset-block: 0;
167
+ inset-inline-start: 0;
168
+ max-inline-size: 100%;
169
+ min-inline-size: calc(var(--calcite-meter-height-internal));
170
+ box-shadow: 0 0 0 1px var(--calcite-color-brand);
171
+ }
172
+
173
+ .solid .fill-danger {
174
+ box-shadow: 0 0 0 1px var(--calcite-color-status-danger);
175
+ }
176
+
177
+ .solid .fill-success {
178
+ box-shadow: 0 0 0 1px var(--calcite-color-status-success);
179
+ }
180
+
181
+ .solid .fill-warning {
182
+ box-shadow: 0 0 0 1px var(--calcite-color-status-warning);
183
+ }
@@ -0,0 +1,529 @@
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
+ /**
27
+ * CSS Custom Properties
28
+ *
29
+ * These properties can be overridden using the component's tag as selector.
30
+ *
31
+ * @prop --calcite-modal-content-background: Specifies the background color of content placed in the `content` slot.
32
+ * @prop --calcite-modal-content-padding: Specifies the padding of the modal `content` slot.
33
+ * @prop --calcite-modal-scrim-background: Specifies the background color of the modal scrim.
34
+ * @prop --calcite-modal-width: Specifies a width of the modal, using `px`, `em`, `rem`, `vw`, or `%`. Will never exceed the width of the viewport. Will not apply if `fullscreen` if set.
35
+ * @prop --calcite-modal-height: Specifies a height of the modal, using `px`, `em`, `rem`, `vh`, or `%`. Will never exceed the height of the viewport. Will not apply if `fullscreen` if set.
36
+ *
37
+ */
38
+ :host {
39
+ --calcite-modal-scrim-background: rgba(0, 0, 0, 0.85);
40
+ position: absolute;
41
+ inset: 0px;
42
+ z-index: var(--calcite-z-index-overlay);
43
+ display: flex;
44
+ opacity: 0;
45
+ visibility: hidden !important;
46
+ transition: visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);
47
+ --calcite-modal-scrim-background-internal: rgba(0, 0, 0, 0.85);
48
+ }
49
+
50
+ .content-top[hidden],
51
+ .content-bottom[hidden] {
52
+ display: none;
53
+ }
54
+
55
+ .container {
56
+ position: fixed;
57
+ inset: 0px;
58
+ z-index: var(--calcite-z-index-overlay);
59
+ display: flex;
60
+ align-items: center;
61
+ justify-content: center;
62
+ overflow-y: hidden;
63
+ color: var(--calcite-color-text-2);
64
+ opacity: 0;
65
+ visibility: hidden !important;
66
+ transition: visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);
67
+ }
68
+
69
+ :host([scale=s]) {
70
+ --calcite-modal-padding-internal: 0.75rem;
71
+ --calcite-modal-padding-large-internal: 1rem;
72
+ --calcite-modal-title-text-internal: var(--calcite-font-size-1);
73
+ --calcite-modal-content-text-internal: var(--calcite-font-size--1);
74
+ }
75
+
76
+ :host([scale=m]) {
77
+ --calcite-modal-padding-internal: 1rem;
78
+ --calcite-modal-padding-large-internal: 1.25rem;
79
+ --calcite-modal-title-text-internal: var(--calcite-font-size-2);
80
+ --calcite-modal-content-text-internal: var(--calcite-font-size-0);
81
+ }
82
+
83
+ :host([scale=l]) {
84
+ --calcite-modal-padding-internal: 1.25rem;
85
+ --calcite-modal-padding-large-internal: 1.5rem;
86
+ --calcite-modal-title-text-internal: var(--calcite-font-size-3);
87
+ --calcite-modal-content-text-internal: var(--calcite-font-size-1);
88
+ }
89
+
90
+ .scrim {
91
+ --calcite-scrim-background: var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));
92
+ position: fixed;
93
+ inset: 0px;
94
+ display: flex;
95
+ overflow-y: hidden;
96
+ }
97
+
98
+ .modal {
99
+ pointer-events: none;
100
+ z-index: var(--calcite-z-index-modal);
101
+ float: none;
102
+ margin: 1.5rem;
103
+ box-sizing: border-box;
104
+ display: flex;
105
+ inline-size: 100%;
106
+ flex-direction: column;
107
+ overflow: hidden;
108
+ border-radius: 0.25rem;
109
+ background-color: var(--calcite-color-foreground-1);
110
+ opacity: 0;
111
+ --tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);
112
+ --tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
113
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
114
+ -webkit-overflow-scrolling: touch;
115
+ visibility: hidden;
116
+ transition: transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);
117
+ --calcite-modal-hidden-position: translate3d(0, 20px, 0);
118
+ --calcite-modal-shown-position: translate3d(0, 0, 0);
119
+ }
120
+ .modal--opening-idle {
121
+ transform: var(--calcite-modal-hidden-position);
122
+ }
123
+ .modal--opening-active {
124
+ transform: var(--calcite-modal-shown-position);
125
+ }
126
+ .modal--closing-idle {
127
+ transform: var(--calcite-modal-shown-position);
128
+ }
129
+ .modal--closing-active {
130
+ transform: var(--calcite-modal-hidden-position);
131
+ }
132
+
133
+ :host([opened]) {
134
+ opacity: 1;
135
+ visibility: visible !important;
136
+ transition-delay: 0ms;
137
+ }
138
+
139
+ .container--open {
140
+ opacity: 1;
141
+ visibility: visible !important;
142
+ transition-delay: 0ms;
143
+ }
144
+ .container--open .modal {
145
+ pointer-events: auto;
146
+ visibility: visible;
147
+ opacity: 1;
148
+ transition: transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);
149
+ transition-delay: 0ms;
150
+ }
151
+
152
+ /**
153
+ * Header
154
+ */
155
+ .header {
156
+ z-index: var(--calcite-z-index-header);
157
+ display: flex;
158
+ min-inline-size: 0px;
159
+ max-inline-size: 100%;
160
+ border-start-start-radius: 0.25rem;
161
+ border-start-end-radius: 0.25rem;
162
+ border-width: 0px;
163
+ border-block-end-width: 1px;
164
+ border-style: solid;
165
+ border-color: var(--calcite-color-border-3);
166
+ background-color: var(--calcite-color-foreground-1);
167
+ flex: 0 0 auto;
168
+ }
169
+
170
+ .close {
171
+ order: 2;
172
+ margin: 0px;
173
+ cursor: pointer;
174
+ -webkit-appearance: none;
175
+ -moz-appearance: none;
176
+ appearance: none;
177
+ border-style: none;
178
+ background-color: transparent;
179
+ color: var(--calcite-color-text-3);
180
+ outline-color: transparent;
181
+ transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
182
+ padding-block: var(--calcite-modal-padding-internal);
183
+ padding-inline: var(--calcite-modal-padding-internal);
184
+ flex: 0 0 auto;
185
+ }
186
+ .close calcite-icon {
187
+ pointer-events: none;
188
+ vertical-align: -2px;
189
+ }
190
+ .close:focus {
191
+ outline: 2px solid var(--calcite-color-brand);
192
+ outline-offset: calc(
193
+ -2px *
194
+ calc(
195
+ 1 -
196
+ 2 * clamp(
197
+ 0,
198
+ var(--calcite-offset-invert-focus),
199
+ 1
200
+ )
201
+ )
202
+ );
203
+ }
204
+ .close:hover, .close:focus, .close:active {
205
+ background-color: var(--calcite-color-foreground-2);
206
+ color: var(--calcite-color-text-1);
207
+ }
208
+
209
+ .title {
210
+ order: 1;
211
+ display: flex;
212
+ min-inline-size: 0px;
213
+ align-items: center;
214
+ flex: 1 1 auto;
215
+ padding-block: var(--calcite-modal-padding-internal);
216
+ padding-inline: var(--calcite-modal-padding-large-internal);
217
+ }
218
+
219
+ slot[name=header]::slotted(*),
220
+ *::slotted([slot=header]) {
221
+ margin: 0px;
222
+ font-weight: var(--calcite-font-weight-normal);
223
+ color: var(--calcite-color-text-1);
224
+ font-size: var(--calcite-modal-title-text-internal);
225
+ }
226
+
227
+ /**
228
+ * Content area
229
+ */
230
+ .content {
231
+ position: relative;
232
+ box-sizing: border-box;
233
+ display: block;
234
+ block-size: 100%;
235
+ overflow: auto;
236
+ padding: 0px;
237
+ background-color: var(--calcite-modal-content-background, var(--calcite-color-foreground-1));
238
+ max-block-size: 100%;
239
+ padding: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));
240
+ }
241
+
242
+ .content-top,
243
+ .content-bottom {
244
+ z-index: var(--calcite-z-index-header);
245
+ display: flex;
246
+ border-width: 0px;
247
+ border-style: solid;
248
+ border-color: var(--calcite-color-border-3);
249
+ background-color: var(--calcite-color-foreground-1);
250
+ flex: 0 0 auto;
251
+ padding: var(--calcite-modal-padding-internal);
252
+ }
253
+
254
+ .content-top {
255
+ min-inline-size: 0px;
256
+ max-inline-size: 100%;
257
+ border-block-end-width: 1px;
258
+ }
259
+
260
+ .content-bottom {
261
+ margin-block-start: auto;
262
+ box-sizing: border-box;
263
+ inline-size: 100%;
264
+ justify-content: space-between;
265
+ border-block-start-width: 1px;
266
+ }
267
+
268
+ .content-top:not(.header ~ .content-top) {
269
+ border-start-start-radius: 0.25rem;
270
+ border-start-end-radius: 0.25rem;
271
+ }
272
+
273
+ .content-bottom:not(.content-bottom ~ .footer),
274
+ .content--no-footer {
275
+ border-end-end-radius: 0.25rem;
276
+ border-end-start-radius: 0.25rem;
277
+ }
278
+
279
+ slot[name=content]::slotted(*),
280
+ *::slotted([slot=content]) {
281
+ font-size: var(--calcite-modal-context-text-internal);
282
+ }
283
+
284
+ /**
285
+ * Footer
286
+ */
287
+ .footer {
288
+ z-index: var(--calcite-z-index-header);
289
+ margin-block-start: auto;
290
+ box-sizing: border-box;
291
+ display: flex;
292
+ inline-size: 100%;
293
+ justify-content: space-between;
294
+ border-end-end-radius: 0.25rem;
295
+ border-end-start-radius: 0.25rem;
296
+ border-width: 0px;
297
+ border-block-start-width: 1px;
298
+ border-style: solid;
299
+ border-color: var(--calcite-color-border-3);
300
+ background-color: var(--calcite-color-foreground-1);
301
+ flex: 0 0 auto;
302
+ padding-block: var(--calcite-modal-padding-internal);
303
+ padding-inline: var(--calcite-modal-padding-large-internal);
304
+ }
305
+
306
+ .footer--hide-back .back,
307
+ .footer--hide-secondary .secondary {
308
+ display: none;
309
+ }
310
+
311
+ .back {
312
+ display: block;
313
+ margin-inline-end: auto;
314
+ }
315
+
316
+ .secondary {
317
+ margin-inline: 0.25rem;
318
+ display: block;
319
+ }
320
+
321
+ slot[name=primary] {
322
+ display: block;
323
+ }
324
+
325
+ /**
326
+ * Sizes
327
+ */
328
+ :host([width=small]) .modal {
329
+ inline-size: auto;
330
+ }
331
+
332
+ :host([width-scale=s]) .modal {
333
+ max-block-size: 100%;
334
+ max-inline-size: 100%;
335
+ inline-size: var(--calcite-modal-width, 32rem);
336
+ block-size: var(--calcite-modal-height, auto);
337
+ }
338
+
339
+ @media screen and (max-width: 35rem) {
340
+ :host([width-scale=s]) .modal {
341
+ margin: 0px;
342
+ block-size: 100%;
343
+ max-block-size: 100%;
344
+ inline-size: 100%;
345
+ max-inline-size: 100%;
346
+ }
347
+ :host([width-scale=s]) .content {
348
+ flex: 1 1 auto;
349
+ max-block-size: unset;
350
+ }
351
+ :host([width-scale=s][docked]) .container {
352
+ align-items: flex-end;
353
+ }
354
+ }
355
+ :host([width-scale=m]) .modal {
356
+ max-block-size: 100%;
357
+ max-inline-size: 100%;
358
+ inline-size: var(--calcite-modal-width, 48rem);
359
+ block-size: var(--calcite-modal-height, auto);
360
+ }
361
+
362
+ @media screen and (max-width: 51rem) {
363
+ :host([width-scale=m]) .modal {
364
+ margin: 0px;
365
+ block-size: 100%;
366
+ max-block-size: 100%;
367
+ inline-size: 100%;
368
+ max-inline-size: 100%;
369
+ }
370
+ :host([width-scale=m]) .content {
371
+ flex: 1 1 auto;
372
+ max-block-size: unset;
373
+ }
374
+ :host([width-scale=m][docked]) .container {
375
+ align-items: flex-end;
376
+ }
377
+ }
378
+ :host([width-scale=l]) .modal {
379
+ max-block-size: 100%;
380
+ max-inline-size: 100%;
381
+ inline-size: var(--calcite-modal-width, 94rem);
382
+ block-size: var(--calcite-modal-height, auto);
383
+ }
384
+
385
+ @media screen and (max-width: 97rem) {
386
+ :host([width-scale=l]) .modal {
387
+ margin: 0px;
388
+ block-size: 100%;
389
+ max-block-size: 100%;
390
+ inline-size: 100%;
391
+ max-inline-size: 100%;
392
+ }
393
+ :host([width-scale=l]) .content {
394
+ flex: 1 1 auto;
395
+ max-block-size: unset;
396
+ }
397
+ :host([width-scale=l][docked]) .container {
398
+ align-items: flex-end;
399
+ }
400
+ }
401
+ /**
402
+ * Fullscreen
403
+ */
404
+ :host([fullscreen]) .modal {
405
+ margin: 0px;
406
+ block-size: 100%;
407
+ max-block-size: 100%;
408
+ inline-size: 100%;
409
+ max-inline-size: 100%;
410
+ border-radius: 0px;
411
+ --calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(0.95);
412
+ --calcite-modal-shown-position: translate3D(0, 0, 0) scale(1);
413
+ }
414
+ :host([fullscreen]) .content {
415
+ max-block-size: 100%;
416
+ flex: 1 1 auto;
417
+ }
418
+
419
+ :host([opened][fullscreen]) .header,
420
+ :host([opened][fullscreen]) .footer,
421
+ :host([opened][fullscreen]) .content-top,
422
+ :host([opened][fullscreen]) .content-bottom {
423
+ border-radius: 0;
424
+ }
425
+
426
+ /**
427
+ * Docked
428
+ */
429
+ :host([docked]) .modal {
430
+ block-size: var(--calcite-modal-height, auto);
431
+ }
432
+ :host([docked]) .content {
433
+ block-size: auto;
434
+ flex: 1 1 auto;
435
+ }
436
+
437
+ /**
438
+ * Kinds
439
+ */
440
+ :host([kind=brand]) .modal {
441
+ border-color: var(--calcite-color-brand);
442
+ }
443
+
444
+ :host([kind=danger]) .modal {
445
+ border-color: var(--calcite-color-status-danger);
446
+ }
447
+
448
+ :host([kind=info]) .modal {
449
+ border-color: var(--calcite-color-status-info);
450
+ }
451
+
452
+ :host([kind=success]) .modal {
453
+ border-color: var(--calcite-color-status-success);
454
+ }
455
+
456
+ :host([kind=warning]) .modal {
457
+ border-color: var(--calcite-color-status-warning);
458
+ }
459
+
460
+ :host([kind=brand]) .modal,
461
+ :host([kind=danger]) .modal,
462
+ :host([kind=info]) .modal,
463
+ :host([kind=success]) .modal,
464
+ :host([kind=warning]) .modal {
465
+ border-width: 0px;
466
+ border-block-start-width: 4px;
467
+ border-style: solid;
468
+ }
469
+ :host([kind=brand]) .header,
470
+ :host([kind=brand]) .content-top,
471
+ :host([kind=danger]) .header,
472
+ :host([kind=danger]) .content-top,
473
+ :host([kind=info]) .header,
474
+ :host([kind=info]) .content-top,
475
+ :host([kind=success]) .header,
476
+ :host([kind=success]) .content-top,
477
+ :host([kind=warning]) .header,
478
+ :host([kind=warning]) .content-top {
479
+ border-radius: 0.25rem;
480
+ border-end-end-radius: 0px;
481
+ border-end-start-radius: 0px;
482
+ }
483
+
484
+ /**
485
+ * Tablet
486
+ */
487
+ @media screen and (max-width: 860px) {
488
+ * slot[name=header]::slotted(content-top),
489
+ * content-top::slotted([slot=header]) {
490
+ font-size: var(--calcite-font-size-1);
491
+ }
492
+ .footer,
493
+ .content-bottom {
494
+ position: sticky;
495
+ inset-block-end: 0px;
496
+ }
497
+ }
498
+ /**
499
+ * Mobile
500
+ */
501
+ @media screen and (max-width: 480px) {
502
+ .footer,
503
+ .content-bottom {
504
+ flex-direction: column;
505
+ }
506
+ .back,
507
+ .secondary {
508
+ margin: 0px;
509
+ margin-block-end: 0.25rem;
510
+ }
511
+ }
512
+ /**
513
+ * Conditional styles for when Modal is slotted in Shell
514
+ */
515
+ .container.slotted-in-shell {
516
+ position: absolute;
517
+ pointer-events: auto;
518
+ }
519
+ .container.slotted-in-shell calcite-scrim {
520
+ position: absolute;
521
+ }
522
+
523
+ :host([hidden]) {
524
+ display: none;
525
+ }
526
+
527
+ [hidden] {
528
+ display: none;
529
+ }