@sprinklrjs/spaceweb-themes 12.33.2 → 14.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/common-theme/theme.d.ts +26 -4
  2. package/common-theme/theme.js +53 -33
  3. package/common-theme/utilities.d.ts +1260 -1206
  4. package/common-theme/utilities.js +657 -639
  5. package/hyperspace/dark/index.d.ts +1879 -1535
  6. package/hyperspace/dark/index.js +4 -4
  7. package/hyperspace/dark/theme.d.ts +370 -270
  8. package/hyperspace/dark/theme.js +270 -191
  9. package/hyperspace/dark/utilities.d.ts +1509 -1265
  10. package/hyperspace/dark/utilities.js +130 -57
  11. package/hyperspace/light/index.d.ts +1944 -1600
  12. package/hyperspace/light/index.js +4 -4
  13. package/hyperspace/light/theme.d.ts +383 -283
  14. package/hyperspace/light/theme.js +273 -194
  15. package/hyperspace/light/utilities.d.ts +1522 -1278
  16. package/hyperspace/light/utilities.js +133 -62
  17. package/hyperspace/themeVars.css +228 -101
  18. package/hyperspace/themeVars.min.css +1 -1
  19. package/hyperspace-15/common-theme/theme.d.ts +369 -0
  20. package/hyperspace-15/common-theme/theme.js +333 -0
  21. package/hyperspace-15/common-theme/utilities.d.ts +5352 -0
  22. package/hyperspace-15/common-theme/utilities.js +1641 -0
  23. package/{space → hyperspace-15/hyperspace}/dark/index.d.ts +1935 -1537
  24. package/hyperspace-15/hyperspace/dark/index.js +8 -0
  25. package/{space/light → hyperspace-15/hyperspace/dark}/theme.d.ts +383 -232
  26. package/hyperspace-15/hyperspace/dark/theme.js +403 -0
  27. package/{space → hyperspace-15/hyperspace}/dark/utilities.d.ts +1522 -1275
  28. package/hyperspace-15/hyperspace/dark/utilities.js +225 -0
  29. package/{space → hyperspace-15/hyperspace}/light/index.d.ts +1903 -1505
  30. package/hyperspace-15/hyperspace/light/index.js +8 -0
  31. package/{space/dark → hyperspace-15/hyperspace/light}/theme.d.ts +386 -235
  32. package/hyperspace-15/hyperspace/light/theme.js +403 -0
  33. package/{space → hyperspace-15/hyperspace}/light/utilities.d.ts +1519 -1272
  34. package/hyperspace-15/hyperspace/light/utilities.js +225 -0
  35. package/hyperspace-15/hyperspace/themeVars.css +403 -0
  36. package/hyperspace-15/hyperspace/themeVars.min.css +1 -0
  37. package/hyperspace-15/styles/tailwind-media.css +2472 -0
  38. package/hyperspace-15/styles/tailwind-media.min.css +1 -0
  39. package/hyperspace-15/styles/tailwind.css +11504 -0
  40. package/hyperspace-15/styles/tailwind.min.css +1 -0
  41. package/hyperspace-16/common-theme/theme.d.ts +369 -0
  42. package/hyperspace-16/common-theme/theme.js +333 -0
  43. package/hyperspace-16/common-theme/utilities.d.ts +5352 -0
  44. package/hyperspace-16/common-theme/utilities.js +1641 -0
  45. package/hyperspace-16/hyperspace/dark/index.d.ts +6896 -0
  46. package/hyperspace-16/hyperspace/dark/index.js +8 -0
  47. package/hyperspace-16/hyperspace/dark/theme.d.ts +961 -0
  48. package/hyperspace-16/hyperspace/dark/theme.js +403 -0
  49. package/hyperspace-16/hyperspace/dark/utilities.d.ts +5934 -0
  50. package/hyperspace-16/hyperspace/dark/utilities.js +225 -0
  51. package/hyperspace-16/hyperspace/light/index.d.ts +6896 -0
  52. package/hyperspace-16/hyperspace/light/index.js +8 -0
  53. package/hyperspace-16/hyperspace/light/theme.d.ts +961 -0
  54. package/hyperspace-16/hyperspace/light/theme.js +403 -0
  55. package/hyperspace-16/hyperspace/light/utilities.d.ts +5934 -0
  56. package/hyperspace-16/hyperspace/light/utilities.js +225 -0
  57. package/hyperspace-16/hyperspace/themeVars.css +403 -0
  58. package/hyperspace-16/hyperspace/themeVars.min.css +1 -0
  59. package/hyperspace-16/styles/tailwind-media.css +2472 -0
  60. package/hyperspace-16/styles/tailwind-media.min.css +1 -0
  61. package/hyperspace-16/styles/tailwind.css +11504 -0
  62. package/hyperspace-16/styles/tailwind.min.css +1 -0
  63. package/package.json +11 -11
  64. package/polyfill/countryflagEmoji.ts +12 -0
  65. package/styles/additionals.css +1042 -0
  66. package/styles/additionals.min.css +1 -0
  67. package/styles/breakpoints.scss +34 -0
  68. package/styles/normalize.css +350 -69
  69. package/styles/normalize.min.css +1 -1
  70. package/styles/spaceweb.css +6 -0
  71. package/styles/tailwind-media.css +2472 -0
  72. package/styles/tailwind-media.min.css +1 -0
  73. package/styles/tailwind-rtl.css +79 -0
  74. package/styles/tailwind-rtl.min.css +1 -0
  75. package/styles/tailwind-test-classes.css +7789 -0
  76. package/styles/tailwind.css +8544 -6217
  77. package/styles/tailwind.min.css +1 -1
  78. package/styles/tokens.scss +6 -6
  79. package/types.d.ts +133 -83
  80. package/utilities.css +135 -54
  81. package/utilities.min.css +1 -1
  82. package/space/dark/index.js +0 -8
  83. package/space/dark/theme.js +0 -301
  84. package/space/dark/utilities.js +0 -149
  85. package/space/light/index.js +0 -8
  86. package/space/light/theme.js +0 -301
  87. package/space/light/utilities.js +0 -149
  88. package/space/themeVars.css +0 -274
  89. package/space/themeVars.min.css +0 -1
  90. package/styles/globals.css +0 -80
  91. package/styles/globals.min.css +0 -1
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ htmlFontSize: number;
2
3
  borderRadius: {
3
4
  0: string;
4
5
  1: string;
@@ -69,12 +70,28 @@ declare const _default: {
69
70
  8: string;
70
71
  9: string;
71
72
  10: string;
73
+ 12: string;
72
74
  none: string;
73
75
  tight: string;
74
76
  snug: string;
75
77
  normal: string;
76
78
  relaxed: string;
77
79
  loose: string;
80
+ 0.25: string;
81
+ 0.625: string;
82
+ 2.5: string;
83
+ 3.125: string;
84
+ 3.5: string;
85
+ 3.75: string;
86
+ 4.375: string;
87
+ 4.5: string;
88
+ 5.5: string;
89
+ 5.625: string;
90
+ 6.25: string;
91
+ 6.5: string;
92
+ 8.5: string;
93
+ 9.5: string;
94
+ 11.5: string;
78
95
  };
79
96
  margin: {
80
97
  0: string;
@@ -90,7 +107,6 @@ declare const _default: {
90
107
  10: string;
91
108
  11: string;
92
109
  12: string;
93
- 15: string;
94
110
  16: string;
95
111
  20: string;
96
112
  24: string;
@@ -100,7 +116,10 @@ declare const _default: {
100
116
  56: string;
101
117
  64: string;
102
118
  auto: string;
103
- '05': string;
119
+ 1.5: string;
120
+ 0.5: string;
121
+ '-1.5': string;
122
+ '-0.5': string;
104
123
  px: string;
105
124
  '-1': string;
106
125
  '-2': string;
@@ -173,6 +192,9 @@ declare const _default: {
173
192
  double: string;
174
193
  hidden: string;
175
194
  };
195
+ outlineColor: {
196
+ sprFocus01: string;
197
+ };
176
198
  padding: {
177
199
  0: string;
178
200
  1: string;
@@ -187,7 +209,6 @@ declare const _default: {
187
209
  10: string;
188
210
  11: string;
189
211
  12: string;
190
- 15: string;
191
212
  16: string;
192
213
  20: string;
193
214
  24: string;
@@ -196,7 +217,8 @@ declare const _default: {
196
217
  48: string;
197
218
  56: string;
198
219
  64: string;
199
- '05': string;
220
+ 1.5: string;
221
+ 0.5: string;
200
222
  px: string;
201
223
  };
202
224
  stroke: {
@@ -10,9 +10,10 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- exports.__esModule = true;
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  // THIS FILES IS GENERATED USING SCRIPT, DO NOT EDIT DIRECTLY
15
15
  var theme = {
16
+ htmlFontSize: 10,
16
17
  borderRadius: {
17
18
  0: '0',
18
19
  1: '1px',
@@ -26,14 +27,14 @@ var theme = {
26
27
  sm: '0.125rem',
27
28
  md: '0.375rem',
28
29
  lg: '0.5rem',
29
- "default": '1px',
30
- full: '100%'
30
+ default: '1px',
31
+ full: '100%',
31
32
  },
32
- borderWidth: { 0: '0', 1: '1px', 2: '2px', 4: '4px', 6: '6px', 8: '8px', 12: '12px', 16: '16px', "default": '1px' },
33
+ borderWidth: { 0: '0', 1: '1px', 2: '2px', 4: '4px', 6: '6px', 8: '8px', 12: '12px', 16: '16px', default: '1px' },
33
34
  fontFamily: {
34
35
  sans: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
35
36
  serif: 'Georgia, Cambria, "Times New Roman", Times, serif',
36
- mono: 'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
37
+ mono: 'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
37
38
  },
38
39
  fontWeight: {
39
40
  300: '300',
@@ -50,7 +51,7 @@ var theme = {
50
51
  semibold: '600',
51
52
  bold: '700',
52
53
  extrabold: '800',
53
- black: '900'
54
+ black: '900',
54
55
  },
55
56
  inset: { 0: '0', auto: 'auto' },
56
57
  letterSpacing: {
@@ -59,23 +60,39 @@ var theme = {
59
60
  normal: '0',
60
61
  wide: '0.025em',
61
62
  wider: '0.05em',
62
- widest: '0.1em'
63
+ widest: '0.1em',
63
64
  },
64
65
  lineHeight: {
65
- 3: '.75rem',
66
- 4: '1rem',
67
- 5: '1.25rem',
68
- 6: '1.5rem',
69
- 7: '1.75rem',
70
- 8: '2rem',
71
- 9: '2.25rem',
72
- 10: '2.5rem',
66
+ 3: '1.2rem',
67
+ 4: '1.6rem',
68
+ 5: '2rem',
69
+ 6: '2.4rem',
70
+ 7: '2.8rem',
71
+ 8: '3.2rem',
72
+ 9: '3.6rem',
73
+ 10: '4rem',
74
+ 12: '4.8rem',
73
75
  none: '1',
74
76
  tight: '1.25',
75
77
  snug: '1.375',
76
78
  normal: '1.5',
77
79
  relaxed: '1.625',
78
- loose: '2'
80
+ loose: '2',
81
+ 0.25: '0.1rem',
82
+ 0.625: '0.25rem',
83
+ 2.5: '1rem',
84
+ 3.125: '1.25rem',
85
+ 3.5: '1.4rem',
86
+ 3.75: '1.5rem',
87
+ 4.375: '1.75rem',
88
+ 4.5: '1.8rem',
89
+ 5.5: '2.2rem',
90
+ 5.625: '2.25rem',
91
+ 6.25: '2.5rem',
92
+ 6.5: '2.6rem',
93
+ 8.5: '3.4rem',
94
+ 9.5: '3.8rem',
95
+ 11.5: '4.6rem',
79
96
  },
80
97
  margin: {
81
98
  0: '0',
@@ -91,7 +108,6 @@ var theme = {
91
108
  10: '4rem',
92
109
  11: '4.4rem',
93
110
  12: '4.8rem',
94
- 15: '-0.6rem',
95
111
  16: '6.4rem',
96
112
  20: '8rem',
97
113
  24: '9.6rem',
@@ -101,7 +117,10 @@ var theme = {
101
117
  56: '22.4rem',
102
118
  64: '25.6rem',
103
119
  auto: 'auto',
104
- '05': '-0.2rem',
120
+ 1.5: '0.6rem',
121
+ 0.5: '0.2rem',
122
+ '-1.5': '-0.6rem',
123
+ '-0.5': '-0.2rem',
105
124
  px: '-1px',
106
125
  '-1': '-0.4rem',
107
126
  '-2': '-0.8rem',
@@ -122,7 +141,7 @@ var theme = {
122
141
  '-40': '-16rem',
123
142
  '-48': '-19.2rem',
124
143
  '-56': '-22.4rem',
125
- '-64': '-25.6rem'
144
+ '-64': '-25.6rem',
126
145
  },
127
146
  maxHeight: { full: '100%', screen: '100vh' },
128
147
  maxWidth: {
@@ -141,7 +160,7 @@ var theme = {
141
160
  screenSm: '640px',
142
161
  screenMd: '768px',
143
162
  screenLg: '1024px',
144
- screenXl: '1280px'
163
+ screenXl: '1280px',
145
164
  },
146
165
  minHeight: { 0: '0', full: '100%', screen: '100vh' },
147
166
  minWidth: { 0: '0', full: '100%' },
@@ -153,8 +172,9 @@ var theme = {
153
172
  dashed: 'dashed',
154
173
  dotted: 'dotted',
155
174
  double: 'double',
156
- hidden: 'hidden'
175
+ hidden: 'hidden',
157
176
  },
177
+ outlineColor: { sprFocus01: 'var(--spr-focus-01, #0e61f6)' },
158
178
  padding: {
159
179
  0: '0',
160
180
  1: '0.4rem',
@@ -169,7 +189,6 @@ var theme = {
169
189
  10: '4rem',
170
190
  11: '4.4rem',
171
191
  12: '4.8rem',
172
- 15: '0.6rem',
173
192
  16: '6.4rem',
174
193
  20: '8rem',
175
194
  24: '9.6rem',
@@ -178,8 +197,9 @@ var theme = {
178
197
  48: '19.2rem',
179
198
  56: '22.4rem',
180
199
  64: '25.6rem',
181
- '05': '0.2rem',
182
- px: '1px'
200
+ 1.5: '0.6rem',
201
+ 0.5: '0.2rem',
202
+ px: '1px',
183
203
  },
184
204
  stroke: { current: 'currentColor' },
185
205
  gap: {
@@ -204,7 +224,7 @@ var theme = {
204
224
  48: '19.2rem',
205
225
  56: '22.4rem',
206
226
  64: '25.6rem',
207
- px: '1px'
227
+ px: '1px',
208
228
  },
209
229
  translate: {
210
230
  0: '0',
@@ -249,13 +269,13 @@ var theme = {
249
269
  '-48': '-19.2rem',
250
270
  '-56': '-22.4rem',
251
271
  '-64': '-25.6rem',
252
- full: '100%'
272
+ full: '100%',
253
273
  },
254
274
  transitionTimingFunction: {
255
275
  linear: 'linear',
256
- "in": 'cubic-bezier(0.4, 0, 1, 1)',
276
+ in: 'cubic-bezier(0.4, 0, 1, 1)',
257
277
  out: 'cubic-bezier(0, 0, 0.2, 1)',
258
- inOut: 'cubic-bezier(0.4, 0, 0.2, 1)'
278
+ inOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
259
279
  },
260
280
  borderColor: { transparent: 'transparent', current: 'currentColor' },
261
281
  borderOpacity: {
@@ -273,7 +293,7 @@ var theme = {
273
293
  75: '0.75',
274
294
  80: '0.8',
275
295
  90: '0.9',
276
- 100: '1'
296
+ 100: '1',
277
297
  },
278
298
  placeholderColor: { transparent: 'transparent', current: 'currentColor' },
279
299
  placeholderOpacity: {
@@ -291,7 +311,7 @@ var theme = {
291
311
  75: '0.75',
292
312
  80: '0.8',
293
313
  90: '0.9',
294
- 100: '1'
314
+ 100: '1',
295
315
  },
296
316
  screens: { sm: '640px', md: '768px', lg: '1024px', xl: '1280px' },
297
317
  textColor: { transparent: 'transparent', current: 'currentColor' },
@@ -307,7 +327,7 @@ var theme = {
307
327
  32: '3.2rem',
308
328
  40: '4rem',
309
329
  56: '5.6rem',
310
- 72: '7.2rem'
311
- }
330
+ 72: '7.2rem',
331
+ },
312
332
  };
313
- exports["default"] = __assign({}, theme);
333
+ exports.default = __assign({}, theme);