@corva/ui 0.99.0-6 → 0.99.0-8
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-bundle/componentsV2/Button/Button.scss.js +1 -1
- package/cjs-bundle/componentsV2/Checkbox/Checkbox.js +1 -0
- package/cjs-bundle/componentsV2/CheckboxGroup/CheckboxGroup.js +1 -0
- package/cjs-bundle/componentsV2/Chip/Chip.js +1 -0
- package/cjs-bundle/componentsV2/Chip/Chip.scss.js +1 -0
- package/cjs-bundle/componentsV2/LoaderCircular/LoaderCircular.js +1 -0
- package/cjs-bundle/componentsV2/Popover/Popover.js +1 -1
- package/cjs-bundle/componentsV2/Radio/Radio.js +1 -0
- package/cjs-bundle/componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.js +1 -0
- package/cjs-bundle/componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js +1 -0
- package/cjs-bundle/componentsV2/RadioAndCheckboxLabel/RadioAndCheckboxLabel.js +1 -0
- package/cjs-bundle/componentsV2/RadioAndCheckboxLabel/RadioAndCheckboxLabel.scss.js +1 -0
- package/cjs-bundle/componentsV2/RadioGroup/RadioGroup.js +1 -0
- package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -0
- package/cjs-bundle/componentsV2/TextInput/TextInput.scss.js +1 -0
- package/cjs-bundle/componentsV2/TextInput/useShrink.js +1 -0
- package/cjs-bundle/componentsV2/TextLink/TextLink.js +1 -0
- package/cjs-bundle/componentsV2/TextLink/TextLink.scss.js +1 -0
- package/cjs-bundle/componentsV2/TextMiddleTruncated/TextMiddleTruncated.js +1 -0
- package/cjs-bundle/componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js +1 -0
- package/cjs-bundle/componentsV2/TextTruncated/TextTruncated.js +1 -0
- package/cjs-bundle/componentsV2/TextTruncated/TextTruncated.scss.js +1 -0
- package/cjs-bundle/componentsV2/Tooltip/Tooltip.js +1 -1
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/icons/customIcons/icons/Checkbox.js +1 -1
- package/cjs-bundle/icons/customIcons/icons/CheckboxChecked.js +1 -1
- package/cjs-bundle/icons/customIcons/icons/CheckboxIndeterminate.js +1 -1
- package/cjs-bundle/icons/customIcons/icons/RadioChecked.js +1 -1
- package/componentsV2/Button/Button.d.ts.map +1 -1
- package/componentsV2/Button/Button.scss.js +1 -1
- package/componentsV2/ButtonIcon/ButtonIcon.d.ts.map +1 -1
- package/componentsV2/Checkbox/Checkbox.d.ts +27 -0
- package/componentsV2/Checkbox/Checkbox.d.ts.map +1 -0
- package/componentsV2/Checkbox/Checkbox.js +1 -0
- package/componentsV2/Checkbox/Checkbox.stories.d.ts +12 -0
- package/componentsV2/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/componentsV2/Checkbox/index.d.ts +2 -0
- package/componentsV2/Checkbox/index.d.ts.map +1 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.d.ts +11 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.js +1 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts +12 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
- package/componentsV2/CheckboxGroup/index.d.ts +2 -0
- package/componentsV2/CheckboxGroup/index.d.ts.map +1 -0
- package/componentsV2/Chip/Chip.d.ts +19 -0
- package/componentsV2/Chip/Chip.d.ts.map +1 -0
- package/componentsV2/Chip/Chip.js +1 -0
- package/componentsV2/Chip/Chip.scss.js +1 -0
- package/componentsV2/Chip/Chip.stories.d.ts +13 -0
- package/componentsV2/Chip/Chip.stories.d.ts.map +1 -0
- package/componentsV2/Chip/index.d.ts +2 -0
- package/componentsV2/Chip/index.d.ts.map +1 -0
- package/componentsV2/LoaderCircular/LoaderCircular.d.ts +11 -0
- package/componentsV2/LoaderCircular/LoaderCircular.d.ts.map +1 -0
- package/componentsV2/LoaderCircular/LoaderCircular.js +1 -0
- package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts +10 -0
- package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts.map +1 -0
- package/componentsV2/LoaderCircular/index.d.ts +2 -0
- package/componentsV2/LoaderCircular/index.d.ts.map +1 -0
- package/componentsV2/Popover/Popover.d.ts +1 -1
- package/componentsV2/Popover/Popover.d.ts.map +1 -1
- package/componentsV2/Popover/Popover.js +1 -1
- package/componentsV2/Radio/Radio.d.ts +19 -0
- package/componentsV2/Radio/Radio.d.ts.map +1 -0
- package/componentsV2/Radio/Radio.js +1 -0
- package/componentsV2/Radio/Radio.stories.d.ts +11 -0
- package/componentsV2/Radio/Radio.stories.d.ts.map +1 -0
- package/componentsV2/Radio/index.d.ts +2 -0
- package/componentsV2/Radio/index.d.ts.map +1 -0
- package/componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.d.ts +37 -0
- package/componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.d.ts.map +1 -0
- package/componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.js +1 -0
- package/componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js +1 -0
- package/componentsV2/RadioAndCheckboxGroup/index.d.ts +2 -0
- package/componentsV2/RadioAndCheckboxGroup/index.d.ts.map +1 -0
- package/componentsV2/RadioAndCheckboxLabel/RadioAndCheckboxLabel.d.ts +30 -0
- package/componentsV2/RadioAndCheckboxLabel/RadioAndCheckboxLabel.d.ts.map +1 -0
- package/componentsV2/RadioAndCheckboxLabel/RadioAndCheckboxLabel.js +1 -0
- package/componentsV2/RadioAndCheckboxLabel/RadioAndCheckboxLabel.scss.js +1 -0
- package/componentsV2/RadioAndCheckboxLabel/index.d.ts +3 -0
- package/componentsV2/RadioAndCheckboxLabel/index.d.ts.map +1 -0
- package/componentsV2/RadioGroup/RadioGroup.d.ts +11 -0
- package/componentsV2/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/componentsV2/RadioGroup/RadioGroup.js +1 -0
- package/componentsV2/RadioGroup/RadioGroup.stories.d.ts +12 -0
- package/componentsV2/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
- package/componentsV2/RadioGroup/index.d.ts +2 -0
- package/componentsV2/RadioGroup/index.d.ts.map +1 -0
- package/componentsV2/TextInput/TextInput.d.ts +30 -0
- package/componentsV2/TextInput/TextInput.d.ts.map +1 -0
- package/componentsV2/TextInput/TextInput.js +1 -0
- package/componentsV2/TextInput/TextInput.scss.js +1 -0
- package/componentsV2/TextInput/TextInput.stories.d.ts +15 -0
- package/componentsV2/TextInput/TextInput.stories.d.ts.map +1 -0
- package/componentsV2/TextInput/index.d.ts +2 -0
- package/componentsV2/TextInput/index.d.ts.map +1 -0
- package/componentsV2/TextInput/useShrink.d.ts +24 -0
- package/componentsV2/TextInput/useShrink.d.ts.map +1 -0
- package/componentsV2/TextInput/useShrink.js +1 -0
- package/componentsV2/TextLink/TextLink.d.ts +28 -0
- package/componentsV2/TextLink/TextLink.d.ts.map +1 -0
- package/componentsV2/TextLink/TextLink.js +1 -0
- package/componentsV2/TextLink/TextLink.scss.js +1 -0
- package/componentsV2/TextLink/TextLink.stories.d.ts +10 -0
- package/componentsV2/TextLink/TextLink.stories.d.ts.map +1 -0
- package/componentsV2/TextLink/index.d.ts +2 -0
- package/componentsV2/TextLink/index.d.ts.map +1 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.d.ts +11 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.d.ts.map +1 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.js +1 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js +1 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts +9 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts.map +1 -0
- package/componentsV2/TextMiddleTruncated/index.d.ts +2 -0
- package/componentsV2/TextMiddleTruncated/index.d.ts.map +1 -0
- package/componentsV2/TextTruncated/TextTruncated.d.ts +15 -0
- package/componentsV2/TextTruncated/TextTruncated.d.ts.map +1 -0
- package/componentsV2/TextTruncated/TextTruncated.js +1 -0
- package/componentsV2/TextTruncated/TextTruncated.scss.js +1 -0
- package/componentsV2/TextTruncated/TextTruncated.stories.d.ts +11 -0
- package/componentsV2/TextTruncated/TextTruncated.stories.d.ts.map +1 -0
- package/componentsV2/TextTruncated/index.d.ts +2 -0
- package/componentsV2/TextTruncated/index.d.ts.map +1 -0
- package/componentsV2/Tooltip/Tooltip.js +1 -1
- package/componentsV2/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/componentsV2/index.d.ts +10 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/icons/customIcons/icons/Checkbox.d.ts.map +1 -1
- package/icons/customIcons/icons/Checkbox.js +1 -1
- package/icons/customIcons/icons/CheckboxChecked.d.ts.map +1 -1
- package/icons/customIcons/icons/CheckboxChecked.js +1 -1
- package/icons/customIcons/icons/CheckboxIndeterminate.d.ts.map +1 -1
- package/icons/customIcons/icons/CheckboxIndeterminate.js +1 -1
- package/icons/customIcons/icons/RadioChecked.d.ts.map +1 -1
- package/icons/customIcons/icons/RadioChecked.js +1 -1
- package/package.json +1 -1
- package/storyBookHelpers/components.d.ts +1 -0
- package/storyBookHelpers/components.d.ts.map +1 -1
- package/styles/common.scss +15 -1
- package/styles/utils.scss +13 -0
- package/styles/vars.base.scss +2 -1
package/styles/common.scss
CHANGED
|
@@ -51,7 +51,8 @@ $palette_p16: var(--palette-pastel-p-16);
|
|
|
51
51
|
|
|
52
52
|
/* Other common variables ./src/styles/vars.base.scss */
|
|
53
53
|
$spacing: 8px;
|
|
54
|
-
$
|
|
54
|
+
$transition_parameters: cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
|
|
55
|
+
$transition: all $transition_parameters;
|
|
55
56
|
$fontFamily: 'Roboto', sans-serif;
|
|
56
57
|
|
|
57
58
|
:export {
|
|
@@ -78,3 +79,16 @@ $fontFamily: 'Roboto', sans-serif;
|
|
|
78
79
|
|
|
79
80
|
@return ($top * $spacing) ($right * $spacing) ($bottom * $spacing) ($left * $spacing);
|
|
80
81
|
}
|
|
82
|
+
|
|
83
|
+
@function transition($properties...) {
|
|
84
|
+
$result: '';
|
|
85
|
+
@each $property in $properties {
|
|
86
|
+
@if ($result != '') {
|
|
87
|
+
$result: $result + ', ';
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
$result: $result + $property + ' ' + $transition_parameters;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@return #{$result};
|
|
94
|
+
}
|
package/styles/utils.scss
CHANGED
|
@@ -17,3 +17,16 @@
|
|
|
17
17
|
|
|
18
18
|
@return ($top * $spacing) ($right * $spacing) ($bottom * $spacing) ($left * $spacing);
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
@function transition($properties...) {
|
|
22
|
+
$result: '';
|
|
23
|
+
@each $property in $properties {
|
|
24
|
+
@if ($result != '') {
|
|
25
|
+
$result: $result + ', ';
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
$result: $result + $property + ' ' + $transition_parameters;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@return #{$result};
|
|
32
|
+
}
|