@satellatickets/ui 0.0.0 → 0.1.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.
package/dist/web/index.js CHANGED
@@ -10,11 +10,11 @@ function cx(...parts) {
10
10
  //#endregion
11
11
  //#region src/badge/Badge.module.css
12
12
  var Badge_module_default = {
13
- "danger": "sui-danger-ZzcBVG",
14
- "info": "sui-info-ZzcBVG",
15
- "root": "sui-root-ZzcBVG",
16
- "success": "sui-success-ZzcBVG",
17
- "warning": "sui-warning-ZzcBVG"
13
+ "danger": "sui-danger-iCOp0a",
14
+ "info": "sui-info-iCOp0a",
15
+ "root": "sui-root-iCOp0a",
16
+ "success": "sui-success-iCOp0a",
17
+ "warning": "sui-warning-iCOp0a"
18
18
  };
19
19
  //#endregion
20
20
  //#region src/badge/Badge.web.tsx
@@ -33,7 +33,7 @@ function Badge({ variant = "info", className, testID, children }) {
33
33
  }
34
34
  //#endregion
35
35
  //#region src/box/Box.module.css
36
- var Box_module_default = { "root": "sui-root-SDR9xW" };
36
+ var Box_module_default = { "root": "sui-root-fYQz2a" };
37
37
  //#endregion
38
38
  //#region src/box/Box.web.tsx
39
39
  function Box({ as: Tag = "div", padding, paddingX, paddingY, background, radius, borderColor, shadow, flex, className, style, testID, children }) {
@@ -331,7 +331,7 @@ const icons = {
331
331
  };
332
332
  //#endregion
333
333
  //#region src/icon/Icon.module.css
334
- var Icon_module_default = { "root": "sui-root-NjYZ8q" };
334
+ var Icon_module_default = { "root": "sui-root-JxbEOq" };
335
335
  //#endregion
336
336
  //#region src/icon/Icon.web.tsx
337
337
  function renderElement(element, index) {
@@ -381,9 +381,9 @@ function Icon({ name, size = "md", color = "primary", label, className, testID }
381
381
  //#endregion
382
382
  //#region src/spinner/Spinner.module.css
383
383
  var Spinner_module_default = {
384
- "icon": "sui-icon-g-Gv2a",
385
- "root": "sui-root-g-Gv2a",
386
- "spin": "sui-spin-g-Gv2a"
384
+ "icon": "sui-icon-iFfE_q",
385
+ "root": "sui-root-iFfE_q",
386
+ "spin": "sui-spin-iFfE_q"
387
387
  };
388
388
  //#endregion
389
389
  //#region src/spinner/Spinner.web.tsx
@@ -411,19 +411,19 @@ function Spinner({ size = "md", color = "primary", label, className, testID }) {
411
411
  //#endregion
412
412
  //#region src/button/Button.module.css
413
413
  var Button_module_default = {
414
- "content": "sui-content--HHqDW",
415
- "danger": "sui-danger--HHqDW",
416
- "fullWidth": "sui-fullWidth--HHqDW",
417
- "ghost": "sui-ghost--HHqDW",
418
- "label": "sui-label--HHqDW",
419
- "lg": "sui-lg--HHqDW",
420
- "loading": "sui-loading--HHqDW",
421
- "md": "sui-md--HHqDW",
422
- "primary": "sui-primary--HHqDW",
423
- "root": "sui-root--HHqDW",
424
- "secondary": "sui-secondary--HHqDW",
425
- "sm": "sui-sm--HHqDW",
426
- "spinner": "sui-spinner--HHqDW"
414
+ "content": "sui-content-FZ-IiW",
415
+ "danger": "sui-danger-FZ-IiW",
416
+ "fullWidth": "sui-fullWidth-FZ-IiW",
417
+ "ghost": "sui-ghost-FZ-IiW",
418
+ "label": "sui-label-FZ-IiW",
419
+ "lg": "sui-lg-FZ-IiW",
420
+ "loading": "sui-loading-FZ-IiW",
421
+ "md": "sui-md-FZ-IiW",
422
+ "primary": "sui-primary-FZ-IiW",
423
+ "root": "sui-root-FZ-IiW",
424
+ "secondary": "sui-secondary-FZ-IiW",
425
+ "sm": "sui-sm-FZ-IiW",
426
+ "spinner": "sui-spinner-FZ-IiW"
427
427
  };
428
428
  //#endregion
429
429
  //#region src/button/Button.web.tsx
@@ -485,19 +485,19 @@ function Button({ variant = "primary", size = "md", disabled = false, loading =
485
485
  //#endregion
486
486
  //#region src/stack/Stack.module.css
487
487
  var Stack_module_default = {
488
- "alignCenter": "sui-alignCenter-xABqRa",
489
- "alignEnd": "sui-alignEnd-xABqRa",
490
- "alignStart": "sui-alignStart-xABqRa",
491
- "alignStretch": "sui-alignStretch-xABqRa",
492
- "column": "sui-column-xABqRa",
493
- "justifyAround": "sui-justifyAround-xABqRa",
494
- "justifyBetween": "sui-justifyBetween-xABqRa",
495
- "justifyCenter": "sui-justifyCenter-xABqRa",
496
- "justifyEnd": "sui-justifyEnd-xABqRa",
497
- "justifyStart": "sui-justifyStart-xABqRa",
498
- "row": "sui-row-xABqRa",
499
- "stack": "sui-stack-xABqRa",
500
- "wrap": "sui-wrap-xABqRa"
488
+ "alignCenter": "sui-alignCenter-oAyu1G",
489
+ "alignEnd": "sui-alignEnd-oAyu1G",
490
+ "alignStart": "sui-alignStart-oAyu1G",
491
+ "alignStretch": "sui-alignStretch-oAyu1G",
492
+ "column": "sui-column-oAyu1G",
493
+ "justifyAround": "sui-justifyAround-oAyu1G",
494
+ "justifyBetween": "sui-justifyBetween-oAyu1G",
495
+ "justifyCenter": "sui-justifyCenter-oAyu1G",
496
+ "justifyEnd": "sui-justifyEnd-oAyu1G",
497
+ "justifyStart": "sui-justifyStart-oAyu1G",
498
+ "row": "sui-row-oAyu1G",
499
+ "stack": "sui-stack-oAyu1G",
500
+ "wrap": "sui-wrap-oAyu1G"
501
501
  };
502
502
  //#endregion
503
503
  //#region src/stack/Stack.web.tsx
@@ -532,12 +532,12 @@ function Stack({ direction = "column", gap, align = "stretch", justify = "start"
532
532
  //#endregion
533
533
  //#region src/text/Text.module.css
534
534
  var Text_module_default = {
535
- "center": "sui-center-b2Fw3a",
536
- "left": "sui-left-b2Fw3a",
537
- "right": "sui-right-b2Fw3a",
538
- "root": "sui-root-b2Fw3a",
539
- "truncate": "sui-truncate-b2Fw3a",
540
- "uppercase": "sui-uppercase-b2Fw3a"
535
+ "center": "sui-center-ca3VdW",
536
+ "left": "sui-left-ca3VdW",
537
+ "right": "sui-right-ca3VdW",
538
+ "root": "sui-root-ca3VdW",
539
+ "truncate": "sui-truncate-ca3VdW",
540
+ "uppercase": "sui-uppercase-ca3VdW"
541
541
  };
542
542
  //#endregion
543
543
  //#region src/text/Text.web.tsx
@@ -581,7 +581,7 @@ function Text({ variant = "body", color = "primary", align, truncate = false, as
581
581
  }
582
582
  //#endregion
583
583
  //#region src/ui-provider/UIProvider.module.css
584
- var UIProvider_module_default = { "root": "sui-root-wZgHIa" };
584
+ var UIProvider_module_default = { "root": "sui-root-QoB9YG" };
585
585
  //#endregion
586
586
  //#region src/ui-provider/UIProvider.web.tsx
587
587
  const DARK_QUERY = "(prefers-color-scheme: dark)";
@@ -1,4 +1,4 @@
1
- .sui-root-ZzcBVG {
1
+ .sui-root-iCOp0a {
2
2
  box-sizing: border-box;
3
3
  padding: var(--space-1) var(--space-2);
4
4
  border: var(--border-width-thin) solid var(--badge-border);
@@ -13,30 +13,30 @@
13
13
  display: inline-flex;
14
14
  }
15
15
 
16
- .sui-success-ZzcBVG {
16
+ .sui-success-iCOp0a {
17
17
  --badge-bg: var(--color-feedback-success-bg);
18
18
  --badge-border: var(--color-feedback-success-border);
19
19
  --badge-fg: var(--color-feedback-success-text);
20
20
  }
21
21
 
22
- .sui-warning-ZzcBVG {
22
+ .sui-warning-iCOp0a {
23
23
  --badge-bg: var(--color-feedback-warning-bg);
24
24
  --badge-border: var(--color-feedback-warning-border);
25
25
  --badge-fg: var(--color-feedback-warning-text);
26
26
  }
27
27
 
28
- .sui-danger-ZzcBVG {
28
+ .sui-danger-iCOp0a {
29
29
  --badge-bg: var(--color-feedback-danger-bg);
30
30
  --badge-border: var(--color-feedback-danger-border);
31
31
  --badge-fg: var(--color-feedback-danger-text);
32
32
  }
33
33
 
34
- .sui-info-ZzcBVG {
34
+ .sui-info-iCOp0a {
35
35
  --badge-bg: var(--color-feedback-info-bg);
36
36
  --badge-border: var(--color-feedback-info-border);
37
37
  --badge-fg: var(--color-feedback-info-text);
38
38
  }
39
- .sui-root-SDR9xW {
39
+ .sui-root-fYQz2a {
40
40
  --box-padding: initial;
41
41
  --box-padding-x: initial;
42
42
  --box-padding-y: initial;
@@ -57,27 +57,27 @@
57
57
  box-shadow: var(--box-shadow, none);
58
58
  flex: var(--box-flex, initial);
59
59
  }
60
- .sui-root-NjYZ8q {
60
+ .sui-root-JxbEOq {
61
61
  vertical-align: middle;
62
62
  flex-shrink: 0;
63
63
  display: inline-block;
64
64
  }
65
- .sui-root-g-Gv2a {
65
+ .sui-root-iFfE_q {
66
66
  vertical-align: middle;
67
67
  flex-shrink: 0;
68
68
  display: inline-flex;
69
69
  }
70
70
 
71
- .sui-icon-g-Gv2a {
72
- animation: sui-spin-g-Gv2a calc(var(--duration-slow) * 2) linear infinite;
71
+ .sui-icon-iFfE_q {
72
+ animation: sui-spin-iFfE_q calc(var(--duration-slow) * 2) linear infinite;
73
73
  }
74
74
 
75
- @keyframes sui-spin-g-Gv2a {
75
+ @keyframes sui-spin-iFfE_q {
76
76
  to {
77
77
  transform: rotate(360deg);
78
78
  }
79
79
  }
80
- .sui-root--HHqDW {
80
+ .sui-root-FZ-IiW {
81
81
  box-sizing: border-box;
82
82
  min-width: 0;
83
83
  min-height: var(--button-height);
@@ -104,7 +104,7 @@
104
104
  position: relative;
105
105
  }
106
106
 
107
- .sui-primary--HHqDW {
107
+ .sui-primary-FZ-IiW {
108
108
  --button-bg: var(--color-action-primary);
109
109
  --button-bg-hover: var(--color-action-primary-hover);
110
110
  --button-bg-active: var(--color-action-primary-active);
@@ -113,7 +113,7 @@
113
113
  --button-border: transparent;
114
114
  }
115
115
 
116
- .sui-secondary--HHqDW {
116
+ .sui-secondary-FZ-IiW {
117
117
  --button-bg: var(--color-action-secondary);
118
118
  --button-bg-hover: var(--color-action-secondary-hover);
119
119
  --button-bg-active: var(--color-action-secondary-active);
@@ -122,7 +122,7 @@
122
122
  --button-border: var(--color-border-default);
123
123
  }
124
124
 
125
- .sui-ghost--HHqDW {
125
+ .sui-ghost-FZ-IiW {
126
126
  --button-bg: transparent;
127
127
  --button-bg-hover: var(--color-bg-subtle);
128
128
  --button-bg-active: var(--color-bg-muted);
@@ -131,7 +131,7 @@
131
131
  --button-border: transparent;
132
132
  }
133
133
 
134
- .sui-danger--HHqDW {
134
+ .sui-danger-FZ-IiW {
135
135
  --button-bg: var(--color-action-danger);
136
136
  --button-bg-hover: var(--color-action-danger-hover);
137
137
  --button-bg-active: var(--color-action-danger-active);
@@ -140,7 +140,7 @@
140
140
  --button-border: transparent;
141
141
  }
142
142
 
143
- .sui-sm--HHqDW {
143
+ .sui-sm-FZ-IiW {
144
144
  --button-height: var(--size-control-sm);
145
145
  --button-padding-x: var(--space-3);
146
146
  --button-padding-y: var(--space-1);
@@ -148,7 +148,7 @@
148
148
  --button-line-height: var(--font-line-height-sm);
149
149
  }
150
150
 
151
- .sui-md--HHqDW {
151
+ .sui-md-FZ-IiW {
152
152
  --button-height: var(--size-control-md);
153
153
  --button-padding-x: var(--space-4);
154
154
  --button-padding-y: var(--space-2);
@@ -156,7 +156,7 @@
156
156
  --button-line-height: var(--font-line-height-sm);
157
157
  }
158
158
 
159
- .sui-lg--HHqDW {
159
+ .sui-lg-FZ-IiW {
160
160
  --button-height: var(--size-control-lg);
161
161
  --button-padding-x: var(--space-5);
162
162
  --button-padding-y: var(--space-3);
@@ -164,42 +164,42 @@
164
164
  --button-line-height: var(--font-line-height-md);
165
165
  }
166
166
 
167
- .sui-fullWidth--HHqDW {
167
+ .sui-fullWidth-FZ-IiW {
168
168
  width: 100%;
169
169
  display: flex;
170
170
  }
171
171
 
172
172
  @media (hover: hover) {
173
- .sui-root--HHqDW:hover:not(:disabled, [aria-disabled="true"]) {
173
+ .sui-root-FZ-IiW:hover:not(:disabled, [aria-disabled="true"]) {
174
174
  background-color: var(--button-bg-hover);
175
175
  }
176
176
  }
177
177
 
178
- .sui-root--HHqDW:active:not(:disabled, [aria-disabled="true"]) {
178
+ .sui-root-FZ-IiW:active:not(:disabled, [aria-disabled="true"]) {
179
179
  background-color: var(--button-bg-active);
180
180
  }
181
181
 
182
- .sui-root--HHqDW:focus-visible {
182
+ .sui-root-FZ-IiW:focus-visible {
183
183
  outline: var(--border-width-thick) solid var(--color-border-focus);
184
184
  outline-offset: var(--border-width-thick);
185
185
  }
186
186
 
187
- .sui-root--HHqDW:disabled {
187
+ .sui-root-FZ-IiW:disabled {
188
188
  --button-border: transparent;
189
189
  background-color: var(--button-bg-disabled);
190
190
  color: var(--color-text-disabled);
191
191
  cursor: not-allowed;
192
192
  }
193
193
 
194
- .sui-loading--HHqDW {
194
+ .sui-loading-FZ-IiW {
195
195
  cursor: progress;
196
196
  }
197
197
 
198
- .sui-loading--HHqDW .sui-content--HHqDW {
198
+ .sui-loading-FZ-IiW .sui-content-FZ-IiW {
199
199
  opacity: 0;
200
200
  }
201
201
 
202
- .sui-content--HHqDW {
202
+ .sui-content-FZ-IiW {
203
203
  justify-content: center;
204
204
  align-items: center;
205
205
  gap: var(--space-2);
@@ -207,11 +207,11 @@
207
207
  display: inline-flex;
208
208
  }
209
209
 
210
- .sui-label--HHqDW {
210
+ .sui-label-FZ-IiW {
211
211
  min-width: 0;
212
212
  }
213
213
 
214
- .sui-spinner--HHqDW {
214
+ .sui-spinner-FZ-IiW {
215
215
  justify-content: center;
216
216
  align-items: center;
217
217
  display: flex;
@@ -219,63 +219,63 @@
219
219
  inset: 0;
220
220
  }
221
221
 
222
- .sui-root--HHqDW svg {
222
+ .sui-root-FZ-IiW svg {
223
223
  stroke: currentColor;
224
224
  }
225
- .sui-stack-xABqRa {
225
+ .sui-stack-oAyu1G {
226
226
  --stack-gap: initial;
227
227
  gap: var(--stack-gap, 0);
228
228
  display: flex;
229
229
  }
230
230
 
231
- .sui-column-xABqRa {
231
+ .sui-column-oAyu1G {
232
232
  flex-direction: column;
233
233
  }
234
234
 
235
- .sui-row-xABqRa {
235
+ .sui-row-oAyu1G {
236
236
  flex-direction: row;
237
237
  }
238
238
 
239
- .sui-alignStretch-xABqRa {
239
+ .sui-alignStretch-oAyu1G {
240
240
  align-items: stretch;
241
241
  }
242
242
 
243
- .sui-alignStart-xABqRa {
243
+ .sui-alignStart-oAyu1G {
244
244
  align-items: flex-start;
245
245
  }
246
246
 
247
- .sui-alignCenter-xABqRa {
247
+ .sui-alignCenter-oAyu1G {
248
248
  align-items: center;
249
249
  }
250
250
 
251
- .sui-alignEnd-xABqRa {
251
+ .sui-alignEnd-oAyu1G {
252
252
  align-items: flex-end;
253
253
  }
254
254
 
255
- .sui-justifyStart-xABqRa {
255
+ .sui-justifyStart-oAyu1G {
256
256
  justify-content: flex-start;
257
257
  }
258
258
 
259
- .sui-justifyCenter-xABqRa {
259
+ .sui-justifyCenter-oAyu1G {
260
260
  justify-content: center;
261
261
  }
262
262
 
263
- .sui-justifyEnd-xABqRa {
263
+ .sui-justifyEnd-oAyu1G {
264
264
  justify-content: flex-end;
265
265
  }
266
266
 
267
- .sui-justifyBetween-xABqRa {
267
+ .sui-justifyBetween-oAyu1G {
268
268
  justify-content: space-between;
269
269
  }
270
270
 
271
- .sui-justifyAround-xABqRa {
271
+ .sui-justifyAround-oAyu1G {
272
272
  justify-content: space-around;
273
273
  }
274
274
 
275
- .sui-wrap-xABqRa {
275
+ .sui-wrap-oAyu1G {
276
276
  flex-wrap: wrap;
277
277
  }
278
- .sui-root-b2Fw3a {
278
+ .sui-root-ca3VdW {
279
279
  --text-letter-spacing: initial;
280
280
  font-family: var(--text-family);
281
281
  font-size: var(--text-size);
@@ -287,23 +287,23 @@
287
287
  margin: 0;
288
288
  }
289
289
 
290
- .sui-uppercase-b2Fw3a {
290
+ .sui-uppercase-ca3VdW {
291
291
  text-transform: uppercase;
292
292
  }
293
293
 
294
- .sui-left-b2Fw3a {
294
+ .sui-left-ca3VdW {
295
295
  text-align: left;
296
296
  }
297
297
 
298
- .sui-center-b2Fw3a {
298
+ .sui-center-ca3VdW {
299
299
  text-align: center;
300
300
  }
301
301
 
302
- .sui-right-b2Fw3a {
302
+ .sui-right-ca3VdW {
303
303
  text-align: right;
304
304
  }
305
305
 
306
- .sui-truncate-b2Fw3a {
306
+ .sui-truncate-ca3VdW {
307
307
  white-space: nowrap;
308
308
  text-overflow: ellipsis;
309
309
  overflow: hidden;
@@ -544,7 +544,7 @@
544
544
  --color-feedback-warning-icon: #ffdf57;
545
545
  --shadow-glow: 0 0 28px 0 #f9791f52;
546
546
  }
547
- .sui-root-wZgHIa {
547
+ .sui-root-QoB9YG {
548
548
  color: var(--color-text-primary);
549
549
  font-family: var(--font-family-sans);
550
550
  font-size: var(--font-size-md);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satellatickets/ui",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "description": "Componentes de satella-ui con una sola API para React (web) y React Native",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -54,8 +54,8 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@satellatickets/core": "0.0.0",
58
- "@satellatickets/tokens": "0.0.0"
57
+ "@satellatickets/core": "0.1.0",
58
+ "@satellatickets/tokens": "0.1.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@react-native/jest-preset": "0.86.3",