@councilbox/councilbox-ui 2.0.53 → 2.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/HOCs/overlayA11yStack.js +47 -0
- package/dist/HOCs/useA11yGuard.js +38 -0
- package/dist/HOCs/useDynamicStyles.js +18 -38
- package/dist/HOCs/useMenuNavigation.js +110 -0
- package/dist/HOCs/useOverlay.js +87 -0
- package/dist/HOCs/usePopoverPosition.js +228 -0
- package/dist/HOCs/useRipple.js +17 -35
- package/dist/HOCs/useWindowSize.js +24 -42
- package/dist/build-index.js +49 -99
- package/dist/components/1.Introduction.stories.mdx +1 -1
- package/dist/components/2.Changelog.stories.mdx +42 -0
- package/dist/components/3.Guide.stories.mdx +1 -1
- package/dist/components/Accordion/Accordion.css +7 -0
- package/dist/components/Accordion/Accordion.js +97 -102
- package/dist/components/Accordion/Accordion.stories.js +10 -12
- package/dist/components/Accordion/AccordionOld.js +32 -56
- package/dist/components/Accordion/DesignAccordion.stories.js +10 -21
- package/dist/components/Alert/Alert.js +55 -55
- package/dist/components/Alert/Alert.stories.js +10 -11
- package/dist/components/Avatar/Avatar.js +82 -74
- package/dist/components/Avatar/Avatar.stories.js +19 -23
- package/dist/components/Avatar/AvatarOld.js +46 -60
- package/dist/components/Avatar/DesignAvatar.stories.js +18 -26
- package/dist/components/Avatar/DesignAvatarText.stories.js +31 -40
- package/dist/components/AvatarGroup/AvatarGroup.js +7 -14
- package/dist/components/AvatarGroup/AvatarGroup.stories.js +6 -13
- package/dist/components/AvatarGroup/DesignAvatarGroup.stories.js +34 -45
- package/dist/components/Block/Block.css +3 -3
- package/dist/components/Block/Block.js +31 -45
- package/dist/components/Block/Block.stories.js +5 -12
- package/dist/components/Block/DesignBlock.stories.js +7 -13
- package/dist/components/Button/Button.js +44 -66
- package/dist/components/Button/Button.stories.js +8 -14
- package/dist/components/Button/button.css +1 -1
- package/dist/components/ButtonBasic/ButtonBasic.css +6 -1
- package/dist/components/ButtonBasic/ButtonBasic.js +96 -118
- package/dist/components/ButtonBasic/ButtonBasic.stories.js +14 -15
- package/dist/components/ButtonBasic/ButtonBasicOld.js +57 -77
- package/dist/components/Checkbox/Checkbox.css +6 -0
- package/dist/components/Checkbox/Checkbox.js +81 -100
- package/dist/components/Checkbox/Checkbox.stories.js +10 -11
- package/dist/components/Checkbox/CheckboxOld.js +19 -35
- package/dist/components/DragDrop/DragDrop.css +20 -9
- package/dist/components/DragDrop/DragDrop.js +80 -76
- package/dist/components/DragDrop/DragDrop.stories.js +9 -16
- package/dist/components/DrawerPanel/DesignDrawerPanel.js +35 -53
- package/dist/components/DrawerPanel/DrawerPanel.js +157 -146
- package/dist/components/DrawerPanel/DrawerPanel.stories.js +10 -12
- package/dist/components/DrawerPanel/DrawerPanelOld.js +76 -98
- package/dist/components/DropDown/DesignDropDown.stories.js +79 -97
- package/dist/components/DropDown/DropDown.js +168 -342
- package/dist/components/DropDown/DropDown.stories.js +6 -12
- package/dist/components/DropDown/DropDownOld.js +57 -89
- package/dist/components/DropDown/PopoverPlayground.js +68 -98
- package/dist/components/EnhancedTable/DesignEnhancedTable.stories.js +26 -36
- package/dist/components/EnhancedTable/EnhancedMyTable.js +16 -19
- package/dist/components/EnhancedTable/EnhancedTable.js +77 -136
- package/dist/components/EnhancedTable/EnhancedTable.stories.js +5 -12
- package/dist/components/EnhancedTable/EnhancedTableBody.js +11 -14
- package/dist/components/EnhancedTable/EnhancedTableCell.js +25 -34
- package/dist/components/EnhancedTable/EnhancedTableContainer.js +11 -14
- package/dist/components/EnhancedTable/EnhancedTableHead.js +11 -14
- package/dist/components/EnhancedTable/EnhancedTableRow.js +15 -18
- package/dist/components/EnhancedTable/EnhancedTableSortLabel.js +15 -18
- package/dist/components/FabButton/DesignFabButton.stories.js +9 -16
- package/dist/components/FabButton/FabButton.js +51 -54
- package/dist/components/FabButton/FabButton.stories.js +10 -12
- package/dist/components/Grid/DesignGrid.stories.js +7 -14
- package/dist/components/Grid/Grid.js +38 -46
- package/dist/components/Grid/Grid.stories.js +6 -13
- package/dist/components/Grid/GridItem.js +37 -39
- package/dist/components/Grid/GridItemOld.js +13 -18
- package/dist/components/Grid/GridOld.js +14 -21
- package/dist/components/Header/DesignHeader.stories.js +20 -24
- package/dist/components/Header/Header.js +201 -242
- package/dist/components/Header/Header.stories.js +9 -21
- package/dist/components/Header/header.css +10 -5
- package/dist/components/IconButton/DesignIconButton.stories.js +31 -36
- package/dist/components/IconButton/IconButton.css +6 -1
- package/dist/components/IconButton/IconButton.js +132 -138
- package/dist/components/IconButton/IconButton.stories.js +12 -13
- package/dist/components/IconButton/IconButtonOld.js +41 -57
- package/dist/components/IconButtonSquare/DesignIconButtonSquare.stories.js +5 -11
- package/dist/components/IconButtonSquare/IconButtonSquare.js +11 -25
- package/dist/components/IconButtonSquare/IconButtonSquare.stories.js +7 -13
- package/dist/components/IconButtonSquare/IconButtonSquareOld.js +44 -62
- package/dist/components/IconFont/IconFont.js +27 -48
- package/dist/components/IconFont/IconFont.stories.js +5 -11
- package/dist/components/InputAutocomplete/InputAutocomplete.css +6 -0
- package/dist/components/InputAutocomplete/InputAutocomplete.js +184 -260
- package/dist/components/InputAutocomplete/InputAutocomplete.stories.js +5 -11
- package/dist/components/InputAutocomplete/InputAutocompleteOld.js +43 -62
- package/dist/components/InputPassword/InputPassword.css +0 -6
- package/dist/components/InputPassword/InputPassword.js +58 -73
- package/dist/components/InputPassword/InputPassword.stories.js +5 -11
- package/dist/components/InputText/InputText.css +86 -78
- package/dist/components/InputText/InputText.js +207 -211
- package/dist/components/InputText/InputText.stories.js +11 -11
- package/dist/components/InputText/InputTextOld.js +48 -74
- package/dist/components/InputTextArea/DesignInputTextArea.stories.js +38 -51
- package/dist/components/InputTextArea/InputTextArea.js +84 -93
- package/dist/components/InputTextArea/InputTextArea.stories.js +5 -12
- package/dist/components/LoadingSection/LoadingSection.js +44 -51
- package/dist/components/LoadingSection/LoadingSection.stories.js +5 -11
- package/dist/components/MenuItem/DesignMenuItem.stories.js +20 -34
- package/dist/components/MenuItem/MenuItem.css +7 -2
- package/dist/components/MenuItem/MenuItem.js +100 -113
- package/dist/components/MenuItem/MenuItem.stories.js +6 -15
- package/dist/components/MenuItem/MenuItemOld.js +40 -56
- package/dist/components/MenuLateralLeft/MenuLateralLeft.css +24 -0
- package/dist/components/MenuLateralLeft/MenuLateralLeft.js +120 -157
- package/dist/components/MenuLateralLeft/MenuLateralLeft.stories.js +5 -12
- package/dist/components/MenuLateralRight/MenuLateralRight.css +2 -2
- package/dist/components/MenuLateralRight/MenuLateralRight.js +73 -77
- package/dist/components/MenuLateralRight/MenuLateralRight.stories.js +5 -12
- package/dist/components/Modal/DesignModal.stories.js +15 -30
- package/dist/components/Modal/Modal.css +35 -15
- package/dist/components/Modal/Modal.js +154 -145
- package/dist/components/Modal/Modal.stories.js +7 -16
- package/dist/components/Modal/ModalOld.js +73 -90
- package/dist/components/PaginationFooter/DesignPaginationFooter.stories.js +4 -10
- package/dist/components/PaginationFooter/PaginationFooter.css +10 -0
- package/dist/components/PaginationFooter/PaginationFooter.js +99 -91
- package/dist/components/PaginationFooter/PaginationFooter.stories.js +5 -12
- package/dist/components/RadioButton/Radio.css +19 -18
- package/dist/components/RadioButton/Radio.js +65 -83
- package/dist/components/RadioButton/Radio.stories.js +27 -36
- package/dist/components/RadioButton/RadioOld.js +23 -39
- package/dist/components/Ripple/DesignRipple.js +25 -41
- package/dist/components/Ripple/Ripple.stories.js +5 -11
- package/dist/components/Scrollbar/DesignScrollbar.js +5 -10
- package/dist/components/Scrollbar/Scrollbar.js +37 -56
- package/dist/components/Scrollbar/Scrollbar.stories.js +5 -12
- package/dist/components/SelectInput/DesignSelectInput.js +22 -45
- package/dist/components/SelectInput/SelectInput.js +101 -155
- package/dist/components/SelectInput/SelectInput.stories.js +6 -15
- package/dist/components/SelectInput/SelectInputOld.js +52 -81
- package/dist/components/Slider/DesignSlider.js +8 -14
- package/dist/components/Slider/Slider.css +57 -37
- package/dist/components/Slider/Slider.js +85 -84
- package/dist/components/Slider/Slider.stories.js +5 -12
- package/dist/components/Spacing/Spacing.js +38 -45
- package/dist/components/Spacing/Spacing.stories.js +5 -11
- package/dist/components/Stars/DesignStars.js +17 -30
- package/dist/components/Stars/Stars.css +55 -104
- package/dist/components/Stars/Stars.js +89 -73
- package/dist/components/Stars/Stars.stories.js +5 -12
- package/dist/components/Stepper/DesignStepper.stories.js +16 -30
- package/dist/components/Stepper/Stepper.css +46 -10
- package/dist/components/Stepper/Stepper.js +118 -134
- package/dist/components/Stepper/Stepper.stories.js +5 -12
- package/dist/components/Table/DesignTable.stories.js +200 -211
- package/dist/components/Table/Table.css +33 -2
- package/dist/components/Table/Table.js +30 -38
- package/dist/components/Table/Table.stories.js +5 -12
- package/dist/components/Table/TableBody.js +22 -34
- package/dist/components/Table/TableCell.js +71 -61
- package/dist/components/Table/TableContainer.js +22 -34
- package/dist/components/Table/TableHead.js +22 -34
- package/dist/components/Table/TableOld.js +52 -84
- package/dist/components/Table/TableRow.js +33 -37
- package/dist/components/Table/TableSortLabel.js +42 -52
- package/dist/components/Tabs/DesignTabs.js +14 -28
- package/dist/components/Tabs/Tabs.css +30 -11
- package/dist/components/Tabs/Tabs.js +151 -137
- package/dist/components/Tabs/Tabs.stories.js +5 -12
- package/dist/components/Tabs/TabsOld.js +28 -42
- package/dist/components/Tag/DesignTags.stories.js +24 -39
- package/dist/components/Tag/Tag.css +61 -42
- package/dist/components/Tag/Tag.js +93 -91
- package/dist/components/Tag/Tag.stories.js +5 -12
- package/dist/components/TextInput/TextInput.js +38 -54
- package/dist/components/TextInput/TextInput.stories.js +5 -11
- package/dist/components/ThemeProvider/Colors.js +2 -2
- package/dist/components/ThemeProvider/CouncilboxThemeContext.js +7 -10
- package/dist/components/ThemeProvider/ThemeProvider.js +34 -52
- package/dist/components/Timeline/DesignTimeline.stories.js +4 -10
- package/dist/components/Timeline/Timeline.js +66 -46
- package/dist/components/Timeline/Timeline.stories.js +5 -12
- package/dist/components/Toggle/Toggle.css +10 -0
- package/dist/components/Toggle/Toggle.js +115 -98
- package/dist/components/Toggle/Toggle.stories.js +10 -11
- package/dist/components/Tooltip/DesignTooltip.stories.js +10 -16
- package/dist/components/Tooltip/Tooltip.css +17 -1
- package/dist/components/Tooltip/Tooltip.js +190 -366
- package/dist/components/Tooltip/Tooltip.stories.js +5 -12
- package/dist/components/Typography/Typography.css +57 -6
- package/dist/components/Typography/Typography.js +44 -97
- package/dist/components/Typography/Typography.stories.js +5 -11
- package/dist/components/Typography/TypographyOld.js +29 -42
- package/dist/index.js +2 -6
- package/dist/reportWebVitals.js +8 -14
- package/dist/storybook.test.js +2 -4
- package/dist/styles/colorConsts.css +4 -4
- package/dist/styles/main.css +16 -0
- package/dist/styles/stylesheet.js +10 -22
- package/dist/testing/TestAutocomplete.js +74 -97
- package/dist/testing/TestComponents.js +5 -10
- package/dist/testing/TestDropdown.js +33 -41
- package/dist/utils/autoDetectScroll.js +12 -35
- package/dist/utils/index.js +37 -63
- package/dist/utils/useFallbackId.js +19 -0
- package/package.json +5 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.cbx-inputText-allContainer {
|
|
2
|
+
font-size: 1rem;
|
|
2
3
|
display: inline-flex;
|
|
3
4
|
flex-direction: column;
|
|
4
5
|
position: relative;
|
|
@@ -20,28 +21,37 @@
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.cbx-inputText-label {
|
|
23
|
-
transition: all 0.1s ease-in-out;
|
|
24
|
-
color: var(--gray5);
|
|
25
24
|
position: absolute;
|
|
26
|
-
top:
|
|
27
|
-
left:
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
z-index: 1;
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
30
|
max-width: calc(100% - 28px);
|
|
31
|
+
font-size: 1rem;
|
|
32
|
+
line-height: 1.4375em;
|
|
33
|
+
font-family: var(--font-primary);
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
color: var(--gray5);
|
|
31
36
|
white-space: nowrap;
|
|
32
37
|
overflow: hidden;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
text-overflow: ellipsis;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
user-select: none;
|
|
41
|
+
transform: translate(12px, 13px) scale(1);
|
|
42
|
+
transform-origin: top left;
|
|
43
|
+
transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
44
|
+
transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
45
|
+
max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
|
|
36
46
|
}
|
|
37
47
|
|
|
38
48
|
.cbx-inputText-label-standard {
|
|
39
|
-
|
|
49
|
+
transform: translate(0px, 13px) scale(1);
|
|
40
50
|
}
|
|
41
51
|
|
|
42
52
|
.cbx-inputText-required {
|
|
43
53
|
padding-left: 0.2rem;
|
|
44
|
-
flex-shrink: 0
|
|
54
|
+
flex-shrink: 0;
|
|
45
55
|
}
|
|
46
56
|
|
|
47
57
|
.cbx-inputText-label-text {
|
|
@@ -50,56 +60,34 @@
|
|
|
50
60
|
white-space: nowrap;
|
|
51
61
|
}
|
|
52
62
|
|
|
53
|
-
.cbx-inputText.cbx-inputText-outlined {
|
|
54
|
-
border-radius: 4px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.cbx-inputText-container-fullWidth {
|
|
58
|
-
width: 100%;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
63
|
.cbx-input:focus~label.cbx-inputText-label,
|
|
62
|
-
.cbx-input.shrink~label.cbx-inputText-label
|
|
63
|
-
|
|
64
|
-
left: 13px !important;
|
|
65
|
-
transform: translate(3px, -2px) scale(0.75) !important;
|
|
66
|
-
padding: 0 6px;
|
|
67
|
-
opacity: 1;
|
|
64
|
+
.cbx-input.shrink~label.cbx-inputText-label,
|
|
65
|
+
.cbx-input:not(:placeholder-shown)~label.cbx-inputText-label {
|
|
68
66
|
color: var(--primary);
|
|
69
|
-
font-size: 1rem;
|
|
70
|
-
line-height: 1.4375em;
|
|
71
|
-
font-family: var(--font-primary);
|
|
72
|
-
font-weight: 400;
|
|
73
|
-
padding: 0;
|
|
74
|
-
position: relative;
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
transform-origin: top left;
|
|
78
|
-
white-space: nowrap;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
text-overflow: ellipsis;
|
|
81
67
|
max-width: calc(133% - 32px);
|
|
82
|
-
position: absolute;
|
|
83
|
-
left: 0;
|
|
84
|
-
top: 0;
|
|
85
68
|
transform: translate(14px, -9px) scale(0.75);
|
|
86
|
-
transition: color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms, max-width 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
|
|
87
|
-
z-index: 1;
|
|
88
69
|
pointer-events: auto;
|
|
89
|
-
user-select: none;
|
|
90
70
|
}
|
|
91
71
|
|
|
92
72
|
.cbx-inputText-standard:focus~label.cbx-inputText-label,
|
|
93
73
|
.cbx-inputText-standard.shrink~label.cbx-inputText-label,
|
|
94
|
-
.cbx-inputText-standard:not(:placeholder-shown)
|
|
95
|
-
|
|
74
|
+
.cbx-inputText-standard:not(:placeholder-shown)~label.cbx-inputText-label {
|
|
75
|
+
transform: translate(0px, -9px) scale(0.75);
|
|
96
76
|
}
|
|
97
77
|
|
|
98
|
-
.cbx-input:not(:placeholder-shown)
|
|
99
|
-
.cbx-input.shrink~label.cbx-inputText-label {
|
|
78
|
+
.cbx-input:not(:focus):not(:placeholder-shown)~label.cbx-inputText-label,
|
|
79
|
+
.cbx-input.shrink:not(:focus)~label.cbx-inputText-label {
|
|
100
80
|
color: var(--gray3);
|
|
101
81
|
}
|
|
102
82
|
|
|
83
|
+
.cbx-inputText.cbx-inputText-outlined {
|
|
84
|
+
border-radius: 4px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cbx-inputText-container-fullWidth {
|
|
88
|
+
width: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
103
91
|
.cbx-inputText::placeholder {
|
|
104
92
|
transition: 0.2s;
|
|
105
93
|
opacity: 0;
|
|
@@ -138,6 +126,8 @@
|
|
|
138
126
|
max-height: 48px;
|
|
139
127
|
background: transparent;
|
|
140
128
|
color: var(--gray5);
|
|
129
|
+
position: relative;
|
|
130
|
+
z-index: 1;
|
|
141
131
|
}
|
|
142
132
|
|
|
143
133
|
.cbx-input.cbx-inputText-standard {
|
|
@@ -162,6 +152,7 @@
|
|
|
162
152
|
}
|
|
163
153
|
|
|
164
154
|
.cbx-inputText-fieldset {
|
|
155
|
+
font-size: 1rem;
|
|
165
156
|
transition: border 0.2s;
|
|
166
157
|
color: var(--gray5);
|
|
167
158
|
padding-right: var(--spacing8);
|
|
@@ -179,6 +170,7 @@
|
|
|
179
170
|
border: none;
|
|
180
171
|
height: 53px;
|
|
181
172
|
max-height: 53px;
|
|
173
|
+
z-index: 0;
|
|
182
174
|
}
|
|
183
175
|
|
|
184
176
|
.cbx-inputText-fieldset-outlined {
|
|
@@ -226,12 +218,12 @@
|
|
|
226
218
|
display: block;
|
|
227
219
|
padding: 0;
|
|
228
220
|
height: 11px;
|
|
229
|
-
font-size: 0.75em;
|
|
230
221
|
visibility: hidden;
|
|
231
222
|
max-width: 100%;
|
|
232
223
|
transition: max-width 100ms cubic-bezier(0.0, 0, 0.2, 1) 50ms;
|
|
233
224
|
white-space: nowrap;
|
|
234
225
|
padding-left: 4px;
|
|
226
|
+
font-size: 1rem;
|
|
235
227
|
}
|
|
236
228
|
|
|
237
229
|
.cbx-inputText-fieldset legend,
|
|
@@ -245,7 +237,7 @@
|
|
|
245
237
|
visibility: hidden;
|
|
246
238
|
max-width: 0%;
|
|
247
239
|
height: 11px;
|
|
248
|
-
font-size:
|
|
240
|
+
font-size: 1rem;
|
|
249
241
|
transition: max-width 100ms cubic-bezier(0.0, 0, 0.2, 1) 50ms;
|
|
250
242
|
}
|
|
251
243
|
|
|
@@ -255,8 +247,8 @@
|
|
|
255
247
|
padding-right: 8px;
|
|
256
248
|
display: inline-block;
|
|
257
249
|
opacity: 0;
|
|
258
|
-
visibility:
|
|
259
|
-
font-size:
|
|
250
|
+
visibility: hidden;
|
|
251
|
+
font-size: 1rem;
|
|
260
252
|
white-space: nowrap;
|
|
261
253
|
}
|
|
262
254
|
|
|
@@ -301,8 +293,6 @@
|
|
|
301
293
|
position: absolute;
|
|
302
294
|
background: var(--primary);
|
|
303
295
|
transition: 0.2s ease all;
|
|
304
|
-
-moz-transition: 0.2s ease all;
|
|
305
|
-
-webkit-transition: 0.2s ease all;
|
|
306
296
|
}
|
|
307
297
|
|
|
308
298
|
.cbx-inputText-bar:before {
|
|
@@ -354,38 +344,32 @@ textarea.cbx-inputText.cbx-inputText-standard~.cbx-inputText-fieldset-standard {
|
|
|
354
344
|
.cbx-inputText-label-hidden {
|
|
355
345
|
top: -10px !important;
|
|
356
346
|
left: 12px !important;
|
|
357
|
-
padding: 0
|
|
347
|
+
padding: 0;
|
|
358
348
|
opacity: 1;
|
|
359
|
-
font-size:
|
|
349
|
+
font-size: 12px;
|
|
360
350
|
line-height: 1.4375em;
|
|
361
351
|
font-family: var(--font-primary);
|
|
362
352
|
font-weight: 400;
|
|
363
|
-
padding: 0;
|
|
364
|
-
position: relative;
|
|
365
|
-
display: block;
|
|
366
|
-
transform-origin: top left;
|
|
367
|
-
white-space: nowrap;
|
|
368
|
-
overflow: hidden;
|
|
369
|
-
text-overflow: ellipsis;
|
|
370
|
-
max-width: calc(133% - 32px);
|
|
371
353
|
position: absolute;
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
z-index: 1;
|
|
375
|
-
pointer-events: auto;
|
|
376
|
-
-webkit-user-select: none;
|
|
354
|
+
display: inline-block;
|
|
355
|
+
white-space: nowrap;
|
|
377
356
|
visibility: hidden;
|
|
357
|
+
pointer-events: none;
|
|
378
358
|
user-select: none;
|
|
379
|
-
|
|
359
|
+
box-sizing: border-box;
|
|
380
360
|
}
|
|
381
361
|
|
|
382
362
|
.cbx-inputText-renderValue {
|
|
383
|
-
bottom: 0px;
|
|
384
|
-
left: 0px;
|
|
385
363
|
position: absolute;
|
|
386
|
-
|
|
364
|
+
width: 1px;
|
|
365
|
+
height: 1px;
|
|
366
|
+
padding: 0;
|
|
367
|
+
margin: -1px;
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
clip: rect(0, 0, 0, 0);
|
|
370
|
+
white-space: nowrap;
|
|
371
|
+
border: 0;
|
|
387
372
|
pointer-events: none;
|
|
388
|
-
width: 100%;
|
|
389
373
|
box-sizing: border-box;
|
|
390
374
|
}
|
|
391
375
|
|
|
@@ -406,6 +390,8 @@ textarea.cbx-inputText.cbx-inputText-standard~.cbx-inputText-fieldset-standard {
|
|
|
406
390
|
}
|
|
407
391
|
|
|
408
392
|
.cbx-inputText-renderValue-block {
|
|
393
|
+
position: relative;
|
|
394
|
+
z-index: 1;
|
|
409
395
|
height: auto;
|
|
410
396
|
min-height: 1.4375em;
|
|
411
397
|
text-overflow: ellipsis;
|
|
@@ -420,10 +406,6 @@ textarea.cbx-inputText.cbx-inputText-standard~.cbx-inputText-fieldset-standard {
|
|
|
420
406
|
user-select: none;
|
|
421
407
|
}
|
|
422
408
|
|
|
423
|
-
.cbx-inputText-allContainer-standard .cbx-inputText-standard:not(:placeholder-shown)~.cbx-inputText-label {
|
|
424
|
-
left: -3px !important;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
409
|
.cbx-inputText-allContainer-standard .cbx-inputText-renderValue-block {
|
|
428
410
|
padding: 0px;
|
|
429
411
|
}
|
|
@@ -446,7 +428,13 @@ textarea.cbx-inputText.cbx-inputText-standard~.cbx-inputText-fieldset-standard {
|
|
|
446
428
|
}
|
|
447
429
|
|
|
448
430
|
.cbx-inputText-icon-startAdornment .cbx-inputText-label {
|
|
449
|
-
|
|
431
|
+
transform: translate(40px, 13px) scale(1);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.cbx-inputText-icon-startAdornment .cbx-input:focus~.cbx-inputText-label,
|
|
435
|
+
.cbx-inputText-icon-startAdornment .cbx-input.shrink~.cbx-inputText-label,
|
|
436
|
+
.cbx-inputText-icon-startAdornment .cbx-input:not(:placeholder-shown)~.cbx-inputText-label {
|
|
437
|
+
transform: translate(40px, -9px) scale(0.75);
|
|
450
438
|
}
|
|
451
439
|
|
|
452
440
|
.cbx-inputText-autocomplete-button-open {
|
|
@@ -455,4 +443,24 @@ textarea.cbx-inputText.cbx-inputText-standard~.cbx-inputText-fieldset-standard {
|
|
|
455
443
|
width: 1.25rem;
|
|
456
444
|
height: 2.125rem;
|
|
457
445
|
cursor: pointer;
|
|
446
|
+
background: transparent;
|
|
447
|
+
border: 0;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.cbx-inputText-allContainer-standard .cbx-inputText-label {
|
|
451
|
+
font-size: 16px;
|
|
452
|
+
transform: translate(0px, 13px) scale(1);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.cbx-inputText-standard:focus~label.cbx-inputText-label,
|
|
456
|
+
.cbx-inputText-standard.shrink~label.cbx-inputText-label,
|
|
457
|
+
.cbx-inputText-standard:not(:placeholder-shown)~label.cbx-inputText-label {
|
|
458
|
+
transform: translate(0px, -9px) scale(0.75);
|
|
459
|
+
max-width: calc(133% - 16px);
|
|
460
|
+
color: var(--primary);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.cbx-inputText-standard:not(:focus):not(:placeholder-shown)~label.cbx-inputText-label,
|
|
464
|
+
.cbx-inputText-standard.shrink:not(:focus)~label.cbx-inputText-label {
|
|
465
|
+
color: var(--gray3);
|
|
458
466
|
}
|