@indico-data/design-system 2.15.1 → 2.17.0
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/lib/index.esm.js +0 -41
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +0 -41
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/button/Button.stories.tsx +25 -9
- package/src/legacy/styles/globals/forms.ts +0 -39
package/lib/index.esm.js
CHANGED
|
@@ -477,8 +477,6 @@ const UtilityClasses = createGlobalStyle `
|
|
|
477
477
|
}
|
|
478
478
|
`;
|
|
479
479
|
|
|
480
|
-
const formBoxShadow = 'inset 0 0 0 rgba(#000, 0)';
|
|
481
|
-
const formBoxShadowFocus = formBoxShadow;
|
|
482
480
|
const Forms = createGlobalStyle `
|
|
483
481
|
fieldset {
|
|
484
482
|
background-color: transparent;
|
|
@@ -507,47 +505,8 @@ const Forms = createGlobalStyle `
|
|
|
507
505
|
font-size: ${typography.fontSize.subheadSmall};
|
|
508
506
|
}
|
|
509
507
|
|
|
510
|
-
[type='color'],
|
|
511
|
-
[type='date'],
|
|
512
|
-
[type='datetime'],
|
|
513
|
-
[type='datetime-local'],
|
|
514
|
-
[type='email'],
|
|
515
|
-
[type='month'],
|
|
516
|
-
[type='number'],
|
|
517
|
-
[type='password'],
|
|
518
|
-
[type='search'],
|
|
519
|
-
[type='tel'],
|
|
520
|
-
[type='text'],
|
|
521
|
-
[type='time'],
|
|
522
|
-
[type='url'],
|
|
523
|
-
[type='week'],
|
|
524
|
-
input:not([type]),
|
|
525
|
-
textarea {
|
|
526
|
-
appearance: none;
|
|
527
|
-
border-radius: 2px;
|
|
528
|
-
box-shadow: ${formBoxShadow};
|
|
529
|
-
box-sizing: border-box;
|
|
530
|
-
margin-bottom: ${typography.spacing.half};
|
|
531
|
-
padding: ${typography.spacing.third};
|
|
532
|
-
transition: border-color ${animation.duration} ${animation.timing};
|
|
533
|
-
width: 100%;
|
|
534
|
-
|
|
535
|
-
&:focus {
|
|
536
|
-
border-color: ${allColors.actionColor};
|
|
537
|
-
box-shadow: ${formBoxShadowFocus};
|
|
538
|
-
outline: none;
|
|
539
|
-
}
|
|
540
508
|
|
|
541
|
-
&:disabled {
|
|
542
|
-
cursor: not-allowed;
|
|
543
509
|
|
|
544
|
-
&:hover {
|
|
545
|
-
border: 1px solid ${allColors.lightGray};
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}
|
|
551
510
|
|
|
552
511
|
textarea {
|
|
553
512
|
resize: vertical;
|