@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,484 @@
|
|
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
|
+
display: block;
|
41
|
+
}
|
42
|
+
|
43
|
+
:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix {
|
44
|
+
block-size: 1.5rem;
|
45
|
+
padding-inline: 0.5rem;
|
46
|
+
font-size: var(--calcite-font-size--2);
|
47
|
+
line-height: 1rem;
|
48
|
+
}
|
49
|
+
:host([scale=s]) .number-button-wrapper, :host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button {
|
50
|
+
block-size: 1.5rem;
|
51
|
+
}
|
52
|
+
:host([scale=s]) .clear-button {
|
53
|
+
min-block-size: 1.5rem;
|
54
|
+
min-inline-size: 1.5rem;
|
55
|
+
}
|
56
|
+
|
57
|
+
:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix {
|
58
|
+
block-size: 2rem;
|
59
|
+
padding-inline: 0.75rem;
|
60
|
+
font-size: var(--calcite-font-size--1);
|
61
|
+
line-height: 1rem;
|
62
|
+
}
|
63
|
+
:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button {
|
64
|
+
block-size: 2rem;
|
65
|
+
}
|
66
|
+
:host([scale=m]) .clear-button {
|
67
|
+
min-block-size: 2rem;
|
68
|
+
min-inline-size: 2rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix {
|
72
|
+
block-size: 2.75rem;
|
73
|
+
padding-inline: 1rem;
|
74
|
+
font-size: var(--calcite-font-size-0);
|
75
|
+
line-height: 1.25rem;
|
76
|
+
}
|
77
|
+
:host([scale=l]) .number-button-wrapper, :host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button {
|
78
|
+
block-size: 2.75rem;
|
79
|
+
}
|
80
|
+
:host([scale=l]) .clear-button {
|
81
|
+
min-block-size: 2.75rem;
|
82
|
+
min-inline-size: 2.75rem;
|
83
|
+
}
|
84
|
+
|
85
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
86
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
87
|
+
/* prevent opacity stacking */
|
88
|
+
opacity: 1;
|
89
|
+
}
|
90
|
+
|
91
|
+
input {
|
92
|
+
transition: var(--calcite-animation-timing), block-size 0, outline-offset 0s;
|
93
|
+
-webkit-appearance: none;
|
94
|
+
position: relative;
|
95
|
+
margin: 0px;
|
96
|
+
box-sizing: border-box;
|
97
|
+
display: flex;
|
98
|
+
max-block-size: 100%;
|
99
|
+
inline-size: 100%;
|
100
|
+
max-inline-size: 100%;
|
101
|
+
flex: 1 1 0%;
|
102
|
+
text-overflow: ellipsis;
|
103
|
+
border-radius: 0px;
|
104
|
+
background-color: var(--calcite-color-foreground-1);
|
105
|
+
font-family: inherit;
|
106
|
+
font-weight: var(--calcite-font-weight-normal);
|
107
|
+
color: var(--calcite-color-text-1);
|
108
|
+
}
|
109
|
+
input:-moz-placeholder-shown {
|
110
|
+
text-overflow: ellipsis;
|
111
|
+
}
|
112
|
+
input:placeholder-shown {
|
113
|
+
text-overflow: ellipsis;
|
114
|
+
}
|
115
|
+
|
116
|
+
input {
|
117
|
+
border-width: 1px;
|
118
|
+
border-style: solid;
|
119
|
+
border-color: var(--calcite-color-border-input);
|
120
|
+
color: var(--calcite-color-text-1);
|
121
|
+
}
|
122
|
+
input::placeholder, input:-ms-input-placeholder, input::-ms-input-placeholder {
|
123
|
+
font-weight: var(--calcite-font-weight-normal);
|
124
|
+
color: var(--calcite-color-text-3);
|
125
|
+
}
|
126
|
+
|
127
|
+
input:focus {
|
128
|
+
border-color: var(--calcite-color-brand);
|
129
|
+
color: var(--calcite-color-text-1);
|
130
|
+
}
|
131
|
+
|
132
|
+
input[readonly] {
|
133
|
+
background-color: var(--calcite-color-background);
|
134
|
+
font-weight: var(--calcite-font-weight-medium);
|
135
|
+
}
|
136
|
+
|
137
|
+
input[readonly]:focus {
|
138
|
+
color: var(--calcite-color-text-1);
|
139
|
+
}
|
140
|
+
|
141
|
+
calcite-icon {
|
142
|
+
color: var(--calcite-color-text-3);
|
143
|
+
}
|
144
|
+
|
145
|
+
input {
|
146
|
+
outline-color: transparent;
|
147
|
+
}
|
148
|
+
|
149
|
+
input:focus {
|
150
|
+
outline: 2px solid var(--calcite-color-brand);
|
151
|
+
outline-offset: calc(
|
152
|
+
-2px *
|
153
|
+
calc(
|
154
|
+
1 -
|
155
|
+
2 * clamp(
|
156
|
+
0,
|
157
|
+
var(--calcite-offset-invert-focus),
|
158
|
+
1
|
159
|
+
)
|
160
|
+
)
|
161
|
+
);
|
162
|
+
}
|
163
|
+
|
164
|
+
:host([status=invalid]) input {
|
165
|
+
border-color: var(--calcite-color-status-danger);
|
166
|
+
}
|
167
|
+
:host([status=invalid]) input:focus {
|
168
|
+
outline: 2px solid var(--calcite-color-status-danger);
|
169
|
+
outline-offset: calc(
|
170
|
+
-2px *
|
171
|
+
calc(
|
172
|
+
1 -
|
173
|
+
2 * clamp(
|
174
|
+
0,
|
175
|
+
var(--calcite-offset-invert-focus),
|
176
|
+
1
|
177
|
+
)
|
178
|
+
)
|
179
|
+
);
|
180
|
+
}
|
181
|
+
|
182
|
+
:host([scale=s]) .icon {
|
183
|
+
inset-inline-start: 0.5rem;
|
184
|
+
}
|
185
|
+
|
186
|
+
:host([scale=m]) .icon {
|
187
|
+
inset-inline-start: 0.75rem;
|
188
|
+
}
|
189
|
+
|
190
|
+
:host([scale=l]) .icon {
|
191
|
+
inset-inline-start: 1rem;
|
192
|
+
}
|
193
|
+
|
194
|
+
:host([icon][scale=s]) input {
|
195
|
+
padding-inline-start: 2rem;
|
196
|
+
}
|
197
|
+
|
198
|
+
:host([icon][scale=m]) input {
|
199
|
+
padding-inline-start: 2.5rem;
|
200
|
+
}
|
201
|
+
|
202
|
+
:host([icon][scale=l]) input {
|
203
|
+
padding-inline-start: 3.5rem;
|
204
|
+
}
|
205
|
+
|
206
|
+
.element-wrapper {
|
207
|
+
position: relative;
|
208
|
+
order: 3;
|
209
|
+
display: inline-flex;
|
210
|
+
flex: 1 1 0%;
|
211
|
+
align-items: center;
|
212
|
+
}
|
213
|
+
|
214
|
+
.icon {
|
215
|
+
pointer-events: none;
|
216
|
+
position: absolute;
|
217
|
+
z-index: var(--calcite-z-index);
|
218
|
+
display: block;
|
219
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
220
|
+
}
|
221
|
+
|
222
|
+
.clear-button {
|
223
|
+
pointer-events: initial;
|
224
|
+
order: 4;
|
225
|
+
margin: 0px;
|
226
|
+
box-sizing: border-box;
|
227
|
+
display: flex;
|
228
|
+
min-block-size: 100%;
|
229
|
+
cursor: pointer;
|
230
|
+
align-items: center;
|
231
|
+
justify-content: center;
|
232
|
+
align-self: stretch;
|
233
|
+
border-width: 1px;
|
234
|
+
border-style: solid;
|
235
|
+
border-color: var(--calcite-color-border-input);
|
236
|
+
background-color: var(--calcite-color-foreground-1);
|
237
|
+
outline-color: transparent;
|
238
|
+
border-inline-start-width: 0px;
|
239
|
+
}
|
240
|
+
.clear-button:hover {
|
241
|
+
background-color: var(--calcite-color-foreground-2);
|
242
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
243
|
+
}
|
244
|
+
.clear-button:hover calcite-icon {
|
245
|
+
color: var(--calcite-color-text-1);
|
246
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
247
|
+
}
|
248
|
+
.clear-button:active {
|
249
|
+
background-color: var(--calcite-color-foreground-3);
|
250
|
+
}
|
251
|
+
.clear-button:active calcite-icon {
|
252
|
+
color: var(--calcite-color-text-1);
|
253
|
+
}
|
254
|
+
.clear-button:focus {
|
255
|
+
outline: 2px solid var(--calcite-color-brand);
|
256
|
+
outline-offset: calc(
|
257
|
+
-2px *
|
258
|
+
calc(
|
259
|
+
1 -
|
260
|
+
2 * clamp(
|
261
|
+
0,
|
262
|
+
var(--calcite-offset-invert-focus),
|
263
|
+
1
|
264
|
+
)
|
265
|
+
)
|
266
|
+
);
|
267
|
+
}
|
268
|
+
.clear-button:disabled {
|
269
|
+
opacity: var(--calcite-opacity-disabled);
|
270
|
+
}
|
271
|
+
|
272
|
+
.loader {
|
273
|
+
inset-block-start: 1px;
|
274
|
+
inset-inline: 1px;
|
275
|
+
pointer-events: none;
|
276
|
+
position: absolute;
|
277
|
+
display: block;
|
278
|
+
}
|
279
|
+
|
280
|
+
.action-wrapper {
|
281
|
+
order: 7;
|
282
|
+
display: flex;
|
283
|
+
}
|
284
|
+
|
285
|
+
.prefix,
|
286
|
+
.suffix {
|
287
|
+
box-sizing: border-box;
|
288
|
+
display: flex;
|
289
|
+
block-size: auto;
|
290
|
+
min-block-size: 100%;
|
291
|
+
-webkit-user-select: none;
|
292
|
+
-moz-user-select: none;
|
293
|
+
user-select: none;
|
294
|
+
align-content: center;
|
295
|
+
align-items: center;
|
296
|
+
overflow-wrap: break-word;
|
297
|
+
border-width: 1px;
|
298
|
+
border-style: solid;
|
299
|
+
border-color: var(--calcite-color-border-input);
|
300
|
+
background-color: var(--calcite-color-background);
|
301
|
+
font-weight: var(--calcite-font-weight-medium);
|
302
|
+
line-height: 1;
|
303
|
+
color: var(--calcite-color-text-2);
|
304
|
+
}
|
305
|
+
|
306
|
+
.prefix {
|
307
|
+
order: 2;
|
308
|
+
border-inline-end-width: 0px;
|
309
|
+
}
|
310
|
+
|
311
|
+
.suffix {
|
312
|
+
order: 5;
|
313
|
+
border-inline-start-width: 0px;
|
314
|
+
}
|
315
|
+
|
316
|
+
:host([alignment=start]) input {
|
317
|
+
text-align: start;
|
318
|
+
}
|
319
|
+
|
320
|
+
:host([alignment=end]) input {
|
321
|
+
text-align: end;
|
322
|
+
}
|
323
|
+
|
324
|
+
.number-button-wrapper {
|
325
|
+
pointer-events: none;
|
326
|
+
order: 6;
|
327
|
+
box-sizing: border-box;
|
328
|
+
display: flex;
|
329
|
+
flex-direction: column;
|
330
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
331
|
+
}
|
332
|
+
|
333
|
+
:host([number-button-type=vertical]) .wrapper {
|
334
|
+
flex-direction: row;
|
335
|
+
display: flex;
|
336
|
+
}
|
337
|
+
|
338
|
+
:host([number-button-type=vertical]) input {
|
339
|
+
order: 2;
|
340
|
+
}
|
341
|
+
|
342
|
+
:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon {
|
343
|
+
transform: rotate(-90deg);
|
344
|
+
}
|
345
|
+
:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon {
|
346
|
+
transform: rotate(-90deg);
|
347
|
+
}
|
348
|
+
|
349
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up] {
|
350
|
+
order: 1;
|
351
|
+
max-block-size: 100%;
|
352
|
+
min-block-size: 100%;
|
353
|
+
align-self: stretch;
|
354
|
+
}
|
355
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon {
|
356
|
+
transform: rotate(90deg);
|
357
|
+
}
|
358
|
+
|
359
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=down] {
|
360
|
+
border-width: 1px;
|
361
|
+
border-style: solid;
|
362
|
+
border-color: var(--calcite-color-border-input);
|
363
|
+
border-inline-end-width: 0px;
|
364
|
+
}
|
365
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover {
|
366
|
+
background-color: var(--calcite-color-foreground-2);
|
367
|
+
}
|
368
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon {
|
369
|
+
color: var(--calcite-color-text-1);
|
370
|
+
}
|
371
|
+
|
372
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=up] {
|
373
|
+
order: 5;
|
374
|
+
}
|
375
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover {
|
376
|
+
background-color: var(--calcite-color-foreground-2);
|
377
|
+
}
|
378
|
+
.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon {
|
379
|
+
color: var(--calcite-color-text-1);
|
380
|
+
}
|
381
|
+
|
382
|
+
:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover {
|
383
|
+
background-color: var(--calcite-color-foreground-2);
|
384
|
+
}
|
385
|
+
:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon {
|
386
|
+
color: var(--calcite-color-text-1);
|
387
|
+
}
|
388
|
+
|
389
|
+
:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover {
|
390
|
+
background-color: var(--calcite-color-foreground-2);
|
391
|
+
}
|
392
|
+
:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon {
|
393
|
+
color: var(--calcite-color-text-1);
|
394
|
+
}
|
395
|
+
|
396
|
+
:host([number-button-type=vertical]) .number-button-item[data-adjustment=down] {
|
397
|
+
border-block-start-width: 0px;
|
398
|
+
}
|
399
|
+
|
400
|
+
.number-button-item {
|
401
|
+
max-block-size: 50%;
|
402
|
+
min-block-size: 50%;
|
403
|
+
pointer-events: initial;
|
404
|
+
margin: 0px;
|
405
|
+
box-sizing: border-box;
|
406
|
+
display: flex;
|
407
|
+
cursor: pointer;
|
408
|
+
align-items: center;
|
409
|
+
align-self: center;
|
410
|
+
border-width: 1px;
|
411
|
+
border-style: solid;
|
412
|
+
border-color: var(--calcite-color-border-input);
|
413
|
+
background-color: var(--calcite-color-foreground-1);
|
414
|
+
padding-block: 0px;
|
415
|
+
padding-inline: 0.5rem;
|
416
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
417
|
+
border-inline-start-width: 0px;
|
418
|
+
}
|
419
|
+
.number-button-item calcite-icon {
|
420
|
+
pointer-events: none;
|
421
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
422
|
+
}
|
423
|
+
.number-button-item:focus {
|
424
|
+
background-color: var(--calcite-color-foreground-2);
|
425
|
+
}
|
426
|
+
.number-button-item:focus calcite-icon {
|
427
|
+
color: var(--calcite-color-text-1);
|
428
|
+
}
|
429
|
+
.number-button-item:active {
|
430
|
+
background-color: var(--calcite-color-foreground-3);
|
431
|
+
}
|
432
|
+
.number-button-item:disabled {
|
433
|
+
pointer-events: none;
|
434
|
+
}
|
435
|
+
|
436
|
+
.wrapper {
|
437
|
+
position: relative;
|
438
|
+
display: flex;
|
439
|
+
flex-direction: row;
|
440
|
+
align-items: center;
|
441
|
+
}
|
442
|
+
|
443
|
+
:host(.no-bottom-border) input {
|
444
|
+
border-block-end-width: 0px;
|
445
|
+
}
|
446
|
+
|
447
|
+
:host(.border-top-color-one) input {
|
448
|
+
border-block-start-color: var(--calcite-color-border-1);
|
449
|
+
}
|
450
|
+
|
451
|
+
.inline-child {
|
452
|
+
background-color: transparent;
|
453
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
454
|
+
}
|
455
|
+
.inline-child .editing-enabled {
|
456
|
+
background-color: inherit;
|
457
|
+
}
|
458
|
+
|
459
|
+
.inline-child:not(.editing-enabled) {
|
460
|
+
display: flex;
|
461
|
+
cursor: pointer;
|
462
|
+
border-color: transparent;
|
463
|
+
padding-inline-start: 0;
|
464
|
+
}
|
465
|
+
|
466
|
+
::slotted(input[slot=hidden-form-input]) {
|
467
|
+
margin: 0 !important;
|
468
|
+
opacity: 0 !important;
|
469
|
+
outline: none !important;
|
470
|
+
padding: 0 !important;
|
471
|
+
position: absolute !important;
|
472
|
+
inset: 0 !important;
|
473
|
+
transform: none !important;
|
474
|
+
-webkit-appearance: none !important;
|
475
|
+
z-index: -1 !important;
|
476
|
+
}
|
477
|
+
|
478
|
+
:host([hidden]) {
|
479
|
+
display: none;
|
480
|
+
}
|
481
|
+
|
482
|
+
[hidden] {
|
483
|
+
display: none;
|
484
|
+
}
|