@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
package/CHANGELOG.md CHANGED
@@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.7.12-alpha2] - Dec 18th 2023
10
+
9
11
  ## [0.7.12-alpha] - Dec 18th 2023
10
12
 
11
13
  ## [0.7.11] - Dec 13th 2023
@@ -362,4 +364,5 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
362
364
  [0.7.10]: https://github.com/Esri/solution.js/compare/v0.7.9...v0.7.10 "v0.7.10"
363
365
  [0.7.11]: https://github.com/Esri/solution.js/compare/v0.7.10...v0.7.11 "v0.7.11"
364
366
  [0.7.12-alpha]: https://github.com/Esri/solution.js/compare/v0.7.11...v0.7.12-alpha "v0.7.12-alpha"
365
- [Unreleased]: https://github.com/Esri/solution.js/compare/v0.7.12-alpha...HEAD "Unreleased Changes"
367
+ [0.7.12-alpha2]: https://github.com/Esri/solution.js/compare/v0.7.12-alpha...v0.7.12-alpha2 "v0.7.12-alpha2"
368
+ [Unreleased]: https://github.com/Esri/solution.js/compare/v0.7.12-alpha2...HEAD "Unreleased Changes"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "0.7.12-alpha",
3
+ "version": "0.7.12-alpha2",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "workspaces": [
6
6
  "packages/*"
@@ -91,6 +91,7 @@
91
91
  "stylelint-use-logical-spec": "5.0.0",
92
92
  "tailwindcss": "3.3.6",
93
93
  "ts-jest": "29.1.1",
94
+ "ts-node": "^10.9.2",
94
95
  "tsx": "4.1.2",
95
96
  "turbo": "^1.11.2",
96
97
  "type-fest": "3.11.1",
@@ -0,0 +1,77 @@
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([scale=s]) {
27
+ --calcite-accordion-item-spacing-unit: 0.25rem;
28
+ --calcite-accordion-icon-margin: 0.5rem;
29
+ --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0.5rem;
30
+ font-size: var(--calcite-font-size--2);
31
+ line-height: 1rem;
32
+ }
33
+
34
+ :host([scale=m]) {
35
+ --calcite-accordion-item-spacing-unit: 0.5rem;
36
+ --calcite-accordion-icon-margin: 0.75rem;
37
+ --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0.75rem;
38
+ font-size: var(--calcite-font-size--1);
39
+ line-height: 1rem;
40
+ }
41
+
42
+ :host([scale=l]) {
43
+ --calcite-accordion-item-spacing-unit: 0.75rem;
44
+ --calcite-accordion-icon-margin: 1rem;
45
+ --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 1rem;
46
+ font-size: var(--calcite-font-size-0);
47
+ line-height: 1.25rem;
48
+ }
49
+
50
+ :host {
51
+ position: relative;
52
+ display: block;
53
+ max-inline-size: 100%;
54
+ line-height: 1.5rem;
55
+ --calcite-accordion-item-border: var(--calcite-color-border-2);
56
+ --calcite-accordion-item-background: var(--calcite-color-foreground-1);
57
+ }
58
+
59
+ .accordion--transparent {
60
+ --calcite-accordion-item-border: transparent;
61
+ --calcite-accordion-item-background: transparent;
62
+ }
63
+
64
+ .accordion {
65
+ border-width: 1px;
66
+ border-block-end-width: 0px;
67
+ border-style: solid;
68
+ border-color: var(--calcite-color-border-2);
69
+ }
70
+
71
+ :host([hidden]) {
72
+ display: none;
73
+ }
74
+
75
+ [hidden] {
76
+ display: none;
77
+ }
@@ -0,0 +1,263 @@
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
+ .icon-position--end, .icon-position--start {
27
+ /* icon rotation variables */
28
+ --calcite-accordion-item-icon-rotation: calc(90deg * -1);
29
+ --calcite-accordion-item-active-icon-rotation: 0deg;
30
+ --calcite-accordion-item-icon-rotation-rtl: 90deg;
31
+ --calcite-accordion-item-active-icon-rotation-rtl: 0deg;
32
+ }
33
+
34
+ .icon-position--start {
35
+ --calcite-accordion-item-flex-direction: row-reverse;
36
+ --calcite-accordion-item-icon-spacing-start: 0;
37
+ --calcite-accordion-item-icon-spacing-end: var(--calcite-accordion-icon-margin);
38
+ }
39
+
40
+ .icon-position--end {
41
+ --calcite-accordion-item-flex-direction: row;
42
+ --calcite-accordion-item-icon-spacing-start: var(--calcite-accordion-icon-margin);
43
+ --calcite-accordion-item-icon-spacing-end: 0;
44
+ }
45
+
46
+ .icon-position--end:not(.icon-type--plus-minus) {
47
+ --calcite-accordion-item-icon-rotation: 0deg;
48
+ --calcite-accordion-item-active-icon-rotation: 180deg;
49
+ --calcite-accordion-item-icon-rotation-rtl: 0deg;
50
+ --calcite-accordion-item-active-icon-rotation-rtl: calc(180deg * -1);
51
+ }
52
+
53
+ :host {
54
+ position: relative;
55
+ display: flex;
56
+ flex-direction: column;
57
+ color: var(--calcite-color-text-3);
58
+ text-decoration-line: none;
59
+ background-color: var(--calcite-accordion-item-background, var(--calcite-color-foreground-1));
60
+ }
61
+
62
+ :host .header-content {
63
+ outline-color: transparent;
64
+ }
65
+
66
+ :host(:focus) .header-content {
67
+ outline: 2px solid transparent;
68
+ outline-offset: 2px;
69
+ outline: 2px solid var(--calcite-color-brand);
70
+ outline-offset: calc(
71
+ -2px *
72
+ calc(
73
+ 1 -
74
+ 2 * clamp(
75
+ 0,
76
+ var(--calcite-offset-invert-focus),
77
+ 1
78
+ )
79
+ )
80
+ );
81
+ }
82
+
83
+ :host([expanded]) {
84
+ color: var(--calcite-color-text-1);
85
+ }
86
+ :host([expanded]) .content {
87
+ display: block;
88
+ color: var(--calcite-color-text-1);
89
+ }
90
+ :host([expanded]) .header {
91
+ border-block-end-color: transparent;
92
+ }
93
+
94
+ :host .header {
95
+ display: flex;
96
+ align-items: stretch;
97
+ }
98
+
99
+ :host .icon {
100
+ position: relative;
101
+ margin: 0px;
102
+ display: inline-flex;
103
+ color: var(--calcite-color-text-3);
104
+ transition-duration: 150ms;
105
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
106
+ margin-inline-end: var(--calcite-accordion-item-icon-spacing-start);
107
+ margin-inline-start: var(--calcite-accordion-item-icon-spacing-end);
108
+ }
109
+
110
+ .icon--start {
111
+ display: flex;
112
+ align-items: center;
113
+ margin-inline-end: var(--calcite-accordion-icon-margin);
114
+ }
115
+
116
+ .icon--end {
117
+ display: flex;
118
+ align-items: center;
119
+ margin-inline-end: var(--calcite-accordion-icon-margin);
120
+ margin-inline-start: var(--calcite-accordion-icon-margin);
121
+ }
122
+
123
+ .header-container {
124
+ inline-size: 100%;
125
+ }
126
+
127
+ .content {
128
+ padding: var(--calcite-accordion-item-padding);
129
+ }
130
+
131
+ :host .content,
132
+ :host .header {
133
+ border-block-end: 1px solid var(--calcite-accordion-item-border, var(--calcite-color-border-2));
134
+ }
135
+
136
+ :host .header * {
137
+ display: inline-flex;
138
+ align-items: center;
139
+ transition-duration: 150ms;
140
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
141
+ word-wrap: break-word;
142
+ word-break: break-word;
143
+ }
144
+
145
+ :host .content {
146
+ display: none;
147
+ padding-block-start: 0px;
148
+ color: var(--calcite-color-text-3);
149
+ text-align: initial;
150
+ }
151
+
152
+ :host .expand-icon {
153
+ color: var(--calcite-color-text-3);
154
+ margin-inline-start: var(--calcite-accordion-item-icon-spacing-start);
155
+ margin-inline-end: var(--calcite-accordion-item-icon-spacing-end);
156
+ transform: rotate(var(--calcite-accordion-item-icon-rotation));
157
+ }
158
+
159
+ .calcite--rtl .expand-icon {
160
+ transform: rotate(var(--calcite-accordion-item-icon-rotation-rtl));
161
+ }
162
+
163
+ :host([expanded]) .expand-icon {
164
+ color: var(--calcite-color-text-3);
165
+ transform: rotate(var(--calcite-accordion-item-active-icon-rotation));
166
+ }
167
+
168
+ :host([expanded]) .calcite--rtl .expand-icon {
169
+ transform: rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));
170
+ }
171
+
172
+ :host .header-text {
173
+ margin-block: 0px;
174
+ flex-grow: 1;
175
+ flex-direction: column;
176
+ padding-block: 0px;
177
+ text-align: initial;
178
+ margin-inline-end: auto;
179
+ }
180
+
181
+ :host .heading,
182
+ :host .description {
183
+ display: flex;
184
+ inline-size: 100%;
185
+ }
186
+
187
+ :host .heading {
188
+ font-weight: var(--calcite-font-weight-medium);
189
+ color: var(--calcite-color-text-2);
190
+ }
191
+
192
+ :host .description {
193
+ margin-block-start: 0.25rem;
194
+ color: var(--calcite-color-text-3);
195
+ }
196
+
197
+ :host(:focus) .heading,
198
+ :host(:hover) .heading {
199
+ color: var(--calcite-color-text-1);
200
+ }
201
+ :host(:focus) .icon,
202
+ :host(:hover) .icon {
203
+ color: var(--calcite-color-text-1);
204
+ }
205
+ :host(:focus) .expand-icon,
206
+ :host(:hover) .expand-icon {
207
+ color: var(--calcite-color-text-1);
208
+ }
209
+ :host(:focus) .description,
210
+ :host(:hover) .description {
211
+ color: var(--calcite-color-text-2);
212
+ }
213
+
214
+ :host(:focus) .heading,
215
+ :host(:active) .heading,
216
+ :host([expanded]) .heading {
217
+ color: var(--calcite-color-text-1);
218
+ }
219
+ :host(:focus) .icon,
220
+ :host(:active) .icon,
221
+ :host([expanded]) .icon {
222
+ color: var(--calcite-color-text-1);
223
+ }
224
+ :host(:focus) .description,
225
+ :host(:active) .description,
226
+ :host([expanded]) .description {
227
+ color: var(--calcite-color-text-2);
228
+ }
229
+
230
+ .header-content {
231
+ flex-grow: 1;
232
+ cursor: pointer;
233
+ padding: var(--calcite-accordion-item-padding);
234
+ flex-direction: var(--calcite-accordion-item-flex-direction);
235
+ }
236
+
237
+ .actions-start,
238
+ .actions-end {
239
+ display: flex;
240
+ align-items: center;
241
+ }
242
+
243
+ @media (forced-colors: active) {
244
+ :host([expanded]) .header {
245
+ border-block-end: none;
246
+ }
247
+ :host([expanded]) .heading {
248
+ /** give visual indicator of expanded state since subtle color changes can't be done **/
249
+ font-weight: bolder;
250
+ }
251
+ :host(:hover) .heading,
252
+ :host(:focus) .heading {
253
+ /** give visual indicator of expandability/click-ability since subtle color changes can't be done **/
254
+ text-decoration: underline;
255
+ }
256
+ }
257
+ :host([hidden]) {
258
+ display: none;
259
+ }
260
+
261
+ [hidden] {
262
+ display: none;
263
+ }
@@ -0,0 +1,338 @@
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
+ /* Base ":host" styles for the component */
28
+ box-sizing: border-box;
29
+ background-color: var(--calcite-color-foreground-1);
30
+ color: var(--calcite-color-text-2);
31
+ font-size: var(--calcite-font-size--1);
32
+ }
33
+ :host * {
34
+ box-sizing: border-box;
35
+ }
36
+
37
+ :host([disabled]) {
38
+ cursor: default;
39
+ -webkit-user-select: none;
40
+ -moz-user-select: none;
41
+ user-select: none;
42
+ opacity: var(--calcite-opacity-disabled);
43
+ }
44
+
45
+ :host([disabled]) *,
46
+ :host([disabled]) ::slotted(*) {
47
+ pointer-events: none;
48
+ }
49
+
50
+ /**
51
+ * CSS Custom Properties
52
+ *
53
+ * These properties can be overridden using the component's tag as selector.
54
+ *
55
+ * @prop --calcite-action-indicator-color: Specifies the color of the component's indicator.
56
+ */
57
+ :host {
58
+ display: flex;
59
+ background-color: transparent;
60
+ --calcite-action-indicator-color: var(--calcite-color-brand);
61
+ }
62
+
63
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
64
+ :host([disabled]) [calcite-hydrated][disabled] {
65
+ /* prevent opacity stacking */
66
+ opacity: 1;
67
+ }
68
+
69
+ .button {
70
+ position: relative;
71
+ margin: 0px;
72
+ display: flex;
73
+ inline-size: auto;
74
+ cursor: pointer;
75
+ align-items: center;
76
+ justify-content: flex-start;
77
+ border-style: none;
78
+ background-color: var(--calcite-color-foreground-1);
79
+ fill: var(--calcite-color-text-3);
80
+ font-family: var(--calcite-sans-family);
81
+ font-size: var(--calcite-font-size--2);
82
+ line-height: 1rem;
83
+ font-weight: var(--calcite-font-weight-medium);
84
+ color: var(--calcite-color-text-3);
85
+ outline-color: transparent;
86
+ text-align: unset;
87
+ flex: 1 0 auto;
88
+ }
89
+ .button:hover {
90
+ background-color: var(--calcite-color-foreground-2);
91
+ fill: var(--calcite-color-text-1);
92
+ color: var(--calcite-color-text-1);
93
+ }
94
+ .button:focus {
95
+ background-color: var(--calcite-color-foreground-2);
96
+ fill: var(--calcite-color-text-1);
97
+ color: var(--calcite-color-text-1);
98
+ outline: 2px solid var(--calcite-color-brand);
99
+ outline-offset: calc(
100
+ -2px *
101
+ calc(
102
+ 1 -
103
+ 2 * clamp(
104
+ 0,
105
+ var(--calcite-offset-invert-focus),
106
+ 1
107
+ )
108
+ )
109
+ );
110
+ }
111
+ .button:active {
112
+ background-color: var(--calcite-color-foreground-3);
113
+ }
114
+ .button .icon-container {
115
+ pointer-events: none;
116
+ margin: 0px;
117
+ display: flex;
118
+ align-items: center;
119
+ justify-content: center;
120
+ min-inline-size: 1rem;
121
+ min-block-size: 1rem;
122
+ }
123
+ .button .text-container {
124
+ margin: 0px;
125
+ inline-size: 0px;
126
+ overflow: hidden;
127
+ text-overflow: ellipsis;
128
+ white-space: nowrap;
129
+ line-height: 1.5rem;
130
+ opacity: 0;
131
+ transition-property: opacity;
132
+ transition-duration: 150ms;
133
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
134
+ transition-property: margin;
135
+ transition-property: inline-size;
136
+ }
137
+ .button .text-container--visible {
138
+ inline-size: auto;
139
+ flex: 1 1 auto;
140
+ opacity: 1;
141
+ }
142
+
143
+ :host([data-active]) .button {
144
+ outline: 2px solid var(--calcite-color-brand);
145
+ outline-offset: calc(
146
+ -2px *
147
+ calc(
148
+ 1 -
149
+ 2 * clamp(
150
+ 0,
151
+ var(--calcite-offset-invert-focus),
152
+ 1
153
+ )
154
+ )
155
+ );
156
+ }
157
+
158
+ :host([scale=s]) .button {
159
+ padding-inline: 0.5rem;
160
+ padding-block: 0.25rem;
161
+ font-size: var(--calcite-font-size--2);
162
+ line-height: 1rem;
163
+ font-weight: var(--calcite-font-weight-normal);
164
+ }
165
+ :host([scale=s]) .button--text-visible .icon-container {
166
+ margin-inline-end: 0.5rem;
167
+ }
168
+
169
+ :host([scale=m]) .button {
170
+ padding-inline: 1rem;
171
+ padding-block: 0.75rem;
172
+ font-size: var(--calcite-font-size--1);
173
+ line-height: 1rem;
174
+ font-weight: var(--calcite-font-weight-normal);
175
+ }
176
+ :host([scale=m]) .button--text-visible .icon-container {
177
+ margin-inline-end: 0.75rem;
178
+ }
179
+
180
+ :host([scale=l]) .button {
181
+ padding: 1.25rem;
182
+ font-size: var(--calcite-font-size-0);
183
+ line-height: 1.25rem;
184
+ font-weight: var(--calcite-font-weight-normal);
185
+ }
186
+ :host([scale=l]) .button--text-visible .icon-container {
187
+ margin-inline-end: 1rem;
188
+ }
189
+
190
+ :host([alignment=center]) .button {
191
+ justify-content: center;
192
+ }
193
+
194
+ :host([alignment=end]) .button {
195
+ justify-content: flex-end;
196
+ }
197
+
198
+ :host([alignment=center]) .button .text-container--visible,
199
+ :host([alignment=end]) .button .text-container--visible {
200
+ flex: 0 1 auto;
201
+ }
202
+
203
+ :host([scale=s][compact]) .button,
204
+ :host([scale=m][compact]) .button,
205
+ :host([scale=l][compact]) .button {
206
+ padding-inline: 0px;
207
+ }
208
+
209
+ .slot-container {
210
+ display: flex;
211
+ }
212
+
213
+ .slot-container--hidden {
214
+ display: none;
215
+ }
216
+
217
+ .button--text-visible {
218
+ inline-size: 100%;
219
+ }
220
+
221
+ :host([active]) .button,
222
+ :host([active]) .button:hover,
223
+ :host([active]) .button:focus,
224
+ :host([active][loading]) .button {
225
+ background-color: var(--calcite-color-foreground-3);
226
+ fill: var(--calcite-color-text-1);
227
+ color: var(--calcite-color-text-1);
228
+ }
229
+
230
+ :host([active]) .button:active {
231
+ background-color: var(--calcite-color-foreground-1);
232
+ }
233
+
234
+ :host([appearance=transparent]) .button {
235
+ background-color: transparent;
236
+ }
237
+
238
+ :host([appearance=transparent][active]) .button,
239
+ :host([appearance=transparent]) .button:hover,
240
+ :host([appearance=transparent]) .button:focus {
241
+ background-color: var(--calcite-button-transparent-hover);
242
+ }
243
+
244
+ :host([appearance=transparent]) .button:active {
245
+ background-color: var(--calcite-button-transparent-press);
246
+ }
247
+
248
+ :host([appearance=transparent][disabled]) .button {
249
+ background-color: transparent;
250
+ }
251
+
252
+ :host([loading][appearance=solid]) .button,
253
+ :host([loading][appearance=solid]) .button:hover,
254
+ :host([loading][appearance=solid]) .button:focus {
255
+ background-color: var(--calcite-color-foreground-1);
256
+ }
257
+ :host([loading][appearance=solid]) .button .text-container,
258
+ :host([loading][appearance=solid]) .button:hover .text-container,
259
+ :host([loading][appearance=solid]) .button:focus .text-container {
260
+ opacity: var(--calcite-opacity-disabled);
261
+ }
262
+
263
+ :host([loading]) calcite-loader[inline] {
264
+ color: var(--calcite-color-text-3);
265
+ margin-inline-end: 0px;
266
+ }
267
+
268
+ :host([disabled]) .button,
269
+ :host([disabled]) .button:hover,
270
+ :host([disabled]) .button:focus {
271
+ cursor: default;
272
+ background-color: var(--calcite-color-foreground-1);
273
+ opacity: var(--calcite-opacity-disabled);
274
+ }
275
+
276
+ :host([disabled][active]) .button,
277
+ :host([disabled][active]) .button:hover,
278
+ :host([disabled][active]) .button:focus {
279
+ background-color: var(--calcite-color-foreground-3);
280
+ opacity: var(--calcite-opacity-disabled);
281
+ }
282
+
283
+ :host([appearance=transparent]) .button {
284
+ background-color: transparent;
285
+ transition-property: box-shadow;
286
+ transition-duration: 150ms;
287
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
288
+ }
289
+
290
+ .indicator-with-icon {
291
+ position: relative;
292
+ }
293
+ .indicator-with-icon::after {
294
+ content: "";
295
+ position: absolute;
296
+ block-size: 0.5rem;
297
+ inline-size: 0.5rem;
298
+ border-radius: 9999px;
299
+ inset-block-end: -0.275rem;
300
+ inset-inline-end: -0.275rem;
301
+ background-color: var(--calcite-action-indicator-color);
302
+ }
303
+
304
+ .indicator-without-icon {
305
+ margin-inline: 0.25rem;
306
+ inline-size: 1rem;
307
+ position: relative;
308
+ }
309
+ .indicator-without-icon::after {
310
+ content: "";
311
+ position: absolute;
312
+ block-size: 0.5rem;
313
+ inline-size: 0.5rem;
314
+ border-radius: 9999px;
315
+ inset-block-end: -0.275rem;
316
+ inset-inline-end: -0.275rem;
317
+ background-color: var(--calcite-action-indicator-color);
318
+ }
319
+
320
+ .indicator-text {
321
+ position: absolute;
322
+ inline-size: 1px;
323
+ block-size: 1px;
324
+ padding: 0;
325
+ margin: -1px;
326
+ overflow: hidden;
327
+ clip: rect(0, 0, 0, 0);
328
+ white-space: nowrap;
329
+ border-width: 0;
330
+ }
331
+
332
+ :host([hidden]) {
333
+ display: none;
334
+ }
335
+
336
+ [hidden] {
337
+ display: none;
338
+ }