@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
@@ -0,0 +1,72 @@
|
|
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 {
|
38
|
+
display: inline-block;
|
39
|
+
inline-size: auto;
|
40
|
+
overflow: visible;
|
41
|
+
border-radius: 0px;
|
42
|
+
border-width: 1px;
|
43
|
+
border-style: solid;
|
44
|
+
border-color: var(--calcite-color-border-1);
|
45
|
+
vertical-align: top;
|
46
|
+
}
|
47
|
+
|
48
|
+
:host([scale=s]) {
|
49
|
+
inline-size: 234px;
|
50
|
+
min-inline-size: 216px;
|
51
|
+
max-inline-size: 380px;
|
52
|
+
}
|
53
|
+
|
54
|
+
:host([scale=m]) {
|
55
|
+
inline-size: 304px;
|
56
|
+
min-inline-size: 272px;
|
57
|
+
max-inline-size: 480px;
|
58
|
+
}
|
59
|
+
|
60
|
+
:host([scale=l]) {
|
61
|
+
inline-size: 370px;
|
62
|
+
min-inline-size: 320px;
|
63
|
+
max-inline-size: 600px;
|
64
|
+
}
|
65
|
+
|
66
|
+
:host([hidden]) {
|
67
|
+
display: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
[hidden] {
|
71
|
+
display: none;
|
72
|
+
}
|
@@ -0,0 +1,290 @@
|
|
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 {
|
40
|
+
position: relative;
|
41
|
+
display: flex;
|
42
|
+
cursor: pointer;
|
43
|
+
color: var(--calcite-color-text-3);
|
44
|
+
}
|
45
|
+
|
46
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
47
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
48
|
+
/* prevent opacity stacking */
|
49
|
+
opacity: 1;
|
50
|
+
}
|
51
|
+
|
52
|
+
.day-v-wrapper {
|
53
|
+
flex: 1 1 auto;
|
54
|
+
}
|
55
|
+
|
56
|
+
.day-wrapper {
|
57
|
+
position: relative;
|
58
|
+
display: flex;
|
59
|
+
flex-direction: column;
|
60
|
+
align-items: center;
|
61
|
+
}
|
62
|
+
|
63
|
+
:host([range]) .day-wrapper:before, :host([range]) .day-wrapper:after,
|
64
|
+
:host([range-hover]) .day-wrapper:before,
|
65
|
+
:host([range-hover]) .day-wrapper:after {
|
66
|
+
pointer-events: none;
|
67
|
+
position: absolute;
|
68
|
+
inset-block: 0;
|
69
|
+
content: "";
|
70
|
+
block-size: var(--calcite-internal-day-size);
|
71
|
+
inline-size: var(--calcite-internal-day-size);
|
72
|
+
}
|
73
|
+
|
74
|
+
.day {
|
75
|
+
z-index: var(--calcite-z-index);
|
76
|
+
display: flex;
|
77
|
+
align-items: center;
|
78
|
+
justify-content: center;
|
79
|
+
border-radius: 9999px;
|
80
|
+
font-size: var(--calcite-font-size--2);
|
81
|
+
line-height: 1rem;
|
82
|
+
line-height: 1;
|
83
|
+
color: var(--calcite-color-text-3);
|
84
|
+
outline-color: transparent;
|
85
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
86
|
+
background: none;
|
87
|
+
box-shadow: 0 0 0 2px transparent;
|
88
|
+
block-size: var(--calcite-internal-day-size);
|
89
|
+
inline-size: var(--calcite-internal-day-size);
|
90
|
+
}
|
91
|
+
|
92
|
+
.text {
|
93
|
+
margin-block: 1px 0px;
|
94
|
+
margin-inline-start: 0px;
|
95
|
+
}
|
96
|
+
|
97
|
+
:host([scale=s]) {
|
98
|
+
--calcite-internal-day-size: 27px;
|
99
|
+
}
|
100
|
+
:host([scale=s]) .day-v-wrapper {
|
101
|
+
padding-block: 0.125rem;
|
102
|
+
}
|
103
|
+
:host([scale=s]) .day-wrapper {
|
104
|
+
padding: 0px;
|
105
|
+
}
|
106
|
+
:host([scale=s]) .day {
|
107
|
+
font-size: var(--calcite-font-size--2);
|
108
|
+
}
|
109
|
+
|
110
|
+
:host([scale=m]) {
|
111
|
+
--calcite-internal-day-size: 33px;
|
112
|
+
}
|
113
|
+
:host([scale=m]) .day-v-wrapper {
|
114
|
+
padding-block: 0.25rem;
|
115
|
+
}
|
116
|
+
:host([scale=m]) .day-wrapper {
|
117
|
+
padding: 0px;
|
118
|
+
}
|
119
|
+
:host([scale=m]) .day {
|
120
|
+
font-size: var(--calcite-font-size--1);
|
121
|
+
}
|
122
|
+
|
123
|
+
:host([scale=l]) {
|
124
|
+
--calcite-internal-day-size: 43px;
|
125
|
+
}
|
126
|
+
:host([scale=l]) .day-v-wrapper {
|
127
|
+
padding-block: 0.25rem;
|
128
|
+
}
|
129
|
+
:host([scale=l]) .day-wrapper {
|
130
|
+
padding-inline: 0.25rem;
|
131
|
+
}
|
132
|
+
:host([scale=l]) .day {
|
133
|
+
font-size: var(--calcite-font-size-0);
|
134
|
+
}
|
135
|
+
|
136
|
+
:host(:not([current-month])) .day {
|
137
|
+
opacity: var(--calcite-opacity-disabled);
|
138
|
+
}
|
139
|
+
|
140
|
+
:host(:hover:not([disabled]):not([selected])) .day,
|
141
|
+
:host([active]:not([range]):not([selected])) .day {
|
142
|
+
background-color: var(--calcite-color-foreground-2);
|
143
|
+
color: var(--calcite-color-text-1);
|
144
|
+
}
|
145
|
+
|
146
|
+
:host(:focus),
|
147
|
+
:host([active]) {
|
148
|
+
outline: 2px solid transparent;
|
149
|
+
outline-offset: 2px;
|
150
|
+
}
|
151
|
+
|
152
|
+
:host(:focus:not([disabled])) .day {
|
153
|
+
outline: 2px solid var(--calcite-color-brand);
|
154
|
+
outline-offset: calc(
|
155
|
+
2px *
|
156
|
+
calc(
|
157
|
+
1 -
|
158
|
+
2 * clamp(
|
159
|
+
0,
|
160
|
+
var(--calcite-offset-invert-focus),
|
161
|
+
1
|
162
|
+
)
|
163
|
+
)
|
164
|
+
);
|
165
|
+
}
|
166
|
+
|
167
|
+
:host([selected]) .day {
|
168
|
+
font-weight: var(--calcite-font-weight-medium);
|
169
|
+
background-color: var(--calcite-color-brand);
|
170
|
+
color: var(--calcite-color-foreground-1);
|
171
|
+
}
|
172
|
+
|
173
|
+
:host(:focus:not([disabled])) .day,
|
174
|
+
:host([start-of-range]:not(:focus)) .day,
|
175
|
+
:host([end-of-range]:not(:focus)) .day {
|
176
|
+
box-shadow: 0 0 0 2px var(--calcite-color-foreground-1);
|
177
|
+
}
|
178
|
+
|
179
|
+
:host([range-hover]:not([selected])) .day-wrapper:before,
|
180
|
+
:host([highlighted]:not([selected])) .day-wrapper:before {
|
181
|
+
inset-inline-end: 50%;
|
182
|
+
border-radius: 0;
|
183
|
+
}
|
184
|
+
:host([range-hover]:not([selected])) .day-wrapper:after,
|
185
|
+
:host([highlighted]:not([selected])) .day-wrapper:after {
|
186
|
+
inset-inline-start: 50%;
|
187
|
+
border-radius: 0;
|
188
|
+
}
|
189
|
+
:host([range-hover]:not([selected])) .day,
|
190
|
+
:host([highlighted]:not([selected])) .day {
|
191
|
+
color: var(--calcite-color-text-1);
|
192
|
+
}
|
193
|
+
|
194
|
+
:host([highlighted]) .day-wrapper:before, :host([highlighted]) .day-wrapper:after,
|
195
|
+
:host([selected]:not(.hover--outside-range)) .day-wrapper:before,
|
196
|
+
:host([selected]:not(.hover--outside-range)) .day-wrapper:after {
|
197
|
+
background-color: var(--calcite-color-foreground-current);
|
198
|
+
}
|
199
|
+
|
200
|
+
:host([range-hover]:not([selected])) .day-wrapper:before, :host([range-hover]:not([selected])) .day-wrapper:after {
|
201
|
+
background-color: var(--calcite-color-foreground-2);
|
202
|
+
}
|
203
|
+
|
204
|
+
:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper:before,
|
205
|
+
:host([highlighted][end-of-range]) .day-wrapper:before,
|
206
|
+
:host([highlighted][range-edge=end]) .day-wrapper:before,
|
207
|
+
:host([range-hover][range-edge=end]) .day-wrapper:before,
|
208
|
+
:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper:before {
|
209
|
+
inset-inline-end: 50%;
|
210
|
+
}
|
211
|
+
:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper:after,
|
212
|
+
:host([highlighted][end-of-range]) .day-wrapper:after,
|
213
|
+
:host([highlighted][range-edge=end]) .day-wrapper:after,
|
214
|
+
:host([range-hover][range-edge=end]) .day-wrapper:after,
|
215
|
+
:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper:after {
|
216
|
+
inset-inline-start: 50%;
|
217
|
+
border-start-end-radius: var(--calcite-internal-day-size);
|
218
|
+
border-end-end-radius: var(--calcite-internal-day-size);
|
219
|
+
inline-size: calc(var(--calcite-internal-day-size) / 2);
|
220
|
+
}
|
221
|
+
|
222
|
+
:host([highlighted][start-of-range]) .day-wrapper:before,
|
223
|
+
:host([highlighted][range-edge=start]) .day-wrapper:before,
|
224
|
+
:host([range-hover][range-edge=start]) .day-wrapper:before,
|
225
|
+
:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper:before,
|
226
|
+
:host([start-of-range].hover--inside-range) .day-wrapper:before,
|
227
|
+
:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper:before {
|
228
|
+
inset-inline-end: 50%;
|
229
|
+
border-start-start-radius: var(--calcite-internal-day-size);
|
230
|
+
border-end-start-radius: var(--calcite-internal-day-size);
|
231
|
+
inline-size: calc(var(--calcite-internal-day-size) / 2);
|
232
|
+
}
|
233
|
+
:host([highlighted][start-of-range]) .day-wrapper:after,
|
234
|
+
:host([highlighted][range-edge=start]) .day-wrapper:after,
|
235
|
+
:host([range-hover][range-edge=start]) .day-wrapper:after,
|
236
|
+
:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper:after,
|
237
|
+
:host([start-of-range].hover--inside-range) .day-wrapper:after,
|
238
|
+
:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper:after {
|
239
|
+
inset-inline-start: 50%;
|
240
|
+
}
|
241
|
+
|
242
|
+
:host([range-hover][start-of-range][range-edge=end]) .day-wrapper:after, :host([range-hover][start-of-range][range-edge=end]) .day-wrapper:before,
|
243
|
+
:host([range-hover][end-of-range][range-edge=start]) .day-wrapper:after,
|
244
|
+
:host([range-hover][end-of-range][range-edge=start]) .day-wrapper:before,
|
245
|
+
:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper:after,
|
246
|
+
:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper:before,
|
247
|
+
:host([end-of-range]) .day-wrapper:after,
|
248
|
+
:host([end-of-range]) .day-wrapper:before {
|
249
|
+
content: unset;
|
250
|
+
}
|
251
|
+
|
252
|
+
:host(:hover[range-hover]:not([selected]).focused--start) .day,
|
253
|
+
:host(:hover[range-hover]:not([selected]).focused--end) .day,
|
254
|
+
:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .day,
|
255
|
+
:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .day {
|
256
|
+
box-shadow: 0 0 0 2px var(--calcite-color-foreground-1);
|
257
|
+
}
|
258
|
+
|
259
|
+
@media (forced-colors: active) {
|
260
|
+
.day {
|
261
|
+
border-radius: 0px;
|
262
|
+
}
|
263
|
+
:host([selected]) {
|
264
|
+
outline: 2px solid canvasText;
|
265
|
+
}
|
266
|
+
:host(:hover:not([selected])) .day {
|
267
|
+
border-radius: 50%;
|
268
|
+
}
|
269
|
+
:host([range][selected]) .day-wrapper:before, :host([range][selected]) .day-wrapper:after,
|
270
|
+
:host([highlighted]) .day-wrapper:before,
|
271
|
+
:host([highlighted]) .day-wrapper:after,
|
272
|
+
:host([range-hover]:not([selected])) .day-wrapper:before,
|
273
|
+
:host([range-hover]:not([selected])) .day-wrapper:after {
|
274
|
+
background-color: highlight;
|
275
|
+
}
|
276
|
+
:host([range-hover]) .day-wrapper:before, :host([range-hover]) .day-wrapper:after,
|
277
|
+
:host([range][selected][start-of-range]) .day-wrapper:before,
|
278
|
+
:host([range][selected][start-of-range]) .day-wrapper:after,
|
279
|
+
:host([range][selected][end-of-range]) .day-wrapper:before,
|
280
|
+
:host([range][selected][end-of-range]) .day-wrapper:after {
|
281
|
+
background-color: canvas;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
:host([hidden]) {
|
285
|
+
display: none;
|
286
|
+
}
|
287
|
+
|
288
|
+
[hidden] {
|
289
|
+
display: none;
|
290
|
+
}
|
@@ -0,0 +1,95 @@
|
|
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([hidden]) {
|
27
|
+
display: none
|
28
|
+
}
|
29
|
+
|
30
|
+
[hidden] {
|
31
|
+
display: none
|
32
|
+
}
|
33
|
+
|
34
|
+
.calendar {
|
35
|
+
margin-block-end: 0.25rem
|
36
|
+
}
|
37
|
+
|
38
|
+
.week-headers {
|
39
|
+
display: flex;
|
40
|
+
border-width: 0px;
|
41
|
+
border-block-start-width: 1px;
|
42
|
+
border-style: solid;
|
43
|
+
border-color: var(--calcite-color-border-3);
|
44
|
+
padding-block: 0px;
|
45
|
+
padding-inline: 0.25rem
|
46
|
+
}
|
47
|
+
|
48
|
+
.week-header {
|
49
|
+
text-align: center;
|
50
|
+
font-weight: var(--calcite-font-weight-bold);
|
51
|
+
color: var(--calcite-color-text-3);
|
52
|
+
inline-size: 14.2857142857%
|
53
|
+
}
|
54
|
+
|
55
|
+
.day {
|
56
|
+
display: flex;
|
57
|
+
min-inline-size: 0px;
|
58
|
+
justify-content: center;
|
59
|
+
inline-size: 14.2857142857%
|
60
|
+
}
|
61
|
+
.day calcite-date-picker-day {
|
62
|
+
inline-size: 100%
|
63
|
+
}
|
64
|
+
|
65
|
+
:host([scale=s]) .week-header {
|
66
|
+
padding-inline: 0px;
|
67
|
+
padding-block: 0.5rem 0.75rem;
|
68
|
+
font-size: var(--calcite-font-size--2);
|
69
|
+
line-height: 1rem
|
70
|
+
}
|
71
|
+
|
72
|
+
:host([scale=m]) .week-header {
|
73
|
+
padding-inline: 0px;
|
74
|
+
padding-block: 0.75rem 1rem;
|
75
|
+
font-size: var(--calcite-font-size--2);
|
76
|
+
line-height: 1rem
|
77
|
+
}
|
78
|
+
|
79
|
+
:host([scale=l]) .week-header {
|
80
|
+
padding-inline: 0px;
|
81
|
+
padding-block: 1rem 1.25rem;
|
82
|
+
font-size: var(--calcite-font-size--1);
|
83
|
+
line-height: 1rem
|
84
|
+
}
|
85
|
+
|
86
|
+
.week-days {
|
87
|
+
display: flex;
|
88
|
+
flex-direction: row;
|
89
|
+
padding-block: 0px;
|
90
|
+
padding-inline: 6px
|
91
|
+
}
|
92
|
+
.week-days:focus {
|
93
|
+
outline: 2px solid transparent;
|
94
|
+
outline-offset: 2px
|
95
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
/**
|
2
|
+
* Do not edit directly
|
3
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
4
|
+
*/
|
5
|
+
/**
|
6
|
+
* Do not edit directly
|
7
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Do not edit directly
|
11
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
12
|
+
*/
|
13
|
+
/**
|
14
|
+
* Do not edit directly
|
15
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
16
|
+
*/
|
17
|
+
/**
|
18
|
+
* Do not edit directly
|
19
|
+
* Generated on Sat, 02 Dec 2023 04:05:26 GMT
|
20
|
+
*/
|
21
|
+
/* mixins & extensions */
|
22
|
+
/* helper to properly scale internal durations */
|
23
|
+
/**
|
24
|
+
* Currently only used in Checkbox.
|
25
|
+
*/
|
26
|
+
:host {
|
27
|
+
display: block;
|
28
|
+
}
|
29
|
+
|
30
|
+
.header {
|
31
|
+
display: flex;
|
32
|
+
justify-content: space-between;
|
33
|
+
padding-block: 0px;
|
34
|
+
padding-inline: 0.25rem;
|
35
|
+
}
|
36
|
+
|
37
|
+
:host([scale=s]) .text {
|
38
|
+
margin-block: 0.5rem;
|
39
|
+
font-size: var(--calcite-font-size--1);
|
40
|
+
line-height: 1rem;
|
41
|
+
}
|
42
|
+
:host([scale=s]) .chevron {
|
43
|
+
block-size: 2.25rem;
|
44
|
+
}
|
45
|
+
|
46
|
+
:host([scale=m]) .text {
|
47
|
+
margin-block: 0.75rem;
|
48
|
+
font-size: var(--calcite-font-size-0);
|
49
|
+
line-height: 1.25rem;
|
50
|
+
}
|
51
|
+
:host([scale=m]) .chevron {
|
52
|
+
block-size: 3rem;
|
53
|
+
}
|
54
|
+
|
55
|
+
:host([scale=l]) .text {
|
56
|
+
margin-block: 1rem;
|
57
|
+
font-size: var(--calcite-font-size-1);
|
58
|
+
line-height: 1.5rem;
|
59
|
+
}
|
60
|
+
:host([scale=l]) .chevron {
|
61
|
+
block-size: 3.5rem;
|
62
|
+
}
|
63
|
+
|
64
|
+
.chevron {
|
65
|
+
margin-inline: -0.25rem;
|
66
|
+
box-sizing: content-box;
|
67
|
+
display: flex;
|
68
|
+
flex-grow: 0;
|
69
|
+
cursor: pointer;
|
70
|
+
align-items: center;
|
71
|
+
justify-content: center;
|
72
|
+
border-style: none;
|
73
|
+
background-color: var(--calcite-color-foreground-1);
|
74
|
+
padding-inline: 0.25rem;
|
75
|
+
color: var(--calcite-color-text-3);
|
76
|
+
outline: 2px solid transparent;
|
77
|
+
outline-offset: 2px;
|
78
|
+
outline-color: transparent;
|
79
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
80
|
+
inline-size: 14.2857142857%;
|
81
|
+
}
|
82
|
+
.chevron:focus {
|
83
|
+
outline: 2px solid var(--calcite-color-brand);
|
84
|
+
outline-offset: calc(
|
85
|
+
-2px *
|
86
|
+
calc(
|
87
|
+
1 -
|
88
|
+
2 * clamp(
|
89
|
+
0,
|
90
|
+
var(--calcite-offset-invert-focus),
|
91
|
+
1
|
92
|
+
)
|
93
|
+
)
|
94
|
+
);
|
95
|
+
}
|
96
|
+
.chevron:hover, .chevron:focus {
|
97
|
+
background-color: var(--calcite-color-foreground-2);
|
98
|
+
fill: var(--calcite-color-text-1);
|
99
|
+
color: var(--calcite-color-text-1);
|
100
|
+
}
|
101
|
+
.chevron:active {
|
102
|
+
background-color: var(--calcite-color-foreground-3);
|
103
|
+
}
|
104
|
+
.chevron[aria-disabled=true] {
|
105
|
+
pointer-events: none;
|
106
|
+
opacity: 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
.text {
|
110
|
+
margin-block: auto;
|
111
|
+
display: flex;
|
112
|
+
inline-size: 100%;
|
113
|
+
flex: 1 1 auto;
|
114
|
+
align-items: center;
|
115
|
+
justify-content: center;
|
116
|
+
text-align: center;
|
117
|
+
line-height: 1;
|
118
|
+
}
|
119
|
+
|
120
|
+
.text--reverse {
|
121
|
+
flex-direction: row-reverse;
|
122
|
+
}
|
123
|
+
|
124
|
+
.month,
|
125
|
+
.year,
|
126
|
+
.suffix {
|
127
|
+
margin-inline: 0.25rem;
|
128
|
+
margin-block: auto;
|
129
|
+
display: inline-block;
|
130
|
+
background-color: var(--calcite-color-foreground-1);
|
131
|
+
font-weight: var(--calcite-font-weight-medium);
|
132
|
+
line-height: 1.25;
|
133
|
+
color: var(--calcite-color-text-1);
|
134
|
+
font-size: inherit;
|
135
|
+
}
|
136
|
+
|
137
|
+
.year {
|
138
|
+
position: relative;
|
139
|
+
inline-size: 2.5rem;
|
140
|
+
border-style: none;
|
141
|
+
background-color: transparent;
|
142
|
+
text-align: center;
|
143
|
+
font-family: inherit;
|
144
|
+
outline-color: transparent;
|
145
|
+
}
|
146
|
+
.year:hover {
|
147
|
+
transition-duration: 100ms;
|
148
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
149
|
+
transition-property: outline-color;
|
150
|
+
outline: 2px solid var(--calcite-color-border-2);
|
151
|
+
outline-offset: 2px;
|
152
|
+
}
|
153
|
+
.year:focus {
|
154
|
+
outline: 2px solid var(--calcite-color-brand);
|
155
|
+
outline-offset: calc(
|
156
|
+
2px *
|
157
|
+
calc(
|
158
|
+
1 -
|
159
|
+
2 * clamp(
|
160
|
+
0,
|
161
|
+
var(--calcite-offset-invert-focus),
|
162
|
+
1
|
163
|
+
)
|
164
|
+
)
|
165
|
+
);
|
166
|
+
}
|
167
|
+
|
168
|
+
.year--suffix {
|
169
|
+
text-align: start;
|
170
|
+
}
|
171
|
+
|
172
|
+
.year-wrap {
|
173
|
+
position: relative;
|
174
|
+
}
|
175
|
+
|
176
|
+
.suffix {
|
177
|
+
inset-block-start: 0px;
|
178
|
+
white-space: nowrap;
|
179
|
+
text-align: start;
|
180
|
+
inset-inline-start: 0;
|
181
|
+
}
|
182
|
+
|
183
|
+
:host([hidden]) {
|
184
|
+
display: none;
|
185
|
+
}
|
186
|
+
|
187
|
+
[hidden] {
|
188
|
+
display: none;
|
189
|
+
}
|