@rovula/ui 0.0.29 → 0.0.31
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/cjs/bundle.css +139 -69
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +12 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +18 -0
- package/dist/cjs/types/components/InputFilter/InputFilter.d.ts +64 -0
- package/dist/cjs/types/components/InputFilter/InputFilter.stories.d.ts +370 -0
- package/dist/cjs/types/components/InputFilter/InputFilter.styles.d.ts +8 -0
- package/dist/cjs/types/components/Search/Search.d.ts +2 -20
- package/dist/cjs/types/components/Search/Search.stories.d.ts +26 -38
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +10 -0
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +10 -0
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/components/ActionButton/ActionButton.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/DatePicker/DatePicker.js +2 -1
- package/dist/components/Dropdown/Dropdown.js +34 -19
- package/dist/components/Dropdown/Dropdown.stories.js +1 -0
- package/dist/components/Dropdown/Dropdown.styles.js +1 -1
- package/dist/components/InputFilter/InputFilter.js +124 -0
- package/dist/components/InputFilter/InputFilter.stories.js +34 -0
- package/dist/components/InputFilter/InputFilter.styles.js +65 -0
- package/dist/components/RadioGroup/RadioGroup.js +5 -2
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Search/Search.stories.js +2 -1
- package/dist/components/TextInput/TextInput.js +23 -6
- package/dist/components/TextInput/TextInput.styles.js +94 -20
- package/dist/esm/bundle.css +139 -69
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +12 -0
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +18 -0
- package/dist/esm/types/components/InputFilter/InputFilter.d.ts +64 -0
- package/dist/esm/types/components/InputFilter/InputFilter.stories.d.ts +370 -0
- package/dist/esm/types/components/InputFilter/InputFilter.styles.d.ts +8 -0
- package/dist/esm/types/components/Search/Search.d.ts +2 -20
- package/dist/esm/types/components/Search/Search.stories.d.ts +26 -38
- package/dist/esm/types/components/TextInput/TextInput.d.ts +10 -0
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +10 -0
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +1 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +82 -16
- package/dist/index.js +1 -0
- package/dist/src/theme/global.css +278 -161
- package/dist/theme/presets/colors.js +21 -0
- package/dist/theme/themes/xspector/color.css +13 -0
- package/dist/theme/themes/xspector/components/action-button.css +44 -42
- package/dist/theme/themes/xspector/state.css +1 -1
- package/dist/theme/tokens/color.css +13 -0
- package/dist/theme/tokens/components/action-button.css +42 -42
- package/package.json +1 -1
- package/src/components/ActionButton/ActionButton.stories.tsx +1 -1
- package/src/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/src/components/Checkbox/Checkbox.tsx +4 -4
- package/src/components/DatePicker/DatePicker.tsx +4 -2
- package/src/components/Dropdown/Dropdown.stories.tsx +1 -0
- package/src/components/Dropdown/Dropdown.styles.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +69 -38
- package/src/components/InputFilter/InputFilter.stories.tsx +72 -0
- package/src/components/InputFilter/InputFilter.styles.ts +74 -0
- package/src/components/InputFilter/InputFilter.tsx +314 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/src/components/RadioGroup/RadioGroup.tsx +7 -9
- package/src/components/Search/Search.stories.tsx +3 -2
- package/src/components/Search/Search.tsx +13 -2
- package/src/components/TextInput/TextInput.styles.ts +94 -20
- package/src/components/TextInput/TextInput.tsx +53 -11
- package/src/index.ts +1 -0
- package/src/theme/presets/colors.js +21 -0
- package/src/theme/themes/xspector/color.css +13 -0
- package/src/theme/themes/xspector/components/action-button.css +44 -42
- package/src/theme/themes/xspector/state.css +1 -1
- package/src/theme/tokens/color.css +13 -0
- package/src/theme/tokens/components/action-button.css +42 -42
|
@@ -12,34 +12,34 @@
|
|
|
12
12
|
/* ------------------------------------------------------------------ */
|
|
13
13
|
|
|
14
14
|
/* Default State */
|
|
15
|
-
--action-button-solid-default-bg: var(--
|
|
16
|
-
--action-button-solid-default-border: var(--
|
|
17
|
-
--action-button-solid-default-text: var(--
|
|
15
|
+
--action-button-solid-default-bg: var(--function-default-solid);
|
|
16
|
+
--action-button-solid-default-border: var(--function-default-solid);
|
|
17
|
+
--action-button-solid-default-text: var(--function-default-icon);
|
|
18
18
|
|
|
19
19
|
/* Hover State */
|
|
20
|
-
--action-button-solid-hover-bg: var(--
|
|
21
|
-
--action-button-solid-hover-border: var(--
|
|
22
|
-
--action-button-solid-hover-text: var(--
|
|
20
|
+
--action-button-solid-hover-bg: var(--function-default-hover);
|
|
21
|
+
--action-button-solid-hover-border: var(--function-default-hover);
|
|
22
|
+
--action-button-solid-hover-text: var(--function-default-icon);
|
|
23
23
|
|
|
24
24
|
/* Pressed State */
|
|
25
|
-
--action-button-solid-pressed-bg: var(--
|
|
26
|
-
--action-button-solid-pressed-border: var(--
|
|
27
|
-
--action-button-solid-pressed-text: var(--
|
|
25
|
+
--action-button-solid-pressed-bg: var(--function-default-solid);
|
|
26
|
+
--action-button-solid-pressed-border: var(--function-default-solid);
|
|
27
|
+
--action-button-solid-pressed-text: var(--function-default-icon);
|
|
28
28
|
|
|
29
29
|
/* Active State */
|
|
30
|
-
--action-button-solid-active-bg: var(--
|
|
31
|
-
--action-button-solid-active-border: var(--
|
|
32
|
-
--action-button-solid-active-text: var(--
|
|
30
|
+
--action-button-solid-active-bg: var(--function-active-solid);
|
|
31
|
+
--action-button-solid-active-border: var(--function-active-solid);
|
|
32
|
+
--action-button-solid-active-text: var(--function-active-icon);
|
|
33
33
|
|
|
34
34
|
/* Active Hover State */
|
|
35
|
-
--action-button-solid-active-hover-bg: var(--
|
|
36
|
-
--action-button-solid-active-hover-border: var(--
|
|
37
|
-
--action-button-solid-active-hover-text: var(--
|
|
35
|
+
--action-button-solid-active-hover-bg: var(--function-active-hover);
|
|
36
|
+
--action-button-solid-active-hover-border: var(--function-active-hover);
|
|
37
|
+
--action-button-solid-active-hover-text: var(--function-active-icon);
|
|
38
38
|
|
|
39
39
|
/* Active Pressed State */
|
|
40
|
-
--action-button-solid-active-pressed-bg: var(--
|
|
41
|
-
--action-button-solid-active-pressed-border: var(--
|
|
42
|
-
--action-button-solid-active-pressed-text: var(--
|
|
40
|
+
--action-button-solid-active-pressed-bg: var(--function-active-solid);
|
|
41
|
+
--action-button-solid-active-pressed-border: var(--function-active-solid);
|
|
42
|
+
--action-button-solid-active-pressed-text: var(--function-active-icon);
|
|
43
43
|
|
|
44
44
|
/* Disabled State */
|
|
45
45
|
--action-button-solid-disabled-bg: var(--state-color-disable-solid);
|
|
@@ -53,33 +53,33 @@
|
|
|
53
53
|
|
|
54
54
|
/* Default State */
|
|
55
55
|
--action-button-outline-default-bg: transparent;
|
|
56
|
-
--action-button-outline-default-border: var(--
|
|
57
|
-
--action-button-outline-default-text: var(--
|
|
56
|
+
--action-button-outline-default-border: var(--function-default-stroke);
|
|
57
|
+
--action-button-outline-default-text: var(--function-default-outline-icon);
|
|
58
58
|
|
|
59
59
|
/* Hover State */
|
|
60
|
-
--action-button-outline-hover-bg:
|
|
61
|
-
--action-button-outline-hover-border: var(--
|
|
62
|
-
--action-button-outline-hover-text: var(--
|
|
60
|
+
--action-button-outline-hover-bg: var(--function-default-hover-bg);
|
|
61
|
+
--action-button-outline-hover-border: var(--function-default-hover);
|
|
62
|
+
--action-button-outline-hover-text: var(--function-default-hover);
|
|
63
63
|
|
|
64
64
|
/* Pressed State */
|
|
65
|
-
--action-button-outline-pressed-bg: var(--
|
|
66
|
-
--action-button-outline-pressed-border: var(--
|
|
67
|
-
--action-button-outline-pressed-text: var(--
|
|
65
|
+
--action-button-outline-pressed-bg: var(--function-default-hover-bg);
|
|
66
|
+
--action-button-outline-pressed-border: var(--function-default-stroke);
|
|
67
|
+
--action-button-outline-pressed-text: var(--function-default-outline-icon);
|
|
68
68
|
|
|
69
69
|
/* Active State */
|
|
70
70
|
--action-button-outline-active-bg: transparent;
|
|
71
|
-
--action-button-outline-active-border: var(--
|
|
72
|
-
--action-button-outline-active-text: var(--
|
|
71
|
+
--action-button-outline-active-border: var(--function-active-stroke);
|
|
72
|
+
--action-button-outline-active-text: var(--function-active-solid);
|
|
73
73
|
|
|
74
74
|
/* Active Hover State */
|
|
75
|
-
--action-button-outline-active-hover-bg: var(--
|
|
76
|
-
--action-button-outline-active-hover-border: var(--
|
|
77
|
-
--action-button-outline-active-hover-text: var(--
|
|
75
|
+
--action-button-outline-active-hover-bg: var(--function-active-hover-bg);;
|
|
76
|
+
--action-button-outline-active-hover-border: var(--function-active-hover);
|
|
77
|
+
--action-button-outline-active-hover-text: var(--function-active-hover);
|
|
78
78
|
|
|
79
79
|
/* Active Pressed State */
|
|
80
|
-
--action-button-outline-active-pressed-bg: var(--
|
|
81
|
-
--action-button-outline-active-pressed-border: var(--
|
|
82
|
-
--action-button-outline-active-pressed-text: var(--
|
|
80
|
+
--action-button-outline-active-pressed-bg: var(--function-active-hover-bg);;
|
|
81
|
+
--action-button-outline-active-pressed-border: var(--function-active-stroke);
|
|
82
|
+
--action-button-outline-active-pressed-text: var(--function-active-solid);
|
|
83
83
|
|
|
84
84
|
/* Disabled State */
|
|
85
85
|
--action-button-outline-disabled-bg: transparent;
|
|
@@ -93,32 +93,32 @@
|
|
|
93
93
|
/* Default State */
|
|
94
94
|
--action-button-icon-default-bg: transparent;
|
|
95
95
|
--action-button-icon-default-border: transparent;
|
|
96
|
-
--action-button-icon-default-text: var(--
|
|
96
|
+
--action-button-icon-default-text: var(--function-default-outline-icon);
|
|
97
97
|
|
|
98
98
|
/* Hover State */
|
|
99
|
-
--action-button-icon-hover-bg: var(--
|
|
99
|
+
--action-button-icon-hover-bg: var(--function-default-hover-bg);
|
|
100
100
|
--action-button-icon-hover-border: transparent;
|
|
101
|
-
--action-button-icon-hover-text: var(--
|
|
101
|
+
--action-button-icon-hover-text: var(--function-default-hover);
|
|
102
102
|
|
|
103
103
|
/* Pressed State */
|
|
104
104
|
--action-button-icon-pressed-bg: transparent;
|
|
105
105
|
--action-button-icon-pressed-border: transparent;
|
|
106
|
-
--action-button-icon-pressed-text: var(--
|
|
106
|
+
--action-button-icon-pressed-text: var(--function-default-outline-icon);
|
|
107
107
|
|
|
108
108
|
/* Active State */
|
|
109
109
|
--action-button-icon-active-bg: transparent;
|
|
110
110
|
--action-button-icon-active-border: transparent;
|
|
111
|
-
--action-button-icon-active-text: var(--
|
|
111
|
+
--action-button-icon-active-text: var(--function-active-solid);
|
|
112
112
|
|
|
113
113
|
/* Active Hover State */
|
|
114
|
-
--action-button-icon-active-hover-bg:
|
|
114
|
+
--action-button-icon-active-hover-bg: var(--function-active-hover-bg);
|
|
115
115
|
--action-button-icon-active-hover-border: transparent;
|
|
116
|
-
--action-button-icon-active-hover-text: var(--
|
|
116
|
+
--action-button-icon-active-hover-text: var(--function-active-hover);
|
|
117
117
|
|
|
118
118
|
/* Active Pressed State */
|
|
119
119
|
--action-button-icon-active-pressed-bg: transparent;
|
|
120
120
|
--action-button-icon-active-pressed-border: transparent;
|
|
121
|
-
--action-button-icon-active-pressed-text: var(--
|
|
121
|
+
--action-button-icon-active-pressed-text: var(--function-active-solid);
|
|
122
122
|
|
|
123
123
|
/* Disabled State */
|
|
124
124
|
--action-button-icon-disabled-bg: transparent;
|