@rovula/ui 0.0.66 → 0.0.68

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.
Files changed (134) hide show
  1. package/dist/cjs/bundle.css +993 -979
  2. package/dist/cjs/bundle.js +3 -3
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/ActionButton/ActionButton.d.ts +6 -6
  5. package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +97 -96
  6. package/dist/cjs/types/components/AlertDialog/AlertDialog.stories.d.ts +1 -1
  7. package/dist/cjs/types/components/Avatar/Avatar.stories.d.ts +7 -7
  8. package/dist/cjs/types/components/Avatar/AvatarGroup.stories.d.ts +1 -1
  9. package/dist/cjs/types/components/Button/Button.d.ts +9 -9
  10. package/dist/cjs/types/components/Button/Buttons.stories.d.ts +139 -138
  11. package/dist/cjs/types/components/Calendar/Calendar.stories.d.ts +213 -388
  12. package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +92 -91
  13. package/dist/cjs/types/components/Collapsible/Collapsible.d.ts +3 -3
  14. package/dist/cjs/types/components/DataTable/DataTable.stories.d.ts +1 -1
  15. package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +224 -399
  16. package/dist/cjs/types/components/Dialog/Dialog.d.ts +2 -2
  17. package/dist/cjs/types/components/Dialog/Dialog.stories.d.ts +1 -1
  18. package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +21 -21
  19. package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +134 -134
  20. package/dist/cjs/types/components/DropdownMenu/DropdownMenu.d.ts +3 -3
  21. package/dist/cjs/types/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
  22. package/dist/cjs/types/components/Icon/Icon.stories.d.ts +294 -294
  23. package/dist/cjs/types/components/Input/Input.d.ts +8 -8
  24. package/dist/cjs/types/components/Input/Input.stories.d.ts +225 -225
  25. package/dist/cjs/types/components/InputFilter/InputFilter.d.ts +18 -18
  26. package/dist/cjs/types/components/InputFilter/InputFilter.stories.d.ts +127 -127
  27. package/dist/cjs/types/components/Label/Label.stories.d.ts +87 -86
  28. package/dist/cjs/types/components/Loading/Loading.stories.d.ts +10 -10
  29. package/dist/cjs/types/components/Navbar/Navbar.stories.d.ts +1 -1
  30. package/dist/cjs/types/components/Popover/Popover.stories.d.ts +1 -1
  31. package/dist/cjs/types/components/ProgressBar/ProgressBar.stories.d.ts +9 -9
  32. package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +85 -84
  33. package/dist/cjs/types/components/Search/Search.stories.d.ts +114 -114
  34. package/dist/cjs/types/components/Slider/Slider.stories.d.ts +85 -83
  35. package/dist/cjs/types/components/Switch/Switch.stories.d.ts +92 -91
  36. package/dist/cjs/types/components/Table/Table.d.ts +2 -2
  37. package/dist/cjs/types/components/Table/Table.stories.d.ts +87 -86
  38. package/dist/cjs/types/components/Tabs/Tabs.d.ts +6 -0
  39. package/dist/cjs/types/components/Tabs/Tabs.stories.d.ts +57 -31
  40. package/dist/cjs/types/components/Text/Text.stories.d.ts +3 -3
  41. package/dist/cjs/types/components/TextInput/TextInput.d.ts +21 -21
  42. package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +128 -128
  43. package/dist/cjs/types/components/Toast/Toast.stories.d.ts +91 -90
  44. package/dist/cjs/types/components/Toast/useToast.d.ts +3 -0
  45. package/dist/cjs/types/components/Tooltip/Tooltip.stories.d.ts +1 -1
  46. package/dist/cjs/types/icons/type.d.ts +0 -1
  47. package/dist/components/Tabs/Tabs.js +24 -15
  48. package/dist/components/Tabs/Tabs.stories.js +12 -0
  49. package/dist/components/Toast/Toast.js +1 -1
  50. package/dist/components/Toast/Toaster.js +2 -2
  51. package/dist/esm/bundle.css +993 -979
  52. package/dist/esm/bundle.js +3 -3
  53. package/dist/esm/bundle.js.map +1 -1
  54. package/dist/esm/types/components/ActionButton/ActionButton.d.ts +6 -6
  55. package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +97 -96
  56. package/dist/esm/types/components/AlertDialog/AlertDialog.stories.d.ts +1 -1
  57. package/dist/esm/types/components/Avatar/Avatar.stories.d.ts +7 -7
  58. package/dist/esm/types/components/Avatar/AvatarGroup.stories.d.ts +1 -1
  59. package/dist/esm/types/components/Button/Button.d.ts +9 -9
  60. package/dist/esm/types/components/Button/Buttons.stories.d.ts +139 -138
  61. package/dist/esm/types/components/Calendar/Calendar.stories.d.ts +213 -388
  62. package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +92 -91
  63. package/dist/esm/types/components/Collapsible/Collapsible.d.ts +3 -3
  64. package/dist/esm/types/components/DataTable/DataTable.stories.d.ts +1 -1
  65. package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +224 -399
  66. package/dist/esm/types/components/Dialog/Dialog.d.ts +2 -2
  67. package/dist/esm/types/components/Dialog/Dialog.stories.d.ts +1 -1
  68. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +21 -21
  69. package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +134 -134
  70. package/dist/esm/types/components/DropdownMenu/DropdownMenu.d.ts +3 -3
  71. package/dist/esm/types/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
  72. package/dist/esm/types/components/Icon/Icon.stories.d.ts +294 -294
  73. package/dist/esm/types/components/Input/Input.d.ts +8 -8
  74. package/dist/esm/types/components/Input/Input.stories.d.ts +225 -225
  75. package/dist/esm/types/components/InputFilter/InputFilter.d.ts +18 -18
  76. package/dist/esm/types/components/InputFilter/InputFilter.stories.d.ts +127 -127
  77. package/dist/esm/types/components/Label/Label.stories.d.ts +87 -86
  78. package/dist/esm/types/components/Loading/Loading.stories.d.ts +10 -10
  79. package/dist/esm/types/components/Navbar/Navbar.stories.d.ts +1 -1
  80. package/dist/esm/types/components/Popover/Popover.stories.d.ts +1 -1
  81. package/dist/esm/types/components/ProgressBar/ProgressBar.stories.d.ts +9 -9
  82. package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +85 -84
  83. package/dist/esm/types/components/Search/Search.stories.d.ts +114 -114
  84. package/dist/esm/types/components/Slider/Slider.stories.d.ts +85 -83
  85. package/dist/esm/types/components/Switch/Switch.stories.d.ts +92 -91
  86. package/dist/esm/types/components/Table/Table.d.ts +2 -2
  87. package/dist/esm/types/components/Table/Table.stories.d.ts +87 -86
  88. package/dist/esm/types/components/Tabs/Tabs.d.ts +6 -0
  89. package/dist/esm/types/components/Tabs/Tabs.stories.d.ts +57 -31
  90. package/dist/esm/types/components/Text/Text.stories.d.ts +3 -3
  91. package/dist/esm/types/components/TextInput/TextInput.d.ts +21 -21
  92. package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +128 -128
  93. package/dist/esm/types/components/Toast/Toast.stories.d.ts +91 -90
  94. package/dist/esm/types/components/Toast/useToast.d.ts +3 -0
  95. package/dist/esm/types/components/Tooltip/Tooltip.stories.d.ts +1 -1
  96. package/dist/esm/types/icons/type.d.ts +0 -1
  97. package/dist/index.d.ts +101 -93
  98. package/dist/src/theme/global.css +998 -981
  99. package/package.json +2 -1
  100. package/src/components/Tabs/Tabs.stories.tsx +38 -0
  101. package/src/components/Tabs/Tabs.tsx +31 -9
  102. package/src/components/Toast/Toast.tsx +1 -1
  103. package/src/components/Toast/Toaster.tsx +12 -1
  104. package/src/components/Toast/useToast.ts +3 -0
  105. package/dist/theme/global.css +0 -30
  106. package/dist/theme/main-preset.js +0 -283
  107. package/dist/theme/plugins/utilities/typography.js +0 -93
  108. package/dist/theme/presets/colors.js +0 -136
  109. package/dist/theme/theme.d.ts +0 -69
  110. package/dist/theme/themes/xspector/baseline.css +0 -9
  111. package/dist/theme/themes/xspector/color.css +0 -81
  112. package/dist/theme/themes/xspector/components/action-button.css +0 -100
  113. package/dist/theme/themes/xspector/components/dropdown-menu.css +0 -28
  114. package/dist/theme/themes/xspector/components/loading.css +0 -11
  115. package/dist/theme/themes/xspector/components/switch.css +0 -30
  116. package/dist/theme/themes/xspector/palette.css +0 -122
  117. package/dist/theme/themes/xspector/state.css +0 -89
  118. package/dist/theme/themes/xspector/transparent.css +0 -68
  119. package/dist/theme/themes/xspector/typography.css +0 -27
  120. package/dist/theme/tokens/baseline.css +0 -12
  121. package/dist/theme/tokens/color.css +0 -78
  122. package/dist/theme/tokens/components/action-button.css +0 -127
  123. package/dist/theme/tokens/components/button.css +0 -512
  124. package/dist/theme/tokens/components/dropdown-menu.css +0 -27
  125. package/dist/theme/tokens/components/loading.css +0 -11
  126. package/dist/theme/tokens/components/navbar.css +0 -8
  127. package/dist/theme/tokens/components/progress-bar.css +0 -8
  128. package/dist/theme/tokens/components/switch.css +0 -30
  129. package/dist/theme/tokens/palette.css +0 -122
  130. package/dist/theme/tokens/state.css +0 -82
  131. package/dist/theme/tokens/transparent.css +0 -68
  132. package/dist/theme/tokens/typography.css +0 -199
  133. package/dist/theme/tokens/variables.css +0 -28
  134. package/dist/theme/utils.js +0 -109
@@ -1,136 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- import {
3
- generateColorConfig,
4
- generateTransparentColorConfig,
5
- withColorMixin,
6
- generateButtonStyles,
7
- generateActionButtonStyles,
8
- } from "../utils";
9
-
10
- const secondaryRange = [
11
- "50",
12
- "100",
13
- "200",
14
- "300",
15
- "400",
16
- "500",
17
- "600",
18
- "700",
19
- "800",
20
- "900",
21
- "950",
22
- ];
23
-
24
- module.exports = {
25
- theme: {
26
- extend: {
27
- colors: {
28
- "text-black": withColorMixin("--text-black"),
29
- "text-dark": withColorMixin("--text-dark"),
30
- "text-medium": withColorMixin("--text-medium"),
31
- "text-light": withColorMixin("--text-light"),
32
- "text-grey-dark": withColorMixin("--text-grey-dark"),
33
- "text-grey-medium": withColorMixin("--text-grey-medium"),
34
- "text-grey-light": withColorMixin("--text-grey-light"),
35
- "text-white": withColorMixin("--text-white"),
36
-
37
- ...generateColorConfig("primary", "primary-ramps-primary"),
38
- ...generateColorConfig("secondary", "secondary-ramps-secondary"),
39
- ...generateColorConfig("tertiary", "tertiary-ramps-tertiary"),
40
- ...generateColorConfig("grey", "grey-grey"),
41
-
42
- ...generateColorConfig("grey2", "grey2-grey2", secondaryRange),
43
- ...generateColorConfig("info", "info-info", secondaryRange),
44
- ...generateColorConfig("success", "success-success", secondaryRange),
45
- ...generateColorConfig("warning", "warning-warning", secondaryRange),
46
- ...generateColorConfig("error", "error-error", secondaryRange),
47
-
48
- ...generateTransparentColorConfig("primary", "main"),
49
- ...generateTransparentColorConfig("secondary", "main"),
50
- ...generateTransparentColorConfig("tertiary", "main"),
51
- ...generateTransparentColorConfig("grey", "other"),
52
- ...generateTransparentColorConfig("grey2", "other"),
53
- ...generateTransparentColorConfig("info", "other"),
54
- ...generateTransparentColorConfig("success", "other"),
55
- ...generateTransparentColorConfig("warning", "other"),
56
- ...generateTransparentColorConfig("error", "other"),
57
- ...generateTransparentColorConfig("black", "other"),
58
- ...generateTransparentColorConfig("white", "other"),
59
-
60
- "state-disable-solid": withColorMixin("--state-color-disable-solid"),
61
- "state-disable-outline": withColorMixin(
62
- "--state-color-disable-outline"
63
- ),
64
-
65
- "input-default-text": withColorMixin("--input-color-default-text"),
66
- "input-default-stroke": withColorMixin("--input-color-default-stroke"),
67
- "input-filled-text": withColorMixin("--input-color-filled-text"),
68
- "input-active-stroke": withColorMixin("--input-color-active-stroke"),
69
- "input-disable-text": withColorMixin("--input-color-disable-text"),
70
- "input-disable-stroke": withColorMixin("--input-color-disable-stroke"),
71
- "input-disable-bg": withColorMixin("--input-color-disable-bg"),
72
- "input-label-bg": withColorMixin("--input-color-label-bg"),
73
- "input-error": withColorMixin("--input-color-error"),
74
-
75
- "function-default-solid": withColorMixin("--function-default-solid"),
76
- "function-default-hover": withColorMixin("--function-default-hover"),
77
- "function-default-hover-bg": withColorMixin(
78
- "--function-default-hover-bg"
79
- ),
80
- "function-default-stroke": withColorMixin("--function-default-stroke"),
81
- "function-default-icon": withColorMixin("--function-default-icon"),
82
- "function-default-outline": withColorMixin(
83
- "--function-default-outline-icon"
84
- ),
85
- "function-active-solid": withColorMixin("--function-active-solid"),
86
- "function-active-hover": withColorMixin("--function-active-hover"),
87
- "function-active-hover-bg": withColorMixin(
88
- "--function-active-hover-bg"
89
- ),
90
- "function-active-stroke": withColorMixin("--function-active-stroke"),
91
- "function-active-icon": withColorMixin("--function-active-icon"),
92
-
93
- "base-bg": withColorMixin("--base-color-bg"),
94
- "base-bg2": withColorMixin("--base-color-bg2"),
95
- "base-bg3": withColorMixin("--base-color-bg3"),
96
- "base-popup": withColorMixin("--base-color-popup"),
97
- "base-popup-highlight": withColorMixin("--base-color-popup-hightlight"),
98
- "base-popup-curtain": withColorMixin("--base-color-popup-curtain"),
99
- "base-popup-foreground": withColorMixin(
100
- "--base-color-popup-foreground"
101
- ),
102
- "base-stroke": withColorMixin("--base-color-workspace-stroke"),
103
- "base-workspace-stroke": withColorMixin(
104
- "--base-color-workspace-stroke"
105
- ),
106
- "base-guideline-stroke": withColorMixin(
107
- "--base-color-guideline-stroke"
108
- ),
109
-
110
- "common-white": withColorMixin("--common-white"),
111
- "common-black": withColorMixin("--common-black"),
112
-
113
- surface: withColorMixin("--surface"),
114
- "surface-foreground": withColorMixin("--surface-foreground"),
115
- background: withColorMixin("--background"),
116
- foreground: withColorMixin("--foreground"),
117
- },
118
- borderColor: {
119
- ...generateButtonStyles("border"),
120
- ...generateActionButtonStyles("border"),
121
- },
122
- backgroundColor: {
123
- ...generateButtonStyles("bg"),
124
- ...generateActionButtonStyles("bg"),
125
- },
126
- textColor: {
127
- ...generateButtonStyles("text"),
128
- ...generateActionButtonStyles("text"),
129
- },
130
- fill: {
131
- ...generateButtonStyles("text"),
132
- ...generateActionButtonStyles("text"),
133
- },
134
- },
135
- },
136
- };
@@ -1,69 +0,0 @@
1
- type ThemeColorState = {
2
- default: string; // bg
3
- hover: string; // bg
4
- stroke: string; // stroke
5
- "hover-bg": string; // bg
6
- pressed: string; // bg
7
- active: string; // bg
8
- };
9
-
10
- type ThemeColorTransparent = {
11
- "8": string;
12
- "12": string;
13
- "16": string;
14
- "24": string;
15
- "32": string;
16
- "48": string;
17
- };
18
-
19
- type ThemeMainShadeColor = {
20
- default: string;
21
- "5": string;
22
- "10": string;
23
- "20": string;
24
- "30": string;
25
- "40": string;
26
- "50": string;
27
- "60": string;
28
- "70": string;
29
- "80": string;
30
- "90": string;
31
- "100": string;
32
- "110": string;
33
- "120": string;
34
- "130": string;
35
- "140": string;
36
- "150": string;
37
- foreground: string;
38
- } & ThemeColorState;
39
-
40
- type ThemeSecondaryShadeColor = {
41
- default: string;
42
- "50": string;
43
- "100": string;
44
- "200": string;
45
- "300": string;
46
- "400": string;
47
- "500": string;
48
- "600": string;
49
- "700": string;
50
- "800": string;
51
- "900": string;
52
- "950": string;
53
- foreground: string;
54
- } & ThemeColorState;
55
-
56
- type Theme = {
57
- primary: ThemeMainShadeColor;
58
- secondary: ThemeMainShadeColor;
59
- tertiary: ThemeMainShadeColor;
60
- grey: ThemeMainShadeColor;
61
- grey2: ThemeSecondaryShadeColor;
62
- info: ThemeSecondaryShadeColor;
63
- grey2: ThemeSecondaryShadeColor;
64
- success: ThemeSecondaryShadeColor;
65
- warning: ThemeSecondaryShadeColor;
66
- error: ThemeSecondaryShadeColor;
67
- };
68
-
69
- const myTheme: Theme = {};
@@ -1,9 +0,0 @@
1
- @import url(palette.css);
2
- @import url(state.css);
3
- @import url(color.css);
4
- @import url(transparent.css);
5
- @import url(typography.css);
6
- @import url(components/action-button.css);
7
- @import url(components/loading.css);
8
- @import url(components/dropdown-menu.css);
9
- @import url(components/switch.css);
@@ -1,81 +0,0 @@
1
-
2
- :root[data-theme="xspector"]{
3
- /* Base from design */
4
- --input-color-default-text: #9e9e9e;
5
- --input-color-default-stroke: rgba(158 158 158 / 0.24);
6
- --input-color-filled-text: #dfe3e8;
7
- --input-color-active-stroke: rgba(158 158 158 / 0.48);
8
- --input-color-disable-text: rgba(145 158 171 / 0.52);
9
- --input-color-disable-stroke: rgba(145 158 171 / 0.08);
10
- --input-color-disable-bg: rgba(145 158 171 / 0.04);
11
- --input-color-label-bg: #2d2e30;
12
- --input-color-error: #ff4d35;
13
-
14
- /* Function button */
15
- --function-default-solid: #ececec;
16
- --function-default-hover: #fafafa;
17
- --function-default-hover-bg: rgba(250 250 250 / 0.08);
18
- --function-default-stroke: rgba(158 158 158 / 0.24);
19
- --function-default-icon: #212b36;
20
- --function-default-outline-icon: #9e9e9e;
21
- --function-active-solid: #b1a400;
22
- --function-active-hover: #ddcd00;
23
- --function-active-hover-bg: rgba(221 205 0 / 0.08);
24
- --function-active-stroke: rgba(177 164 0 / 0.48);
25
- --function-active-icon: #212b36;
26
-
27
- --text-dark: #212b36;
28
- --text-medium: #637381;
29
- --text-light: #919eab;
30
- --text-grey-dark: #7e7e7e;
31
- --text-grey-medium: #aaaaaa;
32
- --text-grey-light: #dfe3e8;
33
- --text-white: #ffffff;
34
-
35
- --base-color-bg: #202427;
36
- --base-color-bg2: #282c31;
37
- --base-color-bg3: #d8d8d8;
38
- --base-color-workspace-stroke: #e2e2e2;
39
- --base-color-guideline-stroke: #c5c5c5;
40
- --base-color-popup: #2d2e30;
41
- --base-color-popup-hightlight: #343638;
42
- --base-color-popup-curtain: rgba(0 0 0 / 0.6);
43
- --common-white: #ffffff;
44
- --common-black: #000000;
45
-
46
- --dashboard-panel-bg-grey: rgba(145 158 171 / 0.08);
47
- --dashboard-panel-bg-white: rgba(255 255 255 / 0.08);
48
- --dashboard-panel-border: rgba(168 162 168 / 0.24);
49
-
50
- /* ------- Addon base ---------- */
51
- --background: var(--base-color-bg);
52
- --foreground: var(--common-white);
53
-
54
- --primary: var(--primary-ramps-primary-100);
55
- --secondary: var(--secondary-ramps-secondary-100);
56
- --tertiary: var(--tertiary-ramps-tertiary-100);
57
- --info: var(--info-info-100);
58
- --success: var(--success-success-100);
59
- --warning: var(--warning-warning-100);
60
- --error: var(--error-error-100);
61
- --grey: var(--grey-grey-100);
62
- --grey2: var(--grey2-grey2-100);
63
-
64
- --primary-foreground: var(--state-color-primary-text-solid);
65
- --secondary-foreground: var(--state-color-secondary-text-solid);
66
- --tertiary-foreground: var(--state-color-tertiary-text-solid);
67
- --info-foreground: var(--state-color-info-text-solid);
68
- --success-foreground: var(--state-color-success-text-solid);
69
- --warning-foreground: var(--state-color-warning-text-solid);
70
- --error-foreground: var(--state-color-error-text-solid);
71
- --grey-foreground: var(--common-black);
72
- --grey2-foreground: var(--common-black);
73
-
74
- --surface: var(--base-color-bg);
75
- --surface-foreground: var(--common-white);
76
-
77
- --primary-foreground: var(--common-white);
78
- --secondary-foreground: var(--common-white);
79
-
80
- --base-color-popup-foreground: var(--text-grey-light);
81
- }
@@ -1,100 +0,0 @@
1
- :root[data-theme="xspector"] {
2
- /* --------------------------------------------------------------------------------- */
3
- /* Action Button Component Tokens */
4
- /* --------------------------------------------------------------------------------- */
5
- /* Naming Convention: --[component]-[mode]-[state]-[property] */
6
- /* Mone: [solid, outline, icon] */
7
- /* States: [default, hover, pressed, active, active-pressed active-hover disabled] */
8
- /* --------------------------------------------------------------------------------- */
9
-
10
- /* ------------------------------------------------------------------ */
11
- /* Solid Mode Tokens */
12
- /* ------------------------------------------------------------------ */
13
-
14
- /* Default State */
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
-
19
- /* Hover State */
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
-
24
- /* Pressed State */
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
-
29
- /* Active State */
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
-
34
- /* Active Hover State */
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
-
39
- /* Active Pressed State */
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
-
44
-
45
- /* ------------------------------------------------------------------ */
46
- /* Outline Mode Tokens */
47
- /* ------------------------------------------------------------------ */
48
-
49
- /* Default State */
50
- --action-button-outline-default-border: var(--function-default-stroke);
51
- --action-button-outline-default-text: var(--function-default-outline-icon);
52
-
53
- /* Hover State */
54
- --action-button-outline-hover-bg: var(--function-default-hover-bg);
55
- --action-button-outline-hover-border: var(--function-default-hover);
56
- --action-button-outline-hover-text: var(--function-default-hover);
57
-
58
- /* Pressed State */
59
- --action-button-outline-pressed-bg: var(--function-default-hover-bg);
60
- --action-button-outline-pressed-border: var(--function-default-stroke);
61
- --action-button-outline-pressed-text: var(--function-default-outline-icon);
62
-
63
- /* Active State */
64
- --action-button-outline-active-border: var(--function-active-stroke);
65
- --action-button-outline-active-text: var(--function-active-solid);
66
-
67
- /* Active Hover State */
68
- --action-button-outline-active-hover-bg: var(--function-active-hover-bg);;
69
- --action-button-outline-active-hover-border: var(--function-active-hover);
70
- --action-button-outline-active-hover-text: var(--function-active-hover);
71
-
72
- /* Active Pressed State */
73
- --action-button-outline-active-pressed-bg: var(--function-active-hover-bg);;
74
- --action-button-outline-active-pressed-border: var(--function-active-stroke);
75
- --action-button-outline-active-pressed-text: var(--function-active-solid);
76
-
77
- /* ------------------------------------------------------------------ */
78
- /* Icon Mode Tokens */
79
- /* ------------------------------------------------------------------ */
80
-
81
- /* Default State */
82
- --action-button-icon-default-text: var(--function-default-outline-icon);
83
-
84
- /* Hover State */
85
- --action-button-icon-hover-bg: var(--function-default-hover-bg);
86
- --action-button-icon-hover-text: var(--function-default-hover);
87
-
88
- /* Pressed State */
89
- --action-button-icon-pressed-text: var(--function-default-outline-icon);
90
-
91
- /* Active State */
92
- --action-button-icon-active-text: var(--function-active-solid);
93
-
94
- /* Active Hover State */
95
- --action-button-icon-active-hover-bg: var(--function-active-hover-bg);
96
- --action-button-icon-active-hover-text: var(--function-active-hover);
97
-
98
- /* Active Pressed State */
99
- --action-button-icon-active-pressed-text: var(--function-active-solid);
100
- }
@@ -1,28 +0,0 @@
1
- :root[data-theme="xspector"] {
2
- /* ------------------------------------------------------------------ */
3
- /* DropdownMenu Component Tokens */
4
- /* ------------------------------------------------------------------ */
5
- /* Naming Convention: --[component]-[state]-[property] */
6
- /* Element: [default, hover, selected, disabled] */
7
- /* ------------------------------------------------------------------ */
8
-
9
- --dropdown-menu-seperator-bg: var(--other-transparency-white-08);
10
- --dropdown-menu-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.12);
11
-
12
- /* Default State */
13
- --dropdown-menu-default-bg: transparent;
14
- --dropdown-menu-default-text: inherit;
15
-
16
- /* Hover State */
17
- --dropdown-menu-hover-bg: var(--other-transparency-white-08);
18
- --dropdown-menu-hover-text: inherit;
19
-
20
- /* Selected State */
21
- --dropdown-menu-selected-bg: var(--grey-grey-150);
22
- --dropdown-menu-selected-text: inherit;
23
-
24
- /* Disabled State */
25
- --dropdown-menu-disabled-bg: transparent;
26
- --dropdown-menu-disabled-text: var(--grey-grey-140);
27
-
28
- }
@@ -1,11 +0,0 @@
1
- :root[data-theme="xspector"] {
2
- /* ------------------------------------------------------------------ */
3
- /* Loading Component Tokens */
4
- /* ------------------------------------------------------------------ */
5
- /* Naming Convention: --[component]-[element]-[property] */
6
- /* Element: [progress, track] */
7
- /* ------------------------------------------------------------------ */
8
-
9
- --loading-process-color: var(--primary);
10
- --loading-track-color: #9E9E9E7A;
11
- }
@@ -1,30 +0,0 @@
1
- :root[data-theme="xspector"] {
2
- /* ------------------------------------------------------------------ */
3
- /* Switch Component Tokens */
4
- /* ------------------------------------------------------------------ */
5
- /* Naming Convention: --[component]-[element]-[state]-[property] */
6
- /* Element: [progress, track] */
7
- /* ------------------------------------------------------------------ */
8
-
9
- /* Default State */
10
- --switch-default-color: rgb(from var(--state-color-secondary-active) r g b / 0.32);
11
- --switch-thumb-default-color: var(--state-color-secondary-active);
12
-
13
- /* Hover State */
14
- --switch-hover-color: rgb(from var(--state-color-secondary-active) r g b / 0.48);
15
- --switch-thumb-hover-color: var(--switch-thumb-default-color);
16
- --switch-thumb-hover-ring: var(--state-color-secondary-hover-bg);
17
-
18
- /* Active State */
19
- --switch-active-color: rgb(from var(--state-color-primary-active) r g b / 0.32);
20
- --switch-thumb-active-color: var(--state-color-primary-active);
21
-
22
- /* Active Hover State */
23
- --switch-active-hover-color: rgb(from var(--state-color-primary-active) r g b / 0.48);
24
- --switch-thumb-active-hover-color: var(--switch-thumb-active-color);
25
- --switch-thumb-active-hover-ring: var(--state-color-primary-hover-bg);
26
-
27
- /* Disabled State */
28
- --switch-disabled-color: rgb(from var(--state-color-disable-solid) r g b / 0.32);
29
- --switch-thumb-disabled-color: var(--state-color-disable-solid)
30
- }
@@ -1,122 +0,0 @@
1
-
2
- :root[data-theme="xspector"]{
3
- --primary-ramps-primary-5: #fdfcf2;
4
- --primary-ramps-primary-10: #fcfae5;
5
- --primary-ramps-primary-20: #f8f5cc;
6
- --primary-ramps-primary-30: #f5f0b2;
7
- --primary-ramps-primary-40: #f1eb99;
8
- --primary-ramps-primary-50: #eee680;
9
- --primary-ramps-primary-60: #ebe166;
10
- --primary-ramps-primary-70: #e7dc4d;
11
- --primary-ramps-primary-80: #e4d733;
12
- --primary-ramps-primary-90: #e0d21a;
13
- --primary-ramps-primary-100: #ddcd00;
14
- --primary-ramps-primary-110: #c7b800;
15
- --primary-ramps-primary-120: #b1a400;
16
- --primary-ramps-primary-130: #9b8f00;
17
- --primary-ramps-primary-140: #857b00;
18
- --primary-ramps-primary-150: #6f6700;
19
- --secondary-ramps-secondary-5: #fafafa;
20
- --secondary-ramps-secondary-10: #f5f5f5;
21
- --secondary-ramps-secondary-20: #ececec;
22
- --secondary-ramps-secondary-30: #e2e2e2;
23
- --secondary-ramps-secondary-40: #d8d8d8;
24
- --secondary-ramps-secondary-50: #cfcfcf;
25
- --secondary-ramps-secondary-60: #c5c5c5;
26
- --secondary-ramps-secondary-70: #bbbbbb;
27
- --secondary-ramps-secondary-80: #b1b1b1;
28
- --secondary-ramps-secondary-90: #a8a8a8;
29
- --secondary-ramps-secondary-100: #9e9e9e;
30
- --secondary-ramps-secondary-110: #8e8e8e;
31
- --secondary-ramps-secondary-120: #7e7e7e;
32
- --secondary-ramps-secondary-130: #6f6f6f;
33
- --secondary-ramps-secondary-140: #5f5f5f;
34
- --secondary-ramps-secondary-150: #4f4f4f;
35
- --tertiary-ramps-tertiary-5: #fbfcfd;
36
- --tertiary-ramps-tertiary-10: #f7fafb;
37
- --tertiary-ramps-tertiary-20: #eff4f7;
38
- --tertiary-ramps-tertiary-30: #e6eff3;
39
- --tertiary-ramps-tertiary-40: #deeaef;
40
- --tertiary-ramps-tertiary-50: #d6e5eb;
41
- --tertiary-ramps-tertiary-60: #cedfe6;
42
- --tertiary-ramps-tertiary-70: #c6dae2;
43
- --tertiary-ramps-tertiary-80: #bdd5de;
44
- --tertiary-ramps-tertiary-90: #b5cfda;
45
- --tertiary-ramps-tertiary-100: #adcad6;
46
- --tertiary-ramps-tertiary-110: #9cb6c1;
47
- --tertiary-ramps-tertiary-120: #8aa2ab;
48
- --tertiary-ramps-tertiary-130: #798d96;
49
- --tertiary-ramps-tertiary-140: #687980;
50
- --tertiary-ramps-tertiary-150: #57656b;
51
- --grey-grey-5: #fafafa;
52
- --grey-grey-10: #f5f5f5;
53
- --grey-grey-20: #ececec;
54
- --grey-grey-30: #e2e2e2;
55
- --grey-grey-40: #d8d8d8;
56
- --grey-grey-50: #cfcfcf;
57
- --grey-grey-60: #c5c5c5;
58
- --grey-grey-70: #bbbbbb;
59
- --grey-grey-80: #b1b1b1;
60
- --grey-grey-90: #a8a8a8;
61
- --grey-grey-100: #9e9e9e;
62
- --grey-grey-110: #8e8e8e;
63
- --grey-grey-120: #7e7e7e;
64
- --grey-grey-130: #6f6f6f;
65
- --grey-grey-140: #5f5f5f;
66
- --grey-grey-150: #4f4f4f;
67
- --grey2-grey2-50: #f8fafa;
68
- --grey2-grey2-100: #f2f5f5;
69
- --grey2-grey2-200: #e7ebed;
70
- --grey2-grey2-300: #d3dadf;
71
- --grey2-grey2-400: #bac5cb;
72
- --grey2-grey2-500: #9dabb5;
73
- --grey2-grey2-600: #919eab;
74
- --grey2-grey2-700: #72808f;
75
- --grey2-grey2-800: #606b77;
76
- --grey2-grey2-900: #4f5863;
77
- --grey2-grey2-950: #343b41;
78
- --info-info-50: #eef8ff;
79
- --info-info-100: #d9efff;
80
- --info-info-200: #bce4ff;
81
- --info-info-300: #8ed5ff;
82
- --info-info-400: #59bbff;
83
- --info-info-500: #2998ff;
84
- --info-info-600: #1b7df5;
85
- --info-info-700: #1466e1;
86
- --info-info-800: #1752b6;
87
- --info-info-900: #19478f;
88
- --info-info-950: #142c57;
89
- --success-success-50: #effce9;
90
- --success-success-100: #daf9ce;
91
- --success-success-200: #b8f3a3;
92
- --success-success-300: #8ce86e;
93
- --success-success-400: #54d62c;
94
- --success-success-500: #44c022;
95
- --success-success-600: #319917;
96
- --success-success-700: #277516;
97
- --success-success-800: #235d17;
98
- --success-success-900: #214f18;
99
- --success-success-950: #0c2b08;
100
- --warning-warning-50: #ffffea;
101
- --warning-warning-100: #fffbc5;
102
- --warning-warning-200: #fff885;
103
- --warning-warning-300: #ffee46;
104
- --warning-warning-400: #ffdf1b;
105
- --warning-warning-500: #ffc107;
106
- --warning-warning-600: #e29400;
107
- --warning-warning-700: #bb6902;
108
- --warning-warning-800: #985108;
109
- --warning-warning-900: #7c420b;
110
- --warning-warning-950: #482200;
111
- --error-error-50: #fff3f1;
112
- --error-error-100: #ffe3df;
113
- --error-error-200: #ffccc5;
114
- --error-error-300: #ffa99d;
115
- --error-error-400: #ff7664;
116
- --error-error-500: #ff4d35;
117
- --error-error-600: #ed2f15;
118
- --error-error-700: #c8230d;
119
- --error-error-800: #a5210f;
120
- --error-error-900: #882214;
121
- --error-error-950: #4b0c04;
122
- }
@@ -1,89 +0,0 @@
1
-
2
- :root[data-theme="xspector"]{
3
- /* ------------------------------------------------------------------ */
4
- /* State Tokens */
5
- /* ------------------------------------------------------------------ */
6
- /* Naming Convention: --state-color-[theme]-[element?]-[state] */
7
- /* States: [default, hover, pressed, disabled] */
8
-
9
- --state-color-primary-default: #b1a400;
10
- --state-color-primary-hover: #ddcd00;
11
- --state-color-primary-stroke: rgba(177 164 0 / 0.48);
12
- --state-color-primary-hover-bg: rgba(221 205 0 / 0.08);
13
- --state-color-primary-pressed: #6f6700;
14
- --state-color-primary-active: #ddcd00;
15
- --state-color-primary-text-solid: #212B36;
16
- --state-color-primary-text-outline: #b1a400;
17
- --state-color-primary-text-hover: #ddcd00;
18
- --state-color-primary-text-pressed: #6f6700;
19
-
20
- --state-color-secondary-default: #ececec;
21
- --state-color-secondary-hover: #fafafa;
22
- --state-color-secondary-stroke: rgba(236 236 236 / 0.48);
23
- --state-color-secondary-hover-bg: rgba(250 250 250 / 0.08);
24
- --state-color-secondary-pressed: #bbbbbb;
25
- --state-color-secondary-active: #fafafa;
26
- --state-color-secondary-text-solid: #212B36;
27
- --state-color-secondary-text-outline: #ececec;
28
- --state-color-secondary-text-hover: #fafafa;
29
- --state-color-secondary-text-pressed: #bbbbbb;
30
-
31
- --state-color-tertiary-default: #8aa2ab;
32
- --state-color-tertiary-hover: #adcad6;
33
- --state-color-tertiary-stroke: rgba(138 162 171 / 0.48);
34
- --state-color-tertiary-hover-bg: rgba(173 202 214 / 0.08);
35
- --state-color-tertiary-pressed: #57656b;
36
- --state-color-tertiary-active: #adcad6;
37
- --state-color-tertiary-text-solid: #212B36;
38
- --state-color-tertiary-text-outline: #8aa2ab;
39
- --state-color-tertiary-text-hover: #adcad6;
40
- --state-color-tertiary-text-pressed: #57656b;
41
-
42
- --state-color-info-default: #1b7df5;
43
- --state-color-info-hover: #2998ff;
44
- --state-color-info-stroke: rgba(27 125 245 / 0.48);
45
- --state-color-info-hover-bg: rgba(41 152 255 / 0.08);
46
- --state-color-info-pressed: #1752b6;
47
- --state-color-info-active: #2998ff;
48
- --state-color-info-text-solid: #ffffff;
49
- --state-color-info-text-outline: #1b7df5;
50
- --state-color-info-text-hover: #2998ff;
51
- --state-color-info-text-pressed: #1752b6;
52
-
53
- --state-color-success-default: #319917;
54
- --state-color-success-hover: #44c022;
55
- --state-color-success-stroke: rgba(49 153 23 / 0.48);
56
- --state-color-success-hover-bg: rgba(84 214 44 / 0.08);
57
- --state-color-success-pressed: #235d17;
58
- --state-color-success-active: #44c022;
59
- --state-color-success-text-solid: #ffffff;
60
- --state-color-success-text-outline: #319917;
61
- --state-color-success-text-hover: #44c022;
62
- --state-color-success-text-pressed: #235d17;
63
-
64
- --state-color-warning-default: #ffc107;
65
- --state-color-warning-hover: #ffdf1b;
66
- --state-color-warning-stroke: rgba(255 193 7 / 0.48);
67
- --state-color-warning-hover-bg: rgba(255 193 7 / 0.08);
68
- --state-color-warning-pressed: #985108;
69
- --state-color-warning-active: #ffc107;
70
- --state-color-warning-text-solid: #ffffff;
71
- --state-color-warning-text-outline: #ffc107;
72
- --state-color-warning-text-hover: #ffdf1b;
73
- --state-color-warning-text-pressed: #985108;
74
-
75
- --state-color-error-default: #ed2f15;
76
- --state-color-error-hover: #ff4d35;
77
- --state-color-error-stroke: rgba(237 47 21 / 0.48);
78
- --state-color-error-hover-bg: rgba(255 77 53 / 0.08);
79
- --state-color-error-pressed: #a5210f;
80
- --state-color-error-active: #ff4d35;
81
- --state-color-error-text-solid: #ffffff;
82
- --state-color-error-text-outline: #ed2f15;
83
- --state-color-error-text-hover: #ff4d35;
84
- --state-color-error-text-pressed: #a5210f;
85
-
86
- --state-color-disable-solid: #454f5b;
87
- --state-color-disable-outline: #637381;
88
- }
89
-