@elliemae/ds-basic 2.0.0-alpha.0 → 2.0.0-alpha.12
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/cjs/Accordion/index.js +2 -6
- package/cjs/AppPicker/index.js +2 -6
- package/cjs/Backdrop/index.js +2 -6
- package/cjs/Breadcrumb/index.js +2 -6
- package/cjs/Button/index.js +2 -6
- package/cjs/ButtonGroup/index.js +2 -6
- package/cjs/Card/index.js +2 -6
- package/cjs/CircularProgressIndicator/index.js +2 -6
- package/cjs/Grid/index.js +2 -6
- package/cjs/GroupBox/index.js +2 -6
- package/cjs/Header/index.js +2 -6
- package/cjs/Hidden/index.js +2 -6
- package/cjs/Icon/index.js +2 -6
- package/cjs/IndeterminateProgressIndicator/index.js +2 -6
- package/cjs/LabelValue/index.js +2 -6
- package/cjs/ListSectionHeader/index.js +2 -6
- package/cjs/LoadingIndicator/index.js +2 -6
- package/cjs/Menu/index.js +2 -6
- package/cjs/Overlay/index.js +2 -6
- package/cjs/PageHeader/index.js +2 -6
- package/cjs/PageNumber/index.js +2 -6
- package/cjs/Pills/index.js +2 -6
- package/cjs/Popover/index.js +2 -6
- package/cjs/Popper/index.js +2 -6
- package/cjs/Portal/index.js +2 -6
- package/cjs/ProgressIndicator/index.js +2 -6
- package/cjs/ReadMore/index.js +2 -6
- package/cjs/ResizableContainer/index.js +2 -6
- package/cjs/Separator/index.js +2 -6
- package/cjs/SidePanel/index.js +2 -6
- package/cjs/Slider/index.js +2 -6
- package/cjs/Spinner/index.js +2 -6
- package/cjs/Tabs/index.js +2 -6
- package/cjs/TextWrapper/index.js +2 -6
- package/cjs/TimePicker/index.js +6 -18
- package/cjs/Toast/index.js +2 -6
- package/cjs/Toolbar/index.js +2 -6
- package/cjs/Tooltip/index.js +2 -6
- package/cjs/TruncatedExpandableText/index.js +2 -6
- package/cjs/TruncatedTooltipText/index.js +2 -6
- package/cjs/ZipCodeSearch/index.js +2 -6
- package/cjs/Zoom/index.js +2 -6
- package/cjs/form/Checkbox/index.js +2 -6
- package/cjs/form/CheckboxGroup/index.js +2 -6
- package/cjs/form/ComboBox/index.js +3 -17
- package/cjs/form/ComboBoxFreeSolo/index.js +2 -6
- package/cjs/form/DateInput/index.js +2 -6
- package/cjs/form/DateInputV2/index.js +3 -9
- package/cjs/form/ExpandableInput/index.js +2 -6
- package/cjs/form/FloatingLabelInput/index.js +2 -6
- package/cjs/form/FormItem/index.js +5 -15
- package/cjs/form/Input/index.js +2 -6
- package/cjs/form/InputGroup/index.js +2 -6
- package/cjs/form/InputMask/index.js +2 -6
- package/cjs/form/InputProtected/index.js +2 -6
- package/cjs/form/LargeInputText/index.js +2 -6
- package/cjs/form/Radio/index.js +2 -6
- package/cjs/form/RadioGroup/index.js +2 -6
- package/cjs/form/RequiredMark/index.js +2 -6
- package/cjs/form/SearchBox/index.js +5 -15
- package/cjs/form/TextBox/index.js +2 -6
- package/cjs/form/TimeInput/index.js +2 -6
- package/cjs/form/Toggle/index.js +2 -6
- package/cjs/form/index.js +1 -3
- package/cjs/index.js +44 -132
- package/css/dimsum.css +172 -1344
- package/css/dimsum.min.css +2 -2
- package/css/dimsum.min.css.map +1 -1
- package/esm/form/ComboBox/index.js +0 -1
- package/package.json +51 -54
- package/styles/base/_docs/theming.md +1 -1
- package/styles/components/index.scss +0 -2
- package/styles/components/packages/ds-basic/index.scss +0 -2
- package/styles/components/packages/ds-basic/styles/dist-index.scss +0 -2
- package/styles/components/packages/ds-basic/styles/themes/theme-default.scss +1 -1
- package/styles/components/packages/ds-basic/styles/themes/theme-demo.scss +1 -1
- package/styles/components/packages/ds-button/DSButton.scss +10 -10
- package/styles/components/packages/ds-datagrids/DataGrids.scss +1 -0
- package/styles/components/packages/ds-date-picker/components/DatePickerPicker/DatePickerPicker.scss +1 -2
- package/styles/components/packages/ds-form/Checkbox/elements/CheckMark.scss +1 -1
- package/styles/components/packages/ds-form/Input/DSInput.scss +2 -2
- package/styles/components/packages/ds-form/Input/InputAddonWrapper.scss +1 -1
- package/styles/components/packages/ds-form/LargeInputText/DSLargeInputText.scss +1 -1
- package/styles/components/packages/ds-form/Radio/DSRadio.scss +57 -99
- package/styles/components/packages/ds-page-header/v2/components/PageHeaderEditableTitle/PageHeaderEditableTitle.scss +1 -1
- package/styles/components/packages/ds-page-header/v2/components/PageHeaderToolbar/PageHeaderToolbar.scss +0 -1
- package/styles/dist-index.scss +0 -2
- package/styles/themes/theme-default.scss +1 -1
- package/styles/themes/theme-demo.scss +1 -1
- package/types/form/ComboBox/index.d.ts +0 -1
- package/cjs/package.json +0 -7
- package/esm/package.json +0 -7
- package/styles/components/packages/ds-app-picker/DSAppPicker.scss +0 -121
- package/styles/components/packages/ds-tabs/DSTabs.scss +0 -272
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-basic",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "EllieMae UI Design System Library",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -284,69 +284,66 @@
|
|
|
284
284
|
},
|
|
285
285
|
"author": "ICE MT",
|
|
286
286
|
"scripts": {
|
|
287
|
-
"test:e2e": "../../../node_modules
|
|
287
|
+
"test:e2e": "../../../node_modules//node_modules/.bin/wdio run ../../../wdio.conf.js",
|
|
288
288
|
"test:reports": "../../../node_modules/pui-e2e-test-sdk/node_modules/.bin/allure open",
|
|
289
289
|
"copy:scss": "gulp copy-fonts copy-styles copy-packages-scss && gulp copy-dist-index-scss",
|
|
290
290
|
"compile:scss": "node-sass ./styles/dimsum.scss ./dist/css/dimsum.css",
|
|
291
291
|
"prebuild:css": "yarn run copy:scss && yarn run compile:scss",
|
|
292
|
-
"build:css": "postcss ./dist/css/dimsum.css -u autoprefixer -b \"
|
|
292
|
+
"build:css": "postcss ./dist/css/dimsum.css -u autoprefixer -b \"> 0.5% in US, not ie 11, not dead\" -r --no-map && postcss ./dist/css/dimsum.css -m -u cssnano -o ./dist/css/dimsum.min.css",
|
|
293
293
|
"scss:dev": "yarn scss:compile -- --watch",
|
|
294
294
|
"prebuild": "exit 0",
|
|
295
295
|
"build": "node ../../scripts/build/build.js && yarn build:css",
|
|
296
296
|
"dev": "node ../../scripts/build/build.js -w"
|
|
297
297
|
},
|
|
298
298
|
"dependencies": {
|
|
299
|
-
"@elliemae/ds-accordion": "2.0.0-alpha.
|
|
300
|
-
"@elliemae/ds-app-picker": "2.0.0-alpha.
|
|
301
|
-
"@elliemae/ds-backdrop": "2.0.0-alpha.
|
|
302
|
-
"@elliemae/ds-breadcrumb": "2.0.0-alpha.
|
|
303
|
-
"@elliemae/ds-button": "2.0.0-alpha.
|
|
304
|
-
"@elliemae/ds-button-group": "2.0.0-alpha.
|
|
305
|
-
"@elliemae/ds-card": "2.0.0-alpha.
|
|
306
|
-
"@elliemae/ds-circular-progress-indicator": "2.0.0-alpha.
|
|
307
|
-
"@elliemae/ds-
|
|
308
|
-
"@elliemae/ds-
|
|
309
|
-
"@elliemae/ds-
|
|
310
|
-
"@elliemae/ds-
|
|
311
|
-
"@elliemae/ds-
|
|
312
|
-
"@elliemae/ds-
|
|
313
|
-
"@elliemae/ds-
|
|
314
|
-
"@elliemae/ds-
|
|
315
|
-
"@elliemae/ds-
|
|
316
|
-
"@elliemae/ds-
|
|
317
|
-
"@elliemae/ds-
|
|
318
|
-
"@elliemae/ds-
|
|
319
|
-
"@elliemae/ds-
|
|
320
|
-
"@elliemae/ds-
|
|
321
|
-
"@elliemae/ds-
|
|
322
|
-
"@elliemae/ds-
|
|
323
|
-
"@elliemae/ds-
|
|
324
|
-
"@elliemae/ds-
|
|
325
|
-
"@elliemae/ds-
|
|
326
|
-
"@elliemae/ds-
|
|
327
|
-
"@elliemae/ds-
|
|
328
|
-
"@elliemae/ds-
|
|
329
|
-
"@elliemae/ds-
|
|
330
|
-
"@elliemae/ds-
|
|
331
|
-
"@elliemae/ds-
|
|
332
|
-
"@elliemae/ds-
|
|
333
|
-
"@elliemae/ds-
|
|
334
|
-
"@elliemae/ds-
|
|
335
|
-
"@elliemae/ds-
|
|
336
|
-
"@elliemae/ds-
|
|
337
|
-
"@elliemae/ds-
|
|
338
|
-
"@elliemae/ds-
|
|
339
|
-
"@elliemae/ds-text
|
|
340
|
-
"@elliemae/ds-
|
|
341
|
-
"@elliemae/ds-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"@elliemae/ds-zipcode-search": "2.0.0-alpha.0",
|
|
348
|
-
"@elliemae/ds-zoom": "2.0.0-alpha.0",
|
|
349
|
-
"react-dates": "~18.5.0"
|
|
299
|
+
"@elliemae/ds-accordion": "2.0.0-alpha.12",
|
|
300
|
+
"@elliemae/ds-app-picker": "2.0.0-alpha.12",
|
|
301
|
+
"@elliemae/ds-backdrop": "2.0.0-alpha.12",
|
|
302
|
+
"@elliemae/ds-breadcrumb": "2.0.0-alpha.12",
|
|
303
|
+
"@elliemae/ds-button": "2.0.0-alpha.12",
|
|
304
|
+
"@elliemae/ds-button-group": "2.0.0-alpha.12",
|
|
305
|
+
"@elliemae/ds-card": "2.0.0-alpha.12",
|
|
306
|
+
"@elliemae/ds-circular-progress-indicator": "2.0.0-alpha.12",
|
|
307
|
+
"@elliemae/ds-form": "2.0.0-alpha.12",
|
|
308
|
+
"@elliemae/ds-grid": "2.0.0-alpha.12",
|
|
309
|
+
"@elliemae/ds-group-box": "2.0.0-alpha.12",
|
|
310
|
+
"@elliemae/ds-header": "2.0.0-alpha.12",
|
|
311
|
+
"@elliemae/ds-hidden": "2.0.0-alpha.12",
|
|
312
|
+
"@elliemae/ds-icon": "2.0.0-alpha.12",
|
|
313
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.0.0-alpha.12",
|
|
314
|
+
"@elliemae/ds-label-value": "2.0.0-alpha.12",
|
|
315
|
+
"@elliemae/ds-list-section-header": "2.0.0-alpha.12",
|
|
316
|
+
"@elliemae/ds-loading-indicator": "2.0.0-alpha.12",
|
|
317
|
+
"@elliemae/ds-menu": "2.0.0-alpha.12",
|
|
318
|
+
"@elliemae/ds-overlay": "2.0.0-alpha.12",
|
|
319
|
+
"@elliemae/ds-page-header": "2.0.0-alpha.12",
|
|
320
|
+
"@elliemae/ds-page-number": "2.0.0-alpha.12",
|
|
321
|
+
"@elliemae/ds-pills": "2.0.0-alpha.12",
|
|
322
|
+
"@elliemae/ds-popover": "2.0.0-alpha.12",
|
|
323
|
+
"@elliemae/ds-popper": "2.0.0-alpha.12",
|
|
324
|
+
"@elliemae/ds-portal": "2.0.0-alpha.12",
|
|
325
|
+
"@elliemae/ds-progress-indicator": "2.0.0-alpha.12",
|
|
326
|
+
"@elliemae/ds-read-more": "2.0.0-alpha.12",
|
|
327
|
+
"@elliemae/ds-resizeable-container": "2.0.0-alpha.12",
|
|
328
|
+
"@elliemae/ds-separator": "2.0.0-alpha.12",
|
|
329
|
+
"@elliemae/ds-side-panel": "2.0.0-alpha.12",
|
|
330
|
+
"@elliemae/ds-slider": "2.0.0-alpha.12",
|
|
331
|
+
"@elliemae/ds-spinner": "2.0.0-alpha.12",
|
|
332
|
+
"@elliemae/ds-tabs": "2.0.0-alpha.12",
|
|
333
|
+
"@elliemae/ds-text-wrapper": "2.0.0-alpha.12",
|
|
334
|
+
"@elliemae/ds-time-picker": "2.0.0-alpha.12",
|
|
335
|
+
"@elliemae/ds-toast": "2.0.0-alpha.12",
|
|
336
|
+
"@elliemae/ds-toolbar": "2.0.0-alpha.12",
|
|
337
|
+
"@elliemae/ds-tooltip": "2.0.0-alpha.12",
|
|
338
|
+
"@elliemae/ds-truncated-expandable-text": "2.0.0-alpha.12",
|
|
339
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-alpha.12",
|
|
340
|
+
"@elliemae/ds-zipcode-search": "2.0.0-alpha.12",
|
|
341
|
+
"@elliemae/ds-zoom": "2.0.0-alpha.12"
|
|
342
|
+
},
|
|
343
|
+
"devDependencies": {
|
|
344
|
+
"gulp": "~4.0.2",
|
|
345
|
+
"gulp-debug": "~4.0.0",
|
|
346
|
+
"gulp-rename": "~2.0.0"
|
|
350
347
|
},
|
|
351
348
|
"peerDependencies": {
|
|
352
349
|
"lodash": "^4.17.21",
|
|
@@ -61,7 +61,7 @@ $theme-color-neutral-800: #25292F;
|
|
|
61
61
|
$theme-color-neutral-700: #353C46;
|
|
62
62
|
$theme-color-neutral-600: #464F5C;
|
|
63
63
|
$theme-color-neutral-500: #697489;
|
|
64
|
-
$theme-color-neutral-400: #
|
|
64
|
+
$theme-color-neutral-400: #8C93A6;
|
|
65
65
|
$theme-color-neutral-300: #B0B9C8;
|
|
66
66
|
$theme-color-neutral-200: #CBCFD7;
|
|
67
67
|
$theme-color-neutral-100: #E0E3E8;
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
@import 'packages/ds-progress-indicator/DSProgressIndicator';
|
|
28
28
|
@import 'packages/ds-spinner/DSSpinner';
|
|
29
29
|
@import 'packages/ds-loading-indicator/DSLoadingIndicator';
|
|
30
|
-
@import 'packages/ds-tabs/DSTabs';
|
|
31
30
|
@import 'packages/ds-tooltip/v1/DSTooltip';
|
|
32
31
|
@import 'packages/ds-popover/DSPopover';
|
|
33
32
|
@import 'packages/ds-overlay/DSOverlay';
|
|
@@ -48,7 +47,6 @@
|
|
|
48
47
|
@import 'packages/ds-page-number/DSPageNumber';
|
|
49
48
|
@import 'packages/ds-zipcode-search/DSZipCodeSearch';
|
|
50
49
|
@import 'packages/ds-circular-progress-indicator/DSCircularProgressIndicator';
|
|
51
|
-
@import 'packages/ds-app-picker/DSAppPicker';
|
|
52
50
|
|
|
53
51
|
@import '~react-dates/lib/css/_datepicker.css';
|
|
54
52
|
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
@import '../../ds-toast/src/DSToast';
|
|
30
30
|
@import '../../ds-spinner/src/DSSpinner';
|
|
31
31
|
@import '../../ds-loading-indicator/src/DSLoadingIndicator';
|
|
32
|
-
@import '../../ds-tabs/src/DSTabs';
|
|
33
32
|
@import '../../ds-tooltip/src/v1/DSTooltip';
|
|
34
33
|
@import '../../ds-popover/src/DSPopover';
|
|
35
34
|
@import '../../ds-overlay/src/DSOverlay';
|
|
@@ -50,4 +49,3 @@
|
|
|
50
49
|
@import '../../ds-page-number/src/DSPageNumber';
|
|
51
50
|
@import '../../ds-zipcode-search/src/DSZipCodeSearch';
|
|
52
51
|
@import '../../ds-circular-progress-indicator/src/DSCircularProgressIndicator';
|
|
53
|
-
@import '../../ds-app-picker/src/DSAppPicker';
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
@import 'packages/ds-progress-indicator/DSProgressIndicator';
|
|
28
28
|
@import 'packages/ds-spinner/DSSpinner';
|
|
29
29
|
@import 'packages/ds-loading-indicator/DSLoadingIndicator';
|
|
30
|
-
@import 'packages/ds-tabs/DSTabs';
|
|
31
30
|
@import 'packages/ds-tooltip/v1/DSTooltip';
|
|
32
31
|
@import 'packages/ds-popover/DSPopover';
|
|
33
32
|
@import 'packages/ds-overlay/DSOverlay';
|
|
@@ -48,7 +47,6 @@
|
|
|
48
47
|
@import 'packages/ds-page-number/DSPageNumber';
|
|
49
48
|
@import 'packages/ds-zipcode-search/DSZipCodeSearch';
|
|
50
49
|
@import 'packages/ds-circular-progress-indicator/DSCircularProgressIndicator';
|
|
51
|
-
@import 'packages/ds-app-picker/DSAppPicker';
|
|
52
50
|
|
|
53
51
|
@import '~react-dates/lib/css/_datepicker.css';
|
|
54
52
|
|
|
@@ -44,7 +44,7 @@ $theme-color-neutral-800: #25292F;
|
|
|
44
44
|
$theme-color-neutral-700: #353C46;
|
|
45
45
|
$theme-color-neutral-600: #464F5C;
|
|
46
46
|
$theme-color-neutral-500: #697489;
|
|
47
|
-
$theme-color-neutral-400: #
|
|
47
|
+
$theme-color-neutral-400: #8C93A6;
|
|
48
48
|
$theme-color-neutral-300: #B0B9C8;
|
|
49
49
|
$theme-color-neutral-200: #CBCFD7;
|
|
50
50
|
$theme-color-neutral-100: #E0E3E8;
|
|
@@ -42,7 +42,7 @@ $theme-color-neutral-800: #25292F;
|
|
|
42
42
|
$theme-color-neutral-700: #353C46;
|
|
43
43
|
$theme-color-neutral-600: #464F5C;
|
|
44
44
|
$theme-color-neutral-500: #697489;
|
|
45
|
-
$theme-color-neutral-400: #
|
|
45
|
+
$theme-color-neutral-400: #8C93A6;
|
|
46
46
|
$theme-color-neutral-300: #B0B9C8;
|
|
47
47
|
$theme-color-neutral-200: #CBCFD7;
|
|
48
48
|
$theme-color-neutral-100: #E0E3E8;
|
|
@@ -52,7 +52,7 @@ $text-disabled: #5c6574;
|
|
|
52
52
|
position: relative;
|
|
53
53
|
|
|
54
54
|
&:after {
|
|
55
|
-
content:
|
|
55
|
+
content: '';
|
|
56
56
|
position: absolute;
|
|
57
57
|
top: 0;
|
|
58
58
|
left: 0;
|
|
@@ -236,7 +236,7 @@ div.#{$btn-el} {
|
|
|
236
236
|
|
|
237
237
|
@at-root .#{$input-addon-group}__addon {
|
|
238
238
|
.#{$btn-el-text} {
|
|
239
|
-
border: $border-type color(neutral,
|
|
239
|
+
border: $border-type color(neutral, 400);
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
@@ -288,15 +288,15 @@ div.#{$btn-el} {
|
|
|
288
288
|
|
|
289
289
|
// ********************************************
|
|
290
290
|
// Secondary
|
|
291
|
-
.#{$btn-el-secondary}{
|
|
291
|
+
.#{$btn-el-secondary} {
|
|
292
292
|
color: color(brand-primary, 600);
|
|
293
293
|
background-color: color(neutral, 000);
|
|
294
|
-
border: $border-type color(neutral,
|
|
294
|
+
border: $border-type color(neutral, 400);
|
|
295
295
|
border-radius: 2px;
|
|
296
296
|
|
|
297
297
|
@at-root .#{$input-addon-group}__addon {
|
|
298
298
|
.#{$btn-el-secondary} {
|
|
299
|
-
border: $border-type color(neutral,
|
|
299
|
+
border: $border-type color(neutral, 400);
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
|
|
@@ -393,10 +393,10 @@ div.#{$btn-el} {
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
$intent-colors: (
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
'success': color('success', 900),
|
|
397
|
+
'danger': color('danger', 900),
|
|
398
|
+
'warning': color('warning', 900),
|
|
399
|
+
'info': color('brand-primary', 600),
|
|
400
400
|
);
|
|
401
401
|
|
|
402
402
|
@each $intent, $color in $intent-colors {
|
|
@@ -425,7 +425,7 @@ $intent-colors: (
|
|
|
425
425
|
&:hover:not([disabled]),
|
|
426
426
|
&.#{$btn-el-vhover} {
|
|
427
427
|
color: $color;
|
|
428
|
-
|
|
428
|
+
|
|
429
429
|
span.label-wrapper.no-icon {
|
|
430
430
|
&:before {
|
|
431
431
|
background-color: transparent;
|
|
@@ -44,7 +44,7 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
|
|
|
44
44
|
}
|
|
45
45
|
@mixin withReadOnly() {
|
|
46
46
|
border: none;
|
|
47
|
-
border-top: calc(#{space(xxs)} * 0.25) solid color(neutral,
|
|
47
|
+
border-top: calc(#{space(xxs)} * 0.25) solid color(neutral, 400);
|
|
48
48
|
background: none;
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -65,7 +65,7 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
|
|
|
65
65
|
padding: 0 space(xs);
|
|
66
66
|
z-index: 1;
|
|
67
67
|
@include border-radius($radius);
|
|
68
|
-
border: $border-type color(neutral,
|
|
68
|
+
border: $border-type color(neutral, 400);
|
|
69
69
|
text-overflow: ellipsis;
|
|
70
70
|
|
|
71
71
|
&::-ms-clear {
|
|
@@ -29,7 +29,7 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
|
|
|
29
29
|
.#{$input-addon-wrapper} {
|
|
30
30
|
@include border-radius($radius);
|
|
31
31
|
display: flex;
|
|
32
|
-
box-shadow: inset 0 0 0 1px color(neutral,
|
|
32
|
+
box-shadow: inset 0 0 0 1px color(neutral, 400);
|
|
33
33
|
height: $input-height;
|
|
34
34
|
width: 100%;
|
|
35
35
|
|
|
@@ -34,7 +34,7 @@ $min-height: space(m) * 1.17;
|
|
|
34
34
|
background: color(neutral, 000);
|
|
35
35
|
transition: border duration(base) easing(base);
|
|
36
36
|
@include border-radius($radius);
|
|
37
|
-
|
|
37
|
+
box-shadow: inset 0 0 0 1px color(neutral, 400);
|
|
38
38
|
padding: 1px;
|
|
39
39
|
&:focus-within {
|
|
40
40
|
padding: 0;
|
|
@@ -16,7 +16,9 @@ $el-children: #{$el-container}__radio-children;
|
|
|
16
16
|
// ********************************************
|
|
17
17
|
// local
|
|
18
18
|
$border-type: solid 1px;
|
|
19
|
+
$border-type-focus: solid 2px;
|
|
19
20
|
$border-type-mobile: solid 2px;
|
|
21
|
+
$border-type-focus-mobile: solid 3px;
|
|
20
22
|
|
|
21
23
|
.#{$el-input} {
|
|
22
24
|
position: absolute;
|
|
@@ -40,28 +42,13 @@ $border-type-mobile: solid 2px;
|
|
|
40
42
|
min-width: space(s);
|
|
41
43
|
height: space(s);
|
|
42
44
|
margin-right: space(xs);
|
|
43
|
-
border: $border-type color(neutral,
|
|
45
|
+
border: $border-type color(neutral, 400);
|
|
44
46
|
background: color(neutral, 000);
|
|
45
47
|
display: inline-flex;
|
|
46
48
|
justify-content: center;
|
|
47
49
|
align-items: center;
|
|
48
50
|
align-self: flex-start;
|
|
49
51
|
position: relative;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
|
|
52
|
-
&:after {
|
|
53
|
-
@include border-radius(50%);
|
|
54
|
-
transition: duration(base) easing(base);
|
|
55
|
-
width: space(xs);
|
|
56
|
-
height: space(xs);
|
|
57
|
-
}
|
|
58
|
-
&:hover {
|
|
59
|
-
@include dsFocus();
|
|
60
|
-
border: $border-type color(brand-primary, 600);
|
|
61
|
-
}
|
|
62
|
-
&:focus {
|
|
63
|
-
@include dsFocus();
|
|
64
|
-
}
|
|
65
52
|
}
|
|
66
53
|
|
|
67
54
|
.#{$el-label} {
|
|
@@ -81,60 +68,43 @@ $border-type-mobile: solid 2px;
|
|
|
81
68
|
width: fit-content;
|
|
82
69
|
padding-bottom: space(s);
|
|
83
70
|
circle.unchecked {
|
|
84
|
-
fill: color(neutral,
|
|
71
|
+
fill: color(neutral, 000);
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
.#{$el-label} {
|
|
88
75
|
&:hover {
|
|
89
76
|
.#{$el-button} {
|
|
90
|
-
border:
|
|
91
|
-
}
|
|
92
|
-
.#{$el-input} {
|
|
93
|
-
&:checked + .#{$el-button} {
|
|
94
|
-
@include dsFocus();
|
|
95
|
-
background-color: color(neutral, 000);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&:active {
|
|
100
|
-
.#{$el-button} {
|
|
101
|
-
@include dsFocus();
|
|
77
|
+
border-color: color(brand-primary, 600);
|
|
102
78
|
background-color: color(brand-primary, 200);
|
|
103
79
|
}
|
|
104
80
|
circle.unchecked {
|
|
105
81
|
fill: color(brand-primary, 200);
|
|
106
82
|
}
|
|
107
83
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
84
|
+
.#{$el-button} {
|
|
85
|
+
&:focus {
|
|
86
|
+
box-shadow: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&:focus:not(:active) {
|
|
90
|
+
border: $border-type-focus color(brand-primary, 700);
|
|
111
91
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
@include dsFocus();
|
|
92
|
+
|
|
93
|
+
&:active {
|
|
115
94
|
background-color: color(neutral, 000);
|
|
95
|
+
circle.unchecked {
|
|
96
|
+
fill: color(neutral, 000);
|
|
116
97
|
}
|
|
117
98
|
}
|
|
118
|
-
circle.unchecked {
|
|
119
|
-
fill: color(brand-primary, 200);
|
|
120
|
-
}
|
|
121
99
|
}
|
|
122
100
|
}
|
|
123
101
|
|
|
124
102
|
.#{$el-input} {
|
|
125
103
|
&:checked + .#{$el-button} {
|
|
126
|
-
border-color: color(brand-primary, 600);
|
|
127
104
|
circle.checked {
|
|
128
105
|
fill: color(brand-primary, 600);
|
|
129
106
|
}
|
|
130
107
|
}
|
|
131
|
-
|
|
132
|
-
&:checked + &:hover,
|
|
133
|
-
&:checked + &:focus {
|
|
134
|
-
border-color: color(brand-primary, 600);
|
|
135
|
-
background-color: color(neutral, 000);
|
|
136
|
-
@include dsFocus();
|
|
137
|
-
}
|
|
138
108
|
}
|
|
139
109
|
}
|
|
140
110
|
|
|
@@ -142,32 +112,27 @@ $border-type-mobile: solid 2px;
|
|
|
142
112
|
// Error container & elements *****
|
|
143
113
|
.#{$el-container-error} {
|
|
144
114
|
.#{$el-button} {
|
|
145
|
-
border:
|
|
146
|
-
&:focus {
|
|
147
|
-
border-color: color(brand-primary, 600);
|
|
148
|
-
}
|
|
115
|
+
border-color: color(danger, 900);
|
|
149
116
|
}
|
|
150
117
|
|
|
151
118
|
.#{$el-label} {
|
|
152
119
|
&:hover {
|
|
153
|
-
.#{$el-button} {
|
|
154
|
-
border:
|
|
120
|
+
.#{$el-button}:not(:focus) {
|
|
121
|
+
border-color: color(danger, 900);
|
|
155
122
|
}
|
|
156
123
|
}
|
|
157
124
|
&:active {
|
|
158
125
|
.#{$el-button} {
|
|
159
|
-
|
|
160
|
-
box-shadow: unset;
|
|
126
|
+
border-color: color(danger, 900);;
|
|
161
127
|
}
|
|
162
128
|
circle.unchecked {
|
|
163
|
-
fill: color(
|
|
129
|
+
fill: color(neutral, 080);
|
|
164
130
|
}
|
|
165
131
|
}
|
|
166
132
|
}
|
|
167
133
|
|
|
168
134
|
.#{$el-input} {
|
|
169
135
|
&:checked + .#{$el-button} {
|
|
170
|
-
border-color: color(danger, 900);
|
|
171
136
|
circle.checked {
|
|
172
137
|
fill: color(danger, 900);
|
|
173
138
|
}
|
|
@@ -179,29 +144,37 @@ $border-type-mobile: solid 2px;
|
|
|
179
144
|
// Disabled container & elements *****
|
|
180
145
|
.#{$el-container-disabled} {
|
|
181
146
|
circle.checked {
|
|
182
|
-
fill: color(neutral,
|
|
147
|
+
fill: color(neutral, 400);
|
|
148
|
+
}
|
|
149
|
+
circle.unchecked {
|
|
150
|
+
fill: color(neutral, 080);
|
|
183
151
|
}
|
|
184
152
|
|
|
185
153
|
.#{$el-label} {
|
|
186
154
|
cursor: not-allowed;
|
|
187
155
|
&:hover {
|
|
188
156
|
.#{$el-button} {
|
|
189
|
-
border-color: color(neutral,
|
|
157
|
+
border-color: color(neutral, 400);
|
|
158
|
+
background-color: color(neutral, 080);
|
|
190
159
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
background-color: color(neutral, 080);
|
|
194
|
-
}
|
|
160
|
+
circle.unchecked {
|
|
161
|
+
fill: color(neutral, 080);
|
|
195
162
|
}
|
|
196
163
|
}
|
|
197
164
|
&:active {
|
|
198
165
|
.#{$el-button} {
|
|
199
|
-
background: color(neutral, 080);
|
|
166
|
+
background-color: color(neutral, 080);
|
|
200
167
|
}
|
|
201
168
|
circle.unchecked {
|
|
202
169
|
fill: color(neutral, 080);
|
|
203
170
|
}
|
|
204
171
|
}
|
|
172
|
+
|
|
173
|
+
.#{$el-input} {
|
|
174
|
+
&:checked + .#{$el-button} {
|
|
175
|
+
background-color: color(neutral, 080);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
205
178
|
}
|
|
206
179
|
|
|
207
180
|
.#{$el-text} {
|
|
@@ -210,27 +183,9 @@ $border-type-mobile: solid 2px;
|
|
|
210
183
|
|
|
211
184
|
.#{$el-button} {
|
|
212
185
|
pointer-events: none;
|
|
213
|
-
border-color: color(neutral, 500);
|
|
214
186
|
background: color(neutral, 080);
|
|
215
|
-
circle.unchecked {
|
|
216
|
-
fill: transparent;
|
|
217
|
-
}
|
|
218
187
|
&:hover {
|
|
219
|
-
border-color: color(neutral,
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.#{$el-input} {
|
|
224
|
-
background-color: color(neutral, 080);
|
|
225
|
-
&:checked + .#{$el-button} {
|
|
226
|
-
border-color: color(neutral, 500);
|
|
227
|
-
circle.checked {
|
|
228
|
-
fill: color(neutral, 500);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
&:checked + .#{$el-text} {
|
|
233
|
-
color: color(neutral, 500);
|
|
188
|
+
border-color: color(neutral, 400);
|
|
234
189
|
}
|
|
235
190
|
}
|
|
236
191
|
}
|
|
@@ -238,17 +193,15 @@ $border-type-mobile: solid 2px;
|
|
|
238
193
|
// ********************************************
|
|
239
194
|
// Read only container & elements *****
|
|
240
195
|
.#{$el-container-read-only} {
|
|
241
|
-
.#{$el-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
196
|
+
.#{$el-label} {
|
|
197
|
+
&:hover {
|
|
198
|
+
.#{$el-button} {
|
|
199
|
+
border-color: color(neutral, 400);
|
|
200
|
+
}
|
|
246
201
|
}
|
|
247
202
|
}
|
|
248
|
-
|
|
249
203
|
.#{$el-input} {
|
|
250
204
|
&:checked + .#{$el-button} {
|
|
251
|
-
border-color: color(neutral, 500);
|
|
252
205
|
circle.checked {
|
|
253
206
|
fill: color(neutral, 500);
|
|
254
207
|
}
|
|
@@ -264,11 +217,18 @@ $border-type-mobile: solid 2px;
|
|
|
264
217
|
.#{$el-container} {
|
|
265
218
|
padding-bottom: calc(#{space(m)} * 0.4);
|
|
266
219
|
-webkit-tap-highlight-color: transparent;
|
|
267
|
-
}
|
|
268
|
-
.#{$el-label} {
|
|
269
|
-
padding: calc(#{space(xxs)} * 0.81) 0;
|
|
270
|
-
}
|
|
271
220
|
|
|
221
|
+
.#{$el-label} {
|
|
222
|
+
padding: calc(#{space(xxs)} * 0.81) 0;
|
|
223
|
+
.#{$el-button} {
|
|
224
|
+
border: $border-type-mobile color(neutral, 400);
|
|
225
|
+
&:focus {
|
|
226
|
+
border: $border-type-focus-mobile color(brand-primary, 700);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
272
232
|
.#{$el-button} {
|
|
273
233
|
width: calc(#{space(s)} * 1.22);
|
|
274
234
|
min-width: calc(#{space(s)} * 1.22);
|
|
@@ -278,12 +238,10 @@ $border-type-mobile: solid 2px;
|
|
|
278
238
|
}
|
|
279
239
|
|
|
280
240
|
.#{$el-container-error} {
|
|
281
|
-
.#{$el-
|
|
282
|
-
|
|
241
|
+
.#{$el-label} { // added this specificity so it correctly overwrites the error state
|
|
242
|
+
.#{$el-button} {
|
|
243
|
+
border: $border-type-mobile color(danger, 900);
|
|
244
|
+
}
|
|
283
245
|
}
|
|
284
246
|
}
|
|
285
|
-
|
|
286
|
-
.#{$el-button} svg circle {
|
|
287
|
-
r: 6;
|
|
288
|
-
}
|
|
289
247
|
}
|
package/styles/dist-index.scss
CHANGED
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
@import 'packages/ds-progress-indicator/DSProgressIndicator';
|
|
28
28
|
@import 'packages/ds-spinner/DSSpinner';
|
|
29
29
|
@import 'packages/ds-loading-indicator/DSLoadingIndicator';
|
|
30
|
-
@import 'packages/ds-tabs/DSTabs';
|
|
31
30
|
@import 'packages/ds-tooltip/v1/DSTooltip';
|
|
32
31
|
@import 'packages/ds-popover/DSPopover';
|
|
33
32
|
@import 'packages/ds-overlay/DSOverlay';
|
|
@@ -48,7 +47,6 @@
|
|
|
48
47
|
@import 'packages/ds-page-number/DSPageNumber';
|
|
49
48
|
@import 'packages/ds-zipcode-search/DSZipCodeSearch';
|
|
50
49
|
@import 'packages/ds-circular-progress-indicator/DSCircularProgressIndicator';
|
|
51
|
-
@import 'packages/ds-app-picker/DSAppPicker';
|
|
52
50
|
|
|
53
51
|
@import '~react-dates/lib/css/_datepicker.css';
|
|
54
52
|
|