@rovula/ui 0.1.5 → 0.1.7

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 (97) hide show
  1. package/dist/cjs/bundle.css +404 -368
  2. package/dist/cjs/bundle.js +171 -171
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/Text/Text.d.ts +25 -1
  5. package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
  6. package/dist/cjs/types/utils/colors.d.ts +268 -268
  7. package/dist/components/Avatar/Avatar.styles.js +2 -2
  8. package/dist/components/Button/Buttons.stories.js +1 -1
  9. package/dist/components/Calendar/Calendar.js +1 -1
  10. package/dist/components/Dropdown/Dropdown.js +2 -2
  11. package/dist/components/DropdownMenu/DropdownMenu.js +4 -4
  12. package/dist/components/Footer/Footer.js +1 -1
  13. package/dist/components/Input/Input.styles.js +2 -2
  14. package/dist/components/InputFilter/InputFilter.js +2 -2
  15. package/dist/components/Label/Label.styles.js +4 -4
  16. package/dist/components/Menu/Menu.js +2 -2
  17. package/dist/components/Navbar/Navbar.js +1 -1
  18. package/dist/components/Switch/Switch.styles.js +1 -1
  19. package/dist/components/Tabs/Tabs.js +1 -1
  20. package/dist/components/Text/Text.js +11 -1
  21. package/dist/components/Text/Text.stories.js +6 -6
  22. package/dist/components/TextArea/TextArea.styles.js +6 -6
  23. package/dist/components/TextInput/TextInput.stories.js +1 -1
  24. package/dist/components/TextInput/TextInput.styles.js +18 -18
  25. package/dist/components/Toast/Toast.js +2 -2
  26. package/dist/esm/bundle.css +404 -368
  27. package/dist/esm/bundle.js +5 -5
  28. package/dist/esm/bundle.js.map +1 -1
  29. package/dist/esm/types/components/Text/Text.d.ts +25 -1
  30. package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
  31. package/dist/esm/types/utils/colors.d.ts +268 -268
  32. package/dist/index.d.ts +293 -269
  33. package/dist/src/theme/global.css +2514 -2607
  34. package/dist/utils/colors.js +268 -268
  35. package/package.json +1 -1
  36. package/src/components/Avatar/Avatar.styles.ts +2 -2
  37. package/src/components/Button/Buttons.stories.tsx +17 -9
  38. package/src/components/Calendar/Calendar.tsx +1 -1
  39. package/src/components/Dropdown/Dropdown.tsx +2 -2
  40. package/src/components/DropdownMenu/DropdownMenu.tsx +6 -6
  41. package/src/components/Footer/Footer.tsx +1 -1
  42. package/src/components/Input/Input.styles.tsx +2 -2
  43. package/src/components/InputFilter/InputFilter.tsx +2 -2
  44. package/src/components/Label/Label.styles.ts +4 -4
  45. package/src/components/Menu/Menu.tsx +2 -2
  46. package/src/components/Navbar/Navbar.tsx +1 -1
  47. package/src/components/Switch/Switch.styles.ts +1 -1
  48. package/src/components/Tabs/Tabs.tsx +1 -1
  49. package/src/components/Text/Text.stories.tsx +6 -6
  50. package/src/components/Text/Text.tsx +36 -1
  51. package/src/components/TextArea/TextArea.styles.ts +6 -6
  52. package/src/components/TextInput/TextInput.stories.tsx +3 -1
  53. package/src/components/TextInput/TextInput.styles.ts +18 -18
  54. package/src/components/Toast/Toast.tsx +2 -2
  55. package/src/theme/THEME_MAPPING.md +41 -42
  56. package/src/theme/global.css +8 -4
  57. package/src/theme/main-preset.js +49 -0
  58. package/src/theme/plugins/utilities/typography.js +40 -6
  59. package/src/theme/presets/colors.js +27 -29
  60. package/src/theme/themes/skyller/baseline.css +0 -4
  61. package/src/theme/themes/variable-mapping.css +1064 -0
  62. package/src/theme/themes/variable.css +317 -284
  63. package/src/theme/themes/xspector/baseline.css +0 -4
  64. package/src/theme/themes/xspector/components/dropdown-menu.css +4 -4
  65. package/src/theme/tokens/baseline.css +0 -3
  66. package/src/theme/tokens/color.css +34 -63
  67. package/src/theme/tokens/components/action-button.css +6 -6
  68. package/src/theme/tokens/components/button.css +189 -189
  69. package/src/theme/tokens/components/dropdown-menu.css +2 -2
  70. package/src/theme/tokens/components/footer.css +1 -1
  71. package/src/theme/tokens/components/switch.css +10 -10
  72. package/src/theme/tokens/typography.css +28 -28
  73. package/src/theme/tokens_old/baseline.css +13 -0
  74. package/src/theme/tokens_old/color.css +78 -0
  75. package/src/theme/tokens_old/components/action-button.css +127 -0
  76. package/src/theme/tokens_old/components/button.css +512 -0
  77. package/src/theme/tokens_old/components/dropdown-menu.css +27 -0
  78. package/src/theme/tokens_old/components/footer.css +9 -0
  79. package/src/theme/tokens_old/components/loading.css +11 -0
  80. package/src/theme/tokens_old/components/navbar.css +9 -0
  81. package/src/theme/tokens_old/components/progress-bar.css +8 -0
  82. package/src/theme/tokens_old/components/switch.css +29 -0
  83. package/src/theme/tokens_old/typography.css +199 -0
  84. package/src/theme/tokens_old/variables.css +28 -0
  85. package/src/theme/utils.js +16 -16
  86. package/src/utils/colors.ts +276 -279
  87. package/src/theme/themes/skyller/color.css +0 -79
  88. package/src/theme/themes/skyller/palette.css +0 -143
  89. package/src/theme/themes/skyller/state.css +0 -94
  90. package/src/theme/themes/skyller/transparent.css +0 -94
  91. package/src/theme/themes/xspector/color.css +0 -83
  92. package/src/theme/themes/xspector/palette.css +0 -142
  93. package/src/theme/themes/xspector/state.css +0 -94
  94. package/src/theme/themes/xspector/transparent.css +0 -93
  95. /package/src/theme/{tokens → tokens_old}/palette.css +0 -0
  96. /package/src/theme/{tokens → tokens_old}/state.css +0 -0
  97. /package/src/theme/{tokens → tokens_old}/transparent.css +0 -0
package/dist/index.d.ts CHANGED
@@ -277,7 +277,31 @@ declare const TextArea: React__default.ForwardRefExoticComponent<{
277
277
  } & Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & React__default.RefAttributes<HTMLTextAreaElement>>;
278
278
 
279
279
  type TextProps = {
280
- variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS";
280
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "subtitle3" | "subtitle4" | "subtitle5" | "subtitle6"
281
+ /**
282
+ * @deprecated Use subtitle1 instead.
283
+ */
284
+ | "subtitile1"
285
+ /**
286
+ * @deprecated Use subtitle2 instead.
287
+ */
288
+ | "subtitile2"
289
+ /**
290
+ * @deprecated Use subtitle3 instead.
291
+ */
292
+ | "subtitile3"
293
+ /**
294
+ * @deprecated Use subtitle4 instead.
295
+ */
296
+ | "subtitile4"
297
+ /**
298
+ * @deprecated Use subtitle5 instead.
299
+ */
300
+ | "subtitile5"
301
+ /**
302
+ * @deprecated Use subtitle6 instead.
303
+ */
304
+ | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS";
281
305
  color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
282
306
  children?: React__default.ReactNode;
283
307
  className?: string;
@@ -1088,197 +1112,197 @@ declare function cn(...inputs: ClassValue[]): string;
1088
1112
 
1089
1113
  /** CSS variable names for theme colors (resolved by data-theme) */
1090
1114
  declare const THEME_COLOR_KEYS: {
1091
- readonly "primary-5": "--primary-ramps-primary-5";
1092
- readonly "primary-10": "--primary-ramps-primary-10";
1093
- readonly "primary-20": "--primary-ramps-primary-20";
1094
- readonly "primary-30": "--primary-ramps-primary-30";
1095
- readonly "primary-40": "--primary-ramps-primary-40";
1096
- readonly "primary-50": "--primary-ramps-primary-50";
1097
- readonly "primary-60": "--primary-ramps-primary-60";
1098
- readonly "primary-70": "--primary-ramps-primary-70";
1099
- readonly "primary-80": "--primary-ramps-primary-80";
1100
- readonly "primary-90": "--primary-ramps-primary-90";
1101
- readonly "primary-100": "--primary-ramps-primary-100";
1102
- readonly "primary-110": "--primary-ramps-primary-110";
1103
- readonly "primary-120": "--primary-ramps-primary-120";
1104
- readonly "primary-130": "--primary-ramps-primary-130";
1105
- readonly "primary-140": "--primary-ramps-primary-140";
1106
- readonly "primary-150": "--primary-ramps-primary-150";
1107
- readonly "secondary-5": "--secondary-ramps-secondary-5";
1108
- readonly "secondary-10": "--secondary-ramps-secondary-10";
1109
- readonly "secondary-20": "--secondary-ramps-secondary-20";
1110
- readonly "secondary-30": "--secondary-ramps-secondary-30";
1111
- readonly "secondary-40": "--secondary-ramps-secondary-40";
1112
- readonly "secondary-50": "--secondary-ramps-secondary-50";
1113
- readonly "secondary-60": "--secondary-ramps-secondary-60";
1114
- readonly "secondary-70": "--secondary-ramps-secondary-70";
1115
- readonly "secondary-80": "--secondary-ramps-secondary-80";
1116
- readonly "secondary-90": "--secondary-ramps-secondary-90";
1117
- readonly "secondary-100": "--secondary-ramps-secondary-100";
1118
- readonly "secondary-110": "--secondary-ramps-secondary-110";
1119
- readonly "secondary-120": "--secondary-ramps-secondary-120";
1120
- readonly "secondary-130": "--secondary-ramps-secondary-130";
1121
- readonly "secondary-140": "--secondary-ramps-secondary-140";
1122
- readonly "secondary-150": "--secondary-ramps-secondary-150";
1123
- readonly "tertiary-5": "--tertiary-ramps-tertiary-5";
1124
- readonly "tertiary-10": "--tertiary-ramps-tertiary-10";
1125
- readonly "tertiary-20": "--tertiary-ramps-tertiary-20";
1126
- readonly "tertiary-30": "--tertiary-ramps-tertiary-30";
1127
- readonly "tertiary-40": "--tertiary-ramps-tertiary-40";
1128
- readonly "tertiary-50": "--tertiary-ramps-tertiary-50";
1129
- readonly "tertiary-60": "--tertiary-ramps-tertiary-60";
1130
- readonly "tertiary-70": "--tertiary-ramps-tertiary-70";
1131
- readonly "tertiary-80": "--tertiary-ramps-tertiary-80";
1132
- readonly "tertiary-90": "--tertiary-ramps-tertiary-90";
1133
- readonly "tertiary-100": "--tertiary-ramps-tertiary-100";
1134
- readonly "tertiary-110": "--tertiary-ramps-tertiary-110";
1135
- readonly "tertiary-120": "--tertiary-ramps-tertiary-120";
1136
- readonly "tertiary-130": "--tertiary-ramps-tertiary-130";
1137
- readonly "tertiary-140": "--tertiary-ramps-tertiary-140";
1138
- readonly "tertiary-150": "--tertiary-ramps-tertiary-150";
1139
- readonly "grey-5": "--grey-grey-5";
1140
- readonly "grey-10": "--grey-grey-10";
1141
- readonly "grey-20": "--grey-grey-20";
1142
- readonly "grey-30": "--grey-grey-30";
1143
- readonly "grey-40": "--grey-grey-40";
1144
- readonly "grey-50": "--grey-grey-50";
1145
- readonly "grey-60": "--grey-grey-60";
1146
- readonly "grey-70": "--grey-grey-70";
1147
- readonly "grey-80": "--grey-grey-80";
1148
- readonly "grey-90": "--grey-grey-90";
1149
- readonly "grey-100": "--grey-grey-100";
1150
- readonly "grey-110": "--grey-grey-110";
1151
- readonly "grey-120": "--grey-grey-120";
1152
- readonly "grey-130": "--grey-grey-130";
1153
- readonly "grey-140": "--grey-grey-140";
1154
- readonly "grey-150": "--grey-grey-150";
1155
- readonly "grey2-50": "--grey2-grey2-50";
1156
- readonly "grey2-100": "--grey2-grey2-100";
1157
- readonly "grey2-200": "--grey2-grey2-200";
1158
- readonly "grey2-300": "--grey2-grey2-300";
1159
- readonly "grey2-400": "--grey2-grey2-400";
1160
- readonly "grey2-500": "--grey2-grey2-500";
1161
- readonly "grey2-600": "--grey2-grey2-600";
1162
- readonly "grey2-700": "--grey2-grey2-700";
1163
- readonly "grey2-800": "--grey2-grey2-800";
1164
- readonly "grey2-900": "--grey2-grey2-900";
1165
- readonly "grey2-950": "--grey2-grey2-950";
1166
- readonly "info-50": "--info-info-50";
1167
- readonly "info-100": "--info-info-100";
1168
- readonly "info-200": "--info-info-200";
1169
- readonly "info-300": "--info-info-300";
1170
- readonly "info-400": "--info-info-400";
1171
- readonly "info-500": "--info-info-500";
1172
- readonly "info-600": "--info-info-600";
1173
- readonly "info-700": "--info-info-700";
1174
- readonly "info-800": "--info-info-800";
1175
- readonly "info-900": "--info-info-900";
1176
- readonly "info-950": "--info-info-950";
1177
- readonly "success-50": "--success-success-50";
1178
- readonly "success-100": "--success-success-100";
1179
- readonly "success-200": "--success-success-200";
1180
- readonly "success-300": "--success-success-300";
1181
- readonly "success-400": "--success-success-400";
1182
- readonly "success-500": "--success-success-500";
1183
- readonly "success-600": "--success-success-600";
1184
- readonly "success-700": "--success-success-700";
1185
- readonly "success-800": "--success-success-800";
1186
- readonly "success-900": "--success-success-900";
1187
- readonly "success-950": "--success-success-950";
1188
- readonly "warning-50": "--warning-warning-50";
1189
- readonly "warning-100": "--warning-warning-100";
1190
- readonly "warning-200": "--warning-warning-200";
1191
- readonly "warning-300": "--warning-warning-300";
1192
- readonly "warning-400": "--warning-warning-400";
1193
- readonly "warning-500": "--warning-warning-500";
1194
- readonly "warning-600": "--warning-warning-600";
1195
- readonly "warning-700": "--warning-warning-700";
1196
- readonly "warning-800": "--warning-warning-800";
1197
- readonly "warning-900": "--warning-warning-900";
1198
- readonly "warning-950": "--warning-warning-950";
1199
- readonly "error-50": "--error-error-50";
1200
- readonly "error-100": "--error-error-100";
1201
- readonly "error-200": "--error-error-200";
1202
- readonly "error-300": "--error-error-300";
1203
- readonly "error-400": "--error-error-400";
1204
- readonly "error-500": "--error-error-500";
1205
- readonly "error-600": "--error-error-600";
1206
- readonly "error-700": "--error-error-700";
1207
- readonly "error-800": "--error-error-800";
1208
- readonly "error-900": "--error-error-900";
1209
- readonly "error-950": "--error-error-950";
1210
- readonly primary: "--state-color-primary-default";
1211
- readonly "primary-hover": "--state-color-primary-hover";
1212
- readonly "primary-stroke": "--state-color-primary-stroke";
1213
- readonly "primary-hover-bg": "--state-color-primary-hover-bg";
1214
- readonly "primary-pressed": "--state-color-primary-pressed";
1215
- readonly "primary-active": "--state-color-primary-active";
1216
- readonly "primary-text-solid": "--state-color-primary-text-solid";
1217
- readonly "primary-text-outline": "--state-color-primary-text-outline";
1218
- readonly "primary-text-hover": "--state-color-primary-text-hover";
1219
- readonly "primary-text-pressed": "--state-color-primary-text-pressed";
1220
- readonly secondary: "--state-color-secondary-default";
1221
- readonly "secondary-hover": "--state-color-secondary-hover";
1222
- readonly "secondary-stroke": "--state-color-secondary-stroke";
1223
- readonly "secondary-hover-bg": "--state-color-secondary-hover-bg";
1224
- readonly "secondary-pressed": "--state-color-secondary-pressed";
1225
- readonly "secondary-active": "--state-color-secondary-active";
1226
- readonly "secondary-text-solid": "--state-color-secondary-text-solid";
1227
- readonly "secondary-text-outline": "--state-color-secondary-text-outline";
1228
- readonly "secondary-text-hover": "--state-color-secondary-text-hover";
1229
- readonly "secondary-text-pressed": "--state-color-secondary-text-pressed";
1230
- readonly tertiary: "--state-color-tertiary-default";
1231
- readonly "tertiary-hover": "--state-color-tertiary-hover";
1232
- readonly "tertiary-stroke": "--state-color-tertiary-stroke";
1233
- readonly "tertiary-hover-bg": "--state-color-tertiary-hover-bg";
1234
- readonly "tertiary-pressed": "--state-color-tertiary-pressed";
1235
- readonly "tertiary-active": "--state-color-tertiary-active";
1236
- readonly "tertiary-text-solid": "--state-color-tertiary-text-solid";
1237
- readonly "tertiary-text-outline": "--state-color-tertiary-text-outline";
1238
- readonly "tertiary-text-hover": "--state-color-tertiary-text-hover";
1239
- readonly "tertiary-text-pressed": "--state-color-tertiary-text-pressed";
1240
- readonly info: "--state-color-info-default";
1241
- readonly "info-hover": "--state-color-info-hover";
1242
- readonly "info-stroke": "--state-color-info-stroke";
1243
- readonly "info-hover-bg": "--state-color-info-hover-bg";
1244
- readonly "info-pressed": "--state-color-info-pressed";
1245
- readonly "info-active": "--state-color-info-active";
1246
- readonly "info-text-solid": "--state-color-info-text-solid";
1247
- readonly "info-text-outline": "--state-color-info-text-outline";
1248
- readonly "info-text-hover": "--state-color-info-text-hover";
1249
- readonly "info-text-pressed": "--state-color-info-text-pressed";
1250
- readonly success: "--state-color-success-default";
1251
- readonly "success-hover": "--state-color-success-hover";
1252
- readonly "success-stroke": "--state-color-success-stroke";
1253
- readonly "success-hover-bg": "--state-color-success-hover-bg";
1254
- readonly "success-pressed": "--state-color-success-pressed";
1255
- readonly "success-active": "--state-color-success-active";
1256
- readonly "success-text-solid": "--state-color-success-text-solid";
1257
- readonly "success-text-outline": "--state-color-success-text-outline";
1258
- readonly "success-text-hover": "--state-color-success-text-hover";
1259
- readonly "success-text-pressed": "--state-color-success-text-pressed";
1260
- readonly warning: "--state-color-warning-default";
1261
- readonly "warning-hover": "--state-color-warning-hover";
1262
- readonly "warning-stroke": "--state-color-warning-stroke";
1263
- readonly "warning-hover-bg": "--state-color-warning-hover-bg";
1264
- readonly "warning-pressed": "--state-color-warning-pressed";
1265
- readonly "warning-active": "--state-color-warning-active";
1266
- readonly "warning-text-solid": "--state-color-warning-text-solid";
1267
- readonly "warning-text-outline": "--state-color-warning-text-outline";
1268
- readonly "warning-text-hover": "--state-color-warning-text-hover";
1269
- readonly "warning-text-pressed": "--state-color-warning-text-pressed";
1270
- readonly error: "--state-color-error-default";
1271
- readonly "error-hover": "--state-color-error-hover";
1272
- readonly "error-stroke": "--state-color-error-stroke";
1273
- readonly "error-hover-bg": "--state-color-error-hover-bg";
1274
- readonly "error-pressed": "--state-color-error-pressed";
1275
- readonly "error-active": "--state-color-error-active";
1276
- readonly "error-text-solid": "--state-color-error-text-solid";
1277
- readonly "error-text-outline": "--state-color-error-text-outline";
1278
- readonly "error-text-hover": "--state-color-error-text-hover";
1279
- readonly "error-text-pressed": "--state-color-error-text-pressed";
1280
- readonly "disable-solid": "--state-color-disable-solid";
1281
- readonly "disable-outline": "--state-color-disable-outline";
1115
+ readonly "primary-5": "--ramps-primary-5";
1116
+ readonly "primary-10": "--ramps-primary-10";
1117
+ readonly "primary-20": "--ramps-primary-20";
1118
+ readonly "primary-30": "--ramps-primary-30";
1119
+ readonly "primary-40": "--ramps-primary-40";
1120
+ readonly "primary-50": "--ramps-primary-50";
1121
+ readonly "primary-60": "--ramps-primary-60";
1122
+ readonly "primary-70": "--ramps-primary-70";
1123
+ readonly "primary-80": "--ramps-primary-80";
1124
+ readonly "primary-90": "--ramps-primary-90";
1125
+ readonly "primary-100": "--ramps-primary-100";
1126
+ readonly "primary-110": "--ramps-primary-110";
1127
+ readonly "primary-120": "--ramps-primary-120";
1128
+ readonly "primary-130": "--ramps-primary-130";
1129
+ readonly "primary-140": "--ramps-primary-140";
1130
+ readonly "primary-150": "--ramps-primary-150";
1131
+ readonly "secondary-5": "--ramps-secondary-5";
1132
+ readonly "secondary-10": "--ramps-secondary-10";
1133
+ readonly "secondary-20": "--ramps-secondary-20";
1134
+ readonly "secondary-30": "--ramps-secondary-30";
1135
+ readonly "secondary-40": "--ramps-secondary-40";
1136
+ readonly "secondary-50": "--ramps-secondary-50";
1137
+ readonly "secondary-60": "--ramps-secondary-60";
1138
+ readonly "secondary-70": "--ramps-secondary-70";
1139
+ readonly "secondary-80": "--ramps-secondary-80";
1140
+ readonly "secondary-90": "--ramps-secondary-90";
1141
+ readonly "secondary-100": "--ramps-secondary-100";
1142
+ readonly "secondary-110": "--ramps-secondary-110";
1143
+ readonly "secondary-120": "--ramps-secondary-120";
1144
+ readonly "secondary-130": "--ramps-secondary-130";
1145
+ readonly "secondary-140": "--ramps-secondary-140";
1146
+ readonly "secondary-150": "--ramps-secondary-150";
1147
+ readonly "tertiary-5": "--ramps-tertiary-5";
1148
+ readonly "tertiary-10": "--ramps-tertiary-10";
1149
+ readonly "tertiary-20": "--ramps-tertiary-20";
1150
+ readonly "tertiary-30": "--ramps-tertiary-30";
1151
+ readonly "tertiary-40": "--ramps-tertiary-40";
1152
+ readonly "tertiary-50": "--ramps-tertiary-50";
1153
+ readonly "tertiary-60": "--ramps-tertiary-60";
1154
+ readonly "tertiary-70": "--ramps-tertiary-70";
1155
+ readonly "tertiary-80": "--ramps-tertiary-80";
1156
+ readonly "tertiary-90": "--ramps-tertiary-90";
1157
+ readonly "tertiary-100": "--ramps-tertiary-100";
1158
+ readonly "tertiary-110": "--ramps-tertiary-110";
1159
+ readonly "tertiary-120": "--ramps-tertiary-120";
1160
+ readonly "tertiary-130": "--ramps-tertiary-130";
1161
+ readonly "tertiary-140": "--ramps-tertiary-140";
1162
+ readonly "tertiary-150": "--ramps-tertiary-150";
1163
+ readonly "grey-5": "--ramps-grey-5";
1164
+ readonly "grey-10": "--ramps-grey-10";
1165
+ readonly "grey-20": "--ramps-grey-20";
1166
+ readonly "grey-30": "--ramps-grey-30";
1167
+ readonly "grey-40": "--ramps-grey-40";
1168
+ readonly "grey-50": "--ramps-grey-50";
1169
+ readonly "grey-60": "--ramps-grey-60";
1170
+ readonly "grey-70": "--ramps-grey-70";
1171
+ readonly "grey-80": "--ramps-grey-80";
1172
+ readonly "grey-90": "--ramps-grey-90";
1173
+ readonly "grey-100": "--ramps-grey-100";
1174
+ readonly "grey-110": "--ramps-grey-110";
1175
+ readonly "grey-120": "--ramps-grey-120";
1176
+ readonly "grey-130": "--ramps-grey-130";
1177
+ readonly "grey-140": "--ramps-grey-140";
1178
+ readonly "grey-150": "--ramps-grey-150";
1179
+ readonly "grey2-50": "--ramps-grey2-50";
1180
+ readonly "grey2-100": "--ramps-grey2-100";
1181
+ readonly "grey2-200": "--ramps-grey2-200";
1182
+ readonly "grey2-300": "--ramps-grey2-300";
1183
+ readonly "grey2-400": "--ramps-grey2-400";
1184
+ readonly "grey2-500": "--ramps-grey2-500";
1185
+ readonly "grey2-600": "--ramps-grey2-600";
1186
+ readonly "grey2-700": "--ramps-grey2-700";
1187
+ readonly "grey2-800": "--ramps-grey2-800";
1188
+ readonly "grey2-900": "--ramps-grey2-900";
1189
+ readonly "grey2-950": "--ramps-grey2-950";
1190
+ readonly "info-50": "--ramps-info-50";
1191
+ readonly "info-100": "--ramps-info-100";
1192
+ readonly "info-200": "--ramps-info-200";
1193
+ readonly "info-300": "--ramps-info-300";
1194
+ readonly "info-400": "--ramps-info-400";
1195
+ readonly "info-500": "--ramps-info-500";
1196
+ readonly "info-600": "--ramps-info-600";
1197
+ readonly "info-700": "--ramps-info-700";
1198
+ readonly "info-800": "--ramps-info-800";
1199
+ readonly "info-900": "--ramps-info-900";
1200
+ readonly "info-950": "--ramps-info-950";
1201
+ readonly "success-50": "--ramps-success-50";
1202
+ readonly "success-100": "--ramps-success-100";
1203
+ readonly "success-200": "--ramps-success-200";
1204
+ readonly "success-300": "--ramps-success-300";
1205
+ readonly "success-400": "--ramps-success-400";
1206
+ readonly "success-500": "--ramps-success-500";
1207
+ readonly "success-600": "--ramps-success-600";
1208
+ readonly "success-700": "--ramps-success-700";
1209
+ readonly "success-800": "--ramps-success-800";
1210
+ readonly "success-900": "--ramps-success-900";
1211
+ readonly "success-950": "--ramps-success-950";
1212
+ readonly "warning-50": "--ramps-warning-50";
1213
+ readonly "warning-100": "--ramps-warning-100";
1214
+ readonly "warning-200": "--ramps-warning-200";
1215
+ readonly "warning-300": "--ramps-warning-300";
1216
+ readonly "warning-400": "--ramps-warning-400";
1217
+ readonly "warning-500": "--ramps-warning-500";
1218
+ readonly "warning-600": "--ramps-warning-600";
1219
+ readonly "warning-700": "--ramps-warning-700";
1220
+ readonly "warning-800": "--ramps-warning-800";
1221
+ readonly "warning-900": "--ramps-warning-900";
1222
+ readonly "warning-950": "--ramps-warning-950";
1223
+ readonly "error-50": "--ramps-error-50";
1224
+ readonly "error-100": "--ramps-error-100";
1225
+ readonly "error-200": "--ramps-error-200";
1226
+ readonly "error-300": "--ramps-error-300";
1227
+ readonly "error-400": "--ramps-error-400";
1228
+ readonly "error-500": "--ramps-error-500";
1229
+ readonly "error-600": "--ramps-error-600";
1230
+ readonly "error-700": "--ramps-error-700";
1231
+ readonly "error-800": "--ramps-error-800";
1232
+ readonly "error-900": "--ramps-error-900";
1233
+ readonly "error-950": "--ramps-error-950";
1234
+ readonly primary: "--state-primary-default";
1235
+ readonly "primary-hover": "--state-primary-hover";
1236
+ readonly "primary-stroke": "--state-primary-stroke";
1237
+ readonly "primary-hover-bg": "--state-primary-hover-bg";
1238
+ readonly "primary-pressed": "--state-primary-pressed";
1239
+ readonly "primary-active": "--state-primary-active";
1240
+ readonly "primary-text-solid": "--state-primary-text-solid";
1241
+ readonly "primary-text-outline": "--state-primary-text-outline";
1242
+ readonly "primary-text-hover": "--state-primary-text-hover";
1243
+ readonly "primary-text-pressed": "--state-primary-text-pressed";
1244
+ readonly secondary: "--state-secondary-default";
1245
+ readonly "secondary-hover": "--state-secondary-hover";
1246
+ readonly "secondary-stroke": "--state-secondary-stroke";
1247
+ readonly "secondary-hover-bg": "--state-secondary-hover-bg";
1248
+ readonly "secondary-pressed": "--state-secondary-pressed";
1249
+ readonly "secondary-active": "--state-secondary-active";
1250
+ readonly "secondary-text-solid": "--state-secondary-text-solid";
1251
+ readonly "secondary-text-outline": "--state-secondary-text-outline";
1252
+ readonly "secondary-text-hover": "--state-secondary-text-hover";
1253
+ readonly "secondary-text-pressed": "--state-secondary-text-pressed";
1254
+ readonly tertiary: "--state-tertiary-default";
1255
+ readonly "tertiary-hover": "--state-tertiary-hover";
1256
+ readonly "tertiary-stroke": "--state-tertiary-stroke";
1257
+ readonly "tertiary-hover-bg": "--state-tertiary-hover-bg";
1258
+ readonly "tertiary-pressed": "--state-tertiary-pressed";
1259
+ readonly "tertiary-active": "--state-tertiary-active";
1260
+ readonly "tertiary-text-solid": "--state-tertiary-text-solid";
1261
+ readonly "tertiary-text-outline": "--state-tertiary-text-outline";
1262
+ readonly "tertiary-text-hover": "--state-tertiary-text-hover";
1263
+ readonly "tertiary-text-pressed": "--state-tertiary-text-pressed";
1264
+ readonly info: "--state-info-default";
1265
+ readonly "info-hover": "--state-info-hover";
1266
+ readonly "info-stroke": "--state-info-stroke";
1267
+ readonly "info-hover-bg": "--state-info-hover-bg";
1268
+ readonly "info-pressed": "--state-info-pressed";
1269
+ readonly "info-active": "--state-info-active";
1270
+ readonly "info-text-solid": "--state-info-text-solid";
1271
+ readonly "info-text-outline": "--state-info-text-outline";
1272
+ readonly "info-text-hover": "--state-info-text-hover";
1273
+ readonly "info-text-pressed": "--state-info-text-pressed";
1274
+ readonly success: "--state-success-default";
1275
+ readonly "success-hover": "--state-success-hover";
1276
+ readonly "success-stroke": "--state-success-stroke";
1277
+ readonly "success-hover-bg": "--state-success-hover-bg";
1278
+ readonly "success-pressed": "--state-success-pressed";
1279
+ readonly "success-active": "--state-success-active";
1280
+ readonly "success-text-solid": "--state-success-text-solid";
1281
+ readonly "success-text-outline": "--state-success-text-outline";
1282
+ readonly "success-text-hover": "--state-success-text-hover";
1283
+ readonly "success-text-pressed": "--state-success-text-pressed";
1284
+ readonly warning: "--state-warning-default";
1285
+ readonly "warning-hover": "--state-warning-hover";
1286
+ readonly "warning-stroke": "--state-warning-stroke";
1287
+ readonly "warning-hover-bg": "--state-warning-hover-bg";
1288
+ readonly "warning-pressed": "--state-warning-pressed";
1289
+ readonly "warning-active": "--state-warning-active";
1290
+ readonly "warning-text-solid": "--state-warning-text-solid";
1291
+ readonly "warning-text-outline": "--state-warning-text-outline";
1292
+ readonly "warning-text-hover": "--state-warning-text-hover";
1293
+ readonly "warning-text-pressed": "--state-warning-text-pressed";
1294
+ readonly error: "--state-error-default";
1295
+ readonly "error-hover": "--state-error-hover";
1296
+ readonly "error-stroke": "--state-error-stroke";
1297
+ readonly "error-hover-bg": "--state-error-hover-bg";
1298
+ readonly "error-pressed": "--state-error-pressed";
1299
+ readonly "error-active": "--state-error-active";
1300
+ readonly "error-text-solid": "--state-error-text-solid";
1301
+ readonly "error-text-outline": "--state-error-text-outline";
1302
+ readonly "error-text-hover": "--state-error-text-hover";
1303
+ readonly "error-text-pressed": "--state-error-text-pressed";
1304
+ readonly "disable-solid": "--state-disable-solid";
1305
+ readonly "disable-outline": "--state-disable-outline";
1282
1306
  readonly "text-black": "--text-black";
1283
1307
  readonly "text-dark": "--text-dark";
1284
1308
  readonly "text-medium": "--text-medium";
@@ -1287,15 +1311,15 @@ declare const THEME_COLOR_KEYS: {
1287
1311
  readonly "text-grey-medium": "--text-grey-medium";
1288
1312
  readonly "text-grey-light": "--text-grey-light";
1289
1313
  readonly "text-white": "--text-white";
1290
- readonly "input-default-text": "--input-color-default-text";
1291
- readonly "input-default-stroke": "--input-color-default-stroke";
1292
- readonly "input-filled-text": "--input-color-filled-text";
1293
- readonly "input-active-stroke": "--input-color-active-stroke";
1294
- readonly "input-disable-text": "--input-color-disable-text";
1295
- readonly "input-disable-stroke": "--input-color-disable-stroke";
1296
- readonly "input-disable-bg": "--input-color-disable-bg";
1297
- readonly "input-label-bg": "--input-color-label-bg";
1298
- readonly "input-error": "--input-color-error";
1314
+ readonly "input-default-text": "--input-default-text";
1315
+ readonly "input-default-stroke": "--input-default-stroke";
1316
+ readonly "input-filled-text": "--input-filled-text";
1317
+ readonly "input-active-stroke": "--input-active-stroke";
1318
+ readonly "input-disable-text": "--input-disable-text";
1319
+ readonly "input-disable-stroke": "--input-disable-stroke";
1320
+ readonly "input-disable-bg": "--input-disable-bg";
1321
+ readonly "input-label-bg": "--input-label-bg";
1322
+ readonly "input-error": "--input-error";
1299
1323
  readonly "function-default-solid": "--function-default-solid";
1300
1324
  readonly "function-default-hover": "--function-default-hover";
1301
1325
  readonly "function-default-hover-bg": "--function-default-hover-bg";
@@ -1313,7 +1337,7 @@ declare const THEME_COLOR_KEYS: {
1313
1337
  readonly "base-workspace-stroke": "--base-color-workspace-stroke";
1314
1338
  readonly "base-guideline-stroke": "--base-color-guideline-stroke";
1315
1339
  readonly "base-popup": "--base-color-popup";
1316
- readonly "base-popup-highlight": "--base-color-popup-hightlight";
1340
+ readonly "base-popup-highlight": "--base-color-popup-highlight";
1317
1341
  readonly "base-popup-curtain": "--base-color-popup-curtain";
1318
1342
  readonly "base-popup-foreground": "--base-color-popup-foreground";
1319
1343
  readonly "common-white": "--common-white";
@@ -1331,72 +1355,72 @@ declare const THEME_COLOR_KEYS: {
1331
1355
  readonly "error-foreground": "--error-foreground";
1332
1356
  readonly "grey-foreground": "--grey-foreground";
1333
1357
  readonly "grey2-foreground": "--grey2-foreground";
1334
- readonly "primary-transparent-8": "--main-transparency-primary-8";
1335
- readonly "primary-transparent-12": "--main-transparency-primary-12";
1336
- readonly "primary-transparent-16": "--main-transparency-primary-16";
1337
- readonly "primary-transparent-24": "--main-transparency-primary-24";
1338
- readonly "primary-transparent-32": "--main-transparency-primary-32";
1339
- readonly "primary-transparent-48": "--main-transparency-primary-48";
1340
- readonly "secondary-transparent-8": "--main-transparency-secondary-8";
1341
- readonly "secondary-transparent-12": "--main-transparency-secondary-12";
1342
- readonly "secondary-transparent-16": "--main-transparency-secondary-16";
1343
- readonly "secondary-transparent-24": "--main-transparency-secondary-24";
1344
- readonly "secondary-transparent-32": "--main-transparency-secondary-32";
1345
- readonly "secondary-transparent-48": "--main-transparency-secondary-48";
1346
- readonly "tertiary-transparent-8": "--main-transparency-tertiary-8";
1347
- readonly "tertiary-transparent-12": "--main-transparency-tertiary-12";
1348
- readonly "tertiary-transparent-16": "--main-transparency-tertiary-16";
1349
- readonly "tertiary-transparent-24": "--main-transparency-tertiary-24";
1350
- readonly "tertiary-transparent-32": "--main-transparency-tertiary-32";
1351
- readonly "tertiary-transparent-48": "--main-transparency-tertiary-48";
1352
- readonly "info-transparent-8": "--other-transparency-info-8";
1353
- readonly "info-transparent-12": "--other-transparency-info-12";
1354
- readonly "info-transparent-16": "--other-transparency-info-16";
1355
- readonly "info-transparent-24": "--other-transparency-info-24";
1356
- readonly "info-transparent-32": "--other-transparency-info-32";
1357
- readonly "info-transparent-48": "--other-transparency-info-48";
1358
- readonly "success-transparent-8": "--other-transparency-success-8";
1359
- readonly "success-transparent-12": "--other-transparency-success-12";
1360
- readonly "success-transparent-16": "--other-transparency-success-16";
1361
- readonly "success-transparent-24": "--other-transparency-success-24";
1362
- readonly "success-transparent-32": "--other-transparency-success-32";
1363
- readonly "success-transparent-48": "--other-transparency-success-48";
1364
- readonly "warning-transparent-8": "--other-transparency-warning-8";
1365
- readonly "warning-transparent-12": "--other-transparency-warning-12";
1366
- readonly "warning-transparent-16": "--other-transparency-warning-16";
1367
- readonly "warning-transparent-24": "--other-transparency-warning-24";
1368
- readonly "warning-transparent-32": "--other-transparency-warning-32";
1369
- readonly "warning-transparent-48": "--other-transparency-warning-48";
1370
- readonly "error-transparent-8": "--other-transparency-error-8";
1371
- readonly "error-transparent-12": "--other-transparency-error-12";
1372
- readonly "error-transparent-16": "--other-transparency-error-16";
1373
- readonly "error-transparent-24": "--other-transparency-error-24";
1374
- readonly "error-transparent-32": "--other-transparency-error-32";
1375
- readonly "error-transparent-48": "--other-transparency-error-48";
1376
- readonly "grey-transparent-8": "--other-transparency-grey-8";
1377
- readonly "grey-transparent-12": "--other-transparency-grey-12";
1378
- readonly "grey-transparent-16": "--other-transparency-grey-16";
1379
- readonly "grey-transparent-24": "--other-transparency-grey-24";
1380
- readonly "grey-transparent-32": "--other-transparency-grey-32";
1381
- readonly "grey-transparent-48": "--other-transparency-grey-48";
1382
- readonly "grey2-transparent-8": "--other-transparency-grey2-8";
1383
- readonly "grey2-transparent-12": "--other-transparency-grey2-12";
1384
- readonly "grey2-transparent-16": "--other-transparency-grey2-16";
1385
- readonly "grey2-transparent-24": "--other-transparency-grey2-24";
1386
- readonly "grey2-transparent-32": "--other-transparency-grey2-32";
1387
- readonly "grey2-transparent-48": "--other-transparency-grey2-48";
1388
- readonly "white-transparent-8": "--other-transparency-white-08";
1389
- readonly "white-transparent-12": "--other-transparency-white-12";
1390
- readonly "white-transparent-16": "--other-transparency-white-16";
1391
- readonly "white-transparent-24": "--other-transparency-white-24";
1392
- readonly "white-transparent-32": "--other-transparency-white-32";
1393
- readonly "white-transparent-48": "--other-transparency-white-48";
1394
- readonly "black-transparent-8": "--other-transparency-black-08";
1395
- readonly "black-transparent-12": "--other-transparency-black-12";
1396
- readonly "black-transparent-16": "--other-transparency-black-16";
1397
- readonly "black-transparent-24": "--other-transparency-black-24";
1398
- readonly "black-transparent-32": "--other-transparency-black-32";
1399
- readonly "black-transparent-48": "--other-transparency-black-48";
1358
+ readonly "primary-transparent-8": "--transparent-primary-8";
1359
+ readonly "primary-transparent-12": "--transparent-primary-12";
1360
+ readonly "primary-transparent-16": "--transparent-primary-16";
1361
+ readonly "primary-transparent-24": "--transparent-primary-24";
1362
+ readonly "primary-transparent-32": "--transparent-primary-32";
1363
+ readonly "primary-transparent-48": "--transparent-primary-48";
1364
+ readonly "secondary-transparent-8": "--transparent-secondary-8";
1365
+ readonly "secondary-transparent-12": "--transparent-secondary-12";
1366
+ readonly "secondary-transparent-16": "--transparent-secondary-16";
1367
+ readonly "secondary-transparent-24": "--transparent-secondary-24";
1368
+ readonly "secondary-transparent-32": "--transparent-secondary-32";
1369
+ readonly "secondary-transparent-48": "--transparent-secondary-48";
1370
+ readonly "tertiary-transparent-8": "--transparent-tertiary-8";
1371
+ readonly "tertiary-transparent-12": "--transparent-tertiary-12";
1372
+ readonly "tertiary-transparent-16": "--transparent-tertiary-16";
1373
+ readonly "tertiary-transparent-24": "--transparent-tertiary-24";
1374
+ readonly "tertiary-transparent-32": "--transparent-tertiary-32";
1375
+ readonly "tertiary-transparent-48": "--transparent-tertiary-48";
1376
+ readonly "info-transparent-8": "--transparent-info-8";
1377
+ readonly "info-transparent-12": "--transparent-info-12";
1378
+ readonly "info-transparent-16": "--transparent-info-16";
1379
+ readonly "info-transparent-24": "--transparent-info-24";
1380
+ readonly "info-transparent-32": "--transparent-info-32";
1381
+ readonly "info-transparent-48": "--transparent-info-48";
1382
+ readonly "success-transparent-8": "--transparent-success-8";
1383
+ readonly "success-transparent-12": "--transparent-success-12";
1384
+ readonly "success-transparent-16": "--transparent-success-16";
1385
+ readonly "success-transparent-24": "--transparent-success-24";
1386
+ readonly "success-transparent-32": "--transparent-success-32";
1387
+ readonly "success-transparent-48": "--transparent-success-48";
1388
+ readonly "warning-transparent-8": "--transparent-warning-8";
1389
+ readonly "warning-transparent-12": "--transparent-warning-12";
1390
+ readonly "warning-transparent-16": "--transparent-warning-16";
1391
+ readonly "warning-transparent-24": "--transparent-warning-24";
1392
+ readonly "warning-transparent-32": "--transparent-warning-32";
1393
+ readonly "warning-transparent-48": "--transparent-warning-48";
1394
+ readonly "error-transparent-8": "--transparent-error-8";
1395
+ readonly "error-transparent-12": "--transparent-error-12";
1396
+ readonly "error-transparent-16": "--transparent-error-16";
1397
+ readonly "error-transparent-24": "--transparent-error-24";
1398
+ readonly "error-transparent-32": "--transparent-error-32";
1399
+ readonly "error-transparent-48": "--transparent-error-48";
1400
+ readonly "grey-transparent-8": "--transparent-grey-8";
1401
+ readonly "grey-transparent-12": "--transparent-grey-12";
1402
+ readonly "grey-transparent-16": "--transparent-grey-16";
1403
+ readonly "grey-transparent-24": "--transparent-grey-24";
1404
+ readonly "grey-transparent-32": "--transparent-grey-32";
1405
+ readonly "grey-transparent-48": "--transparent-grey-48";
1406
+ readonly "grey2-transparent-8": "--transparent-grey2-8";
1407
+ readonly "grey2-transparent-12": "--transparent-grey2-12";
1408
+ readonly "grey2-transparent-16": "--transparent-grey2-16";
1409
+ readonly "grey2-transparent-24": "--transparent-grey2-24";
1410
+ readonly "grey2-transparent-32": "--transparent-grey2-32";
1411
+ readonly "grey2-transparent-48": "--transparent-grey2-48";
1412
+ readonly "white-transparent-8": "--transparent-white-8";
1413
+ readonly "white-transparent-12": "--transparent-white-12";
1414
+ readonly "white-transparent-16": "--transparent-white-16";
1415
+ readonly "white-transparent-24": "--transparent-white-24";
1416
+ readonly "white-transparent-32": "--transparent-white-32";
1417
+ readonly "white-transparent-48": "--transparent-white-48";
1418
+ readonly "black-transparent-8": "--transparent-black-8";
1419
+ readonly "black-transparent-12": "--transparent-black-12";
1420
+ readonly "black-transparent-16": "--transparent-black-16";
1421
+ readonly "black-transparent-24": "--transparent-black-24";
1422
+ readonly "black-transparent-32": "--transparent-black-32";
1423
+ readonly "black-transparent-48": "--transparent-black-48";
1400
1424
  };
1401
1425
  type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
1402
1426
  /**
@@ -1405,7 +1429,7 @@ type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
1405
1429
  *
1406
1430
  * @example
1407
1431
  * const primary = getThemeColor('primary');
1408
- * const hex = getThemeColor('--primary-ramps-primary-100');
1432
+ * const hex = getThemeColor('--ramps-primary-100');
1409
1433
  */
1410
1434
  declare function getThemeColor(keyOrVar: ThemeColorKey | string, element?: HTMLElement | Document): string;
1411
1435
  /**