@esri/solutions-components 0.7.12-alpha → 0.7.13
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -1
- package/guides/Publishing to npmjs.md +3 -10
- package/lerna.json +6 -0
- package/package.json +5 -3
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +263 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +802 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +209 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +278 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +457 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +348 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +170 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +315 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- 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
- 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
- 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
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- 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
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/packages/solutions-components/dist/solutions-components_commit.txt +4 -4
- package/packages/solutions-components/package.json +108 -108
- package/packages/solutions-components/src/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/support/publish.sh +49 -0
- package/t9nmanifest.txt +6 -6
- package/support/releaseToGitHub.ts +0 -29
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
|
-
[
|
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"
|
@@ -3,16 +3,9 @@
|
|
3
3
|
#### Checklist
|
4
4
|
|
5
5
|
* \[ \] Stop automatic recompilation software
|
6
|
-
* \[ \]
|
7
|
-
* \[ \]
|
8
|
-
* \[ \]
|
9
|
-
* \[ \] Run `npm install` to update package-lock.json
|
10
|
-
* \[ \] Edit CHANGELOG.md
|
11
|
-
* \[ \] Add the version and date after the "## [Unreleased]" line, e.g., `## [0.1.6] - November 2nd 2022`
|
12
|
-
* \[ \] Define the version's symbol (e.g., "0.1.6") mapping from the previous version to the new version, e.g., `[0.1.6]: https://github.com/Esri/solution.js/compare/v0.1.5...v0.1.6 "v0.1.6"`
|
13
|
-
* \[ \] Update the "Unreleased" symbol to map from the new version to the "HEAD", e.g., `[Unreleased]: https://github.com/Esri/solution.js/compare/v0.1.6...HEAD "Unreleased Changes"`
|
14
|
-
* \[ \] Commit everything and push `master` to GitHub
|
15
|
-
* \[ \] Run `npm run release:publish`, supplying the npm OTP (one-time passcode from Okta Verify or similar) when prompted
|
6
|
+
* \[ \] Run `npm run publish`
|
7
|
+
* \[ \] Select or enter the new version number (long delay afterwards)
|
8
|
+
* \[ \] Press ENTER to open the npm 2-factor prompt in a browser and enter the one-time password
|
16
9
|
|
17
10
|
---
|
18
11
|
|
package/lerna.json
ADDED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@esri/solutions-components",
|
3
|
-
"version": "0.7.
|
3
|
+
"version": "0.7.13",
|
4
4
|
"description": "Web Components for Esri's Solutions Applications",
|
5
5
|
"workspaces": [
|
6
6
|
"packages/*"
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"clean": "turbo run clean && rimraf node_modules",
|
11
11
|
"lint": "turbo run lint",
|
12
12
|
"test": "turbo run test",
|
13
|
-
"
|
13
|
+
"publish": "lerna publish --no-git-tag-version --no-push --skip-npm --yes && npm publish --access public && bash ./support/publish.sh",
|
14
14
|
"update-browserslist": "npx browserslist@latest --update-db"
|
15
15
|
},
|
16
16
|
"devDependencies": {
|
@@ -64,14 +64,16 @@
|
|
64
64
|
"eslint-plugin-prettier": "4.2.1",
|
65
65
|
"eslint-plugin-react": "7.33.2",
|
66
66
|
"eslint-plugin-unicorn": "46.0.1",
|
67
|
+
"gh-release": "^7.0.2",
|
67
68
|
"globby": "14.0.0",
|
68
69
|
"husky": "8.0.3",
|
69
70
|
"jest": "29.7.0",
|
70
71
|
"jest-axe": "8.0.0",
|
71
72
|
"jest-cli": "29.7.0",
|
72
|
-
"lerna": "7.1.5",
|
73
|
+
"lerna": "^7.1.5",
|
73
74
|
"lint-staged": "13.2.3",
|
74
75
|
"markdownlint-cli": "0.34.0",
|
76
|
+
"pify": "^6.1.0",
|
75
77
|
"postcss": "8.4.32",
|
76
78
|
"prettier": "2.8.8",
|
77
79
|
"puppeteer": "21.5.0",
|
@@ -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
|
+
}
|