@okshaun/components 2.0.2 → 4.0.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 (78) hide show
  1. package/dist/icon-metadata.json +385 -41
  2. package/dist/index.js +13414 -5259
  3. package/dist/index.js.map +1 -1
  4. package/dist/panda.buildinfo.json +1245 -263
  5. package/dist/{preset-DAmO4B54.js → preset-BOFHjPdQ.js} +2265 -1727
  6. package/dist/preset-BOFHjPdQ.js.map +1 -0
  7. package/dist/preset.js +1 -1
  8. package/dist/specs/conditions.json +75 -51
  9. package/dist/specs/keyframes.json +33 -0
  10. package/dist/specs/recipes.json +359 -103
  11. package/dist/specs/semantic-tokens.json +152 -44
  12. package/dist/specs/tokens.json +21 -36
  13. package/dist/sprite.svg +1 -1
  14. package/dist/sprite.symbol.html +499 -43
  15. package/dist/styles.css +18229 -7568
  16. package/dist/svgs/barcode-off.svg +1 -0
  17. package/dist/svgs/cheese.svg +1 -0
  18. package/dist/svgs/collapse-vertical.svg +1 -0
  19. package/dist/svgs/expand-vertical.svg +1 -0
  20. package/dist/svgs/magnet.svg +1 -0
  21. package/dist/svgs/spinner.svg +1 -0
  22. package/dist/svgs/to-date-backward.svg +1 -0
  23. package/dist/svgs/to-date-forward.svg +1 -0
  24. package/dist/types/index.d.ts +2804 -296
  25. package/package.json +4 -2
  26. package/src/recipes/autocomplete.ts +266 -0
  27. package/src/recipes/avatar.ts +1 -1
  28. package/src/recipes/badge.ts +31 -43
  29. package/src/recipes/breakpointIndicator.ts +11 -0
  30. package/src/recipes/button.ts +172 -223
  31. package/src/recipes/calendar.ts +91 -0
  32. package/src/recipes/card.ts +4 -70
  33. package/src/recipes/chip.ts +213 -142
  34. package/src/recipes/dateMenus.ts +40 -0
  35. package/src/recipes/dateTimeMenus.ts +43 -0
  36. package/src/recipes/icon.ts +25 -6
  37. package/src/recipes/kbd.ts +56 -0
  38. package/src/recipes/list.ts +17 -1
  39. package/src/recipes/listDensity.ts +66 -0
  40. package/src/recipes/listItem.ts +29 -161
  41. package/src/recipes/listItemGroup.ts +17 -39
  42. package/src/recipes/menu.ts +17 -3
  43. package/src/recipes/modal.ts +70 -39
  44. package/src/recipes/radio.ts +6 -6
  45. package/src/recipes/recipes-regular.ts +2 -0
  46. package/src/recipes/recipes-slot.ts +8 -2
  47. package/src/recipes/segmentedFields.ts +192 -0
  48. package/src/recipes/segmentedInputs.ts +109 -0
  49. package/src/recipes/select.ts +8 -1
  50. package/src/recipes/skeleton.ts +72 -0
  51. package/src/recipes/spinner.ts +27 -24
  52. package/src/recipes/tag.ts +218 -210
  53. package/src/recipes/text.ts +37 -19
  54. package/src/recipes/textInput.ts +106 -117
  55. package/src/recipes/themeSwitcher.ts +3 -3
  56. package/src/recipes/timeMenus.ts +110 -0
  57. package/src/recipes/toggle.ts +3 -1
  58. package/src/styles/primitives/animations.ts +3 -0
  59. package/src/styles/primitives/shadows.ts +26 -60
  60. package/src/styles/primitives/zIndex.ts +1 -0
  61. package/src/styles/semantics/colors.ts +43 -0
  62. package/src/styles/semantics/shadows.ts +4 -30
  63. package/src/styles/semantics/zIndex.ts +2 -0
  64. package/src/styles/utilities/conditions.ts +61 -51
  65. package/src/styles/utilities/dropShadows.ts +51 -0
  66. package/src/styles/utilities/filters.ts +22 -7
  67. package/src/styles/utilities/globalStyle.ts +5 -2
  68. package/src/styles/utilities/index.ts +3 -0
  69. package/src/styles/utilities/keyframes.ts +31 -4
  70. package/src/styles/utilities/recipeGlobalStyles.ts +22 -0
  71. package/src/styles/utilities/shadowDefinitions.ts +112 -0
  72. package/src/utils/dsChain.ts +113 -0
  73. package/src/utils/dsComponent.ts +44 -0
  74. package/src/utils/dsPart.ts +41 -0
  75. package/src/utils/mergeAriaDescribedBy.ts +7 -0
  76. package/dist/preset-DAmO4B54.js.map +0 -1
  77. package/src/recipes/datePicker.ts +0 -212
  78. package/src/recipes/timePicker.ts +0 -199
@@ -27,13 +27,13 @@ export const radioRecipe = defineSlotRecipe({
27
27
  cursor: 'inherit',
28
28
  "& ~ [name='radio']": {
29
29
  display: 'inline-grid',
30
- zIndex: 'zIndex.3',
30
+ zIndex: '3',
31
31
  },
32
32
  _checked: {
33
33
  "& ~ [name='radio-checked']": {
34
34
  display: 'inline-grid',
35
35
  fill: 'icon',
36
- zIndex: 'zIndex.2',
36
+ zIndex: '2',
37
37
  },
38
38
  "& ~ [name='radio']": {
39
39
  display: 'none',
@@ -43,7 +43,7 @@ export const radioRecipe = defineSlotRecipe({
43
43
  display: 'inline-grid',
44
44
  '& ~ svg:not([name="circle"])': {
45
45
  fill: 'red.50',
46
- zIndex: 'zIndex.3',
46
+ zIndex: '3',
47
47
  },
48
48
  },
49
49
  _focusVisible: {
@@ -51,7 +51,7 @@ export const radioRecipe = defineSlotRecipe({
51
51
  display: 'inline-grid',
52
52
  position: 'absolute',
53
53
  fill: 'border.focused',
54
- zIndex: 'zIndex.2',
54
+ zIndex: '2',
55
55
  },
56
56
  },
57
57
  },
@@ -61,10 +61,10 @@ export const radioRecipe = defineSlotRecipe({
61
61
  inset: '0',
62
62
  width: '24',
63
63
  height: '24',
64
- zIndex: 'zIndex.3',
64
+ zIndex: '3',
65
65
  "&:is([name='radio'])": {
66
66
  fill: 'icon.subtlest',
67
- zIndex: 'zIndex.3',
67
+ zIndex: '3',
68
68
  },
69
69
  },
70
70
  radioBg: {
@@ -1,4 +1,5 @@
1
1
  export { boxRecipe } from './box';
2
+ export { breakpointIndicatorRecipe } from './breakpointIndicator';
2
3
  export { cardRecipe } from './card';
3
4
  export { checkboxInputRecipe } from './checkboxInput';
4
5
  export { codeRecipe, preRecipe } from './code';
@@ -7,6 +8,7 @@ export { highlightTextRecipe } from './highlightText';
7
8
  export { iconRecipe } from './icon';
8
9
  export { listRecipe } from './list';
9
10
  export { radioInputRecipe } from './radioInput';
11
+ export { skeletonRecipe } from './skeleton';
10
12
  export { tagRecipe } from './tag';
11
13
  export { headingRecipe, labelRecipe, linkRecipe, textRecipe } from './text';
12
14
  export { textareaRecipe } from './textarea';
@@ -1,19 +1,25 @@
1
+ export { autocompleteRecipe } from './autocomplete';
1
2
  export { avatarRecipe } from './avatar';
2
3
  export { badgeRecipe } from './badge';
3
4
  export { breadcrumbsRecipe } from './breadcrumbs';
4
5
  export { buttonRecipe, iconButtonRecipe } from './button';
6
+ export { calendarRecipe } from './calendar';
5
7
  export { checkboxRecipe } from './checkbox';
6
8
  export { chipRecipe } from './chip';
7
- export { datePickerRecipe } from './datePicker';
9
+ export { dateMenusRecipe } from './dateMenus';
10
+ export { dateTimeMenusRecipe } from './dateTimeMenus';
8
11
  export { formFieldRecipe } from './formField';
12
+ export { kbdRecipe } from './kbd';
9
13
  export { listItemRecipe } from './listItem';
10
14
  export { listItemGroupRecipe } from './listItemGroup';
11
15
  export { menuRecipe } from './menu';
12
16
  export { modalRecipe } from './modal';
13
17
  export { radioRecipe } from './radio';
18
+ export { segmentedFieldsRecipe } from './segmentedFields';
19
+ export { segmentedInputsRecipe } from './segmentedInputs';
14
20
  export { selectRecipe } from './select';
15
21
  export { spinnerRecipe } from './spinner';
16
22
  export { textInputRecipe } from './textInput';
17
- export { timePickerRecipe } from './timePicker';
23
+ export { timeMenusRecipe } from './timeMenus';
18
24
  export { toggleRecipe } from './toggle';
19
25
  export { tooltipRecipe } from './tooltip';
@@ -0,0 +1,192 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev';
2
+
3
+ import { globalBaseStyles } from '~/styles/utilities';
4
+
5
+ const segmentedFieldsBase = {
6
+ container: {
7
+ ...globalBaseStyles,
8
+ '--input-py': 'token(sizes.3)',
9
+ '--input-px': 'token(sizes.10)',
10
+ '--slot-size': 'token(sizes.20)',
11
+ '--slot-px': 'token(sizes.6)',
12
+ position: 'relative',
13
+ display: 'flex',
14
+ alignItems: 'center',
15
+ width: 'full',
16
+ py: 'var(--input-py)',
17
+ px: 'var(--input-px)',
18
+ bg: 'bg.input',
19
+ borderWidth: '1',
20
+ borderStyle: 'solid',
21
+ borderColor: 'border.input',
22
+ borderRadius: '4',
23
+ outlineWidth: '2',
24
+ outlineOffset: '-1',
25
+ outlineStyle: 'solid',
26
+ outlineColor: 'transparent',
27
+ transitionDuration: 'fast',
28
+ transitionProperty: 'background, border-color, outline-color',
29
+ transitionTimingFunction: 'default',
30
+ '&:focus-within:not(:has(button:focus))': {
31
+ bg: 'bg.input.pressed',
32
+ borderColor: 'border.focused',
33
+ outlineColor: 'border.focused',
34
+ },
35
+ _open: {
36
+ bg: 'bg.input.pressed',
37
+ borderColor: 'border.focused',
38
+ outlineColor: 'border.focused',
39
+ },
40
+ _disabled: {
41
+ bg: 'bg.disabled',
42
+ borderColor: 'border.disabled',
43
+ cursor: 'not-allowed',
44
+ pointerEvents: 'none',
45
+ },
46
+ _error: {
47
+ borderColor: 'border.danger',
48
+ '&:focus-within:not(:has(button:focus))': {
49
+ borderColor: 'border.danger',
50
+ outlineColor: 'border.danger',
51
+ },
52
+ },
53
+ _invalid: {
54
+ borderColor: 'border.danger',
55
+ '&:focus-within:not(:has(button:focus))': {
56
+ borderColor: 'border.danger',
57
+ outlineColor: 'border.danger',
58
+ },
59
+ },
60
+ },
61
+ slot: {
62
+ display: 'inline-flex',
63
+ alignItems: 'center',
64
+ transitionDuration: 'fast',
65
+ transitionProperty: 'all',
66
+ transitionTimingFunction: 'default',
67
+ flex: '0 0 var(--slot-size)',
68
+ px: 'var(--slot-px)',
69
+ fill: 'icon.decorative',
70
+ pointerEvents: 'none',
71
+ zIndex: 1,
72
+ },
73
+ buttonSlot: {
74
+ display: 'inline-flex',
75
+ alignItems: 'center',
76
+ flex: '0 0 var(--slot-size)',
77
+ px: '0',
78
+ zIndex: 1,
79
+ m: '-1',
80
+ },
81
+ };
82
+
83
+ const segmentedFieldsVariants = {
84
+ size: {
85
+ sm: {
86
+ container: {
87
+ '--input-py': 'token(sizes.0)',
88
+ '--input-px': 'token(sizes.8)',
89
+ '--slot-size': 'token(sizes.16)',
90
+ '--slot-px': 'token(sizes.4)',
91
+ },
92
+ },
93
+ md: {
94
+ container: {
95
+ '--input-py': 'token(sizes.3)',
96
+ '--input-px': 'token(sizes.10)',
97
+ '--slot-size': 'token(sizes.20)',
98
+ '--slot-px': 'token(sizes.6)',
99
+ },
100
+ },
101
+ lg: {
102
+ container: {
103
+ '--input-py': 'token(sizes.7)',
104
+ '--input-px': 'token(sizes.12)',
105
+ '--slot-size': 'token(sizes.24)',
106
+ '--slot-px': 'token(sizes.8)',
107
+ },
108
+ },
109
+ xl: {
110
+ container: {
111
+ '--input-py': 'token(sizes.9)',
112
+ '--input-px': 'token(sizes.16)',
113
+ '--slot-size': 'token(sizes.28)',
114
+ '--slot-px': 'token(sizes.10)',
115
+ },
116
+ },
117
+ },
118
+ field: {
119
+ date: {
120
+ container: {
121
+ minW: '128',
122
+ },
123
+ },
124
+ time: {
125
+ container: {
126
+ minW: '104',
127
+ },
128
+ },
129
+ dateTime: {
130
+ container: {
131
+ minW: '216',
132
+ },
133
+ },
134
+ },
135
+ range: {
136
+ date: {
137
+ container: {
138
+ minW: '248',
139
+ },
140
+ },
141
+ time: {
142
+ container: {
143
+ minW: '200',
144
+ },
145
+ },
146
+ },
147
+ before: {
148
+ true: {
149
+ container: {
150
+ ps: '0',
151
+ },
152
+ buttonSlot: {
153
+ '& button': {
154
+ borderTopRightRadius: '0',
155
+ borderBottomRightRadius: '0',
156
+ },
157
+ },
158
+ },
159
+ },
160
+ after: {
161
+ true: {
162
+ container: {
163
+ pe: '0',
164
+ },
165
+ buttonSlot: {
166
+ '& button': {
167
+ borderTopLeftRadius: '0',
168
+ borderBottomLeftRadius: '0',
169
+ },
170
+ },
171
+ },
172
+ },
173
+ };
174
+
175
+ // validate-ignore: recipe-jsx-name-matches-component — shared chrome for the segmented date/time field family
176
+ export const segmentedFieldsRecipe = defineSlotRecipe({
177
+ className: 'segmentedFields',
178
+ jsx: [
179
+ 'SegmentedFields',
180
+ 'DateInput',
181
+ 'DateRangeInput',
182
+ 'TimeInput',
183
+ 'TimeRangeInput',
184
+ 'DateTimeInput',
185
+ ],
186
+ slots: ['container', 'slot', 'buttonSlot'],
187
+ base: segmentedFieldsBase,
188
+ variants: segmentedFieldsVariants,
189
+ defaultVariants: {
190
+ size: 'md',
191
+ },
192
+ });
@@ -0,0 +1,109 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev';
2
+
3
+ import { globalBaseStyles } from '~/styles/utilities';
4
+
5
+ // Shared low-level styling for segmented input guts (MM/DD/YYYY, HH:MM AM/PM,
6
+ // account-style part numbers, phone-like segments, etc). Higher-level input
7
+ // wrappers own border, background, padding, validation, and open/focus state.
8
+ const segmentedInputsBase = {
9
+ root: {
10
+ ...globalBaseStyles,
11
+ display: 'inline-flex',
12
+ alignItems: 'center',
13
+ gap: '0',
14
+ width: 'fit',
15
+ color: 'text',
16
+ fontFamily: 'mono',
17
+ lineHeight: 'default',
18
+ cursor: 'text',
19
+ userSelect: 'none',
20
+ flexGrow: '0',
21
+ flexShrink: '0',
22
+ flexBasis: 'fit',
23
+ minW: '0',
24
+ _disabled: {
25
+ color: 'text.disabled',
26
+ cursor: 'not-allowed',
27
+ pointerEvents: 'none',
28
+ },
29
+ },
30
+
31
+ // Individual focusable segment span (MM, DD, YYYY, HH, AM/PM, ...)
32
+ segment: {
33
+ display: 'inline-flex',
34
+ alignItems: 'center',
35
+ justifyContent: 'center',
36
+ outline: 'none',
37
+ borderRadius: '2',
38
+ cursor: 'default',
39
+ userSelect: 'none',
40
+ fontFamily: 'mono',
41
+ fontVariantNumeric: 'tabular-nums',
42
+ textAlign: 'center',
43
+ color: 'text',
44
+ _focus: {
45
+ // Cetec highlights a focused segment with bg.accent.gold.subtlest.
46
+ // okshaun has no gold palette, so that emitted as literal text, the
47
+ // color-mix was invalid and the segment had no focus highlight at all.
48
+ // bg.selected is okshaun's equivalent subtle selection background.
49
+ bg: 'bg.selected',
50
+ },
51
+ _groupDisabled: {
52
+ color: 'text.disabled',
53
+ },
54
+ },
55
+
56
+ // The "/" or ":" or " " literal between segments. `minWidth: '0.75em'`
57
+ // is a deliberate floor, not decoration — the " " separators (minute/AM-PM,
58
+ // and the gap between a DateTimeInput's date/time halves) render at 0
59
+ // layout width in the Recursive Variable font at this size/axis regardless
60
+ // of `whiteSpace: 'pre'` (confirmed: real space character, zero measured
61
+ // width) — a font-rendering quirk, not a whitespace-collapsing bug. The
62
+ // floor keeps the visual gap independent of what the glyph itself measures.
63
+ separator: {
64
+ color: 'text.placeholder',
65
+ textAlign: 'center',
66
+ userSelect: 'none',
67
+ whiteSpace: 'pre',
68
+ minWidth: '0.75em',
69
+ display: 'inline-flex',
70
+ alignItems: 'center',
71
+ justifyContent: 'center',
72
+ '&[data-gap=none]': {
73
+ minWidth: '0',
74
+ px: '0',
75
+ },
76
+ '&[data-gap=tight]': {
77
+ minWidth: '0.5em',
78
+ px: '1',
79
+ },
80
+ '&[data-gap=normal]': {
81
+ minWidth: '0.75em',
82
+ px: '1',
83
+ },
84
+ '&[data-gap=loose]': {
85
+ minWidth: '1.25em',
86
+ px: '2',
87
+ },
88
+ },
89
+ };
90
+
91
+ const segmentedInputsVariants = {
92
+ size: {
93
+ sm: { root: { fontSize: '14' } },
94
+ md: { root: { fontSize: '16' } },
95
+ lg: { root: { fontSize: '16' } },
96
+ xl: { root: { fontSize: '20' } },
97
+ },
98
+ };
99
+
100
+ export const segmentedInputsRecipe = defineSlotRecipe({
101
+ className: 'segmentedInputs',
102
+ jsx: ['SegmentedInputs', 'SegmentedInput', 'SegmentedDate', 'SegmentedTime'],
103
+ slots: ['root', 'segment', 'separator'],
104
+ base: segmentedInputsBase,
105
+ variants: segmentedInputsVariants,
106
+ defaultVariants: {
107
+ size: 'md',
108
+ },
109
+ });
@@ -66,6 +66,13 @@ const selectBase = {
66
66
  color: 'text.subtlest',
67
67
  },
68
68
 
69
+ chips: {
70
+ flex: 1,
71
+ minWidth: '0',
72
+ alignItems: 'center',
73
+ color: 'text',
74
+ },
75
+
69
76
  // The chevron/arrow icon
70
77
  icon: {
71
78
  display: 'flex',
@@ -133,7 +140,7 @@ const selectVariants = {
133
140
  export const selectRecipe = defineSlotRecipe({
134
141
  className: 'select',
135
142
  jsx: ['Select', 'SelectTrigger'],
136
- slots: ['trigger', 'value', 'placeholder', 'icon'],
143
+ slots: ['trigger', 'value', 'placeholder', 'chips', 'icon'],
137
144
  base: selectBase,
138
145
  variants: selectVariants,
139
146
  defaultVariants: {
@@ -0,0 +1,72 @@
1
+ import { defineRecipe } from '@pandacss/dev';
2
+
3
+ const skeletonBase = {
4
+ position: 'relative',
5
+ display: 'inline-flex',
6
+ overflow: 'hidden',
7
+ verticalAlign: 'middle',
8
+ pointerEvents: 'none',
9
+ userSelect: 'none',
10
+ color: 'transparent',
11
+ bg: 'bg.neutral',
12
+ '&::after': {
13
+ content: '""',
14
+ position: 'absolute',
15
+ inset: '0',
16
+ transform: 'translateX(-100%)',
17
+ bg: 'bg.neutral.hovered',
18
+ opacity: '0.45',
19
+ pointerEvents: 'none',
20
+ },
21
+ '@media (prefers-reduced-motion: reduce)': {
22
+ animation: 'none',
23
+ '&::after': {
24
+ animation: 'none',
25
+ },
26
+ },
27
+ };
28
+
29
+ export const skeletonRecipe = defineRecipe({
30
+ className: 'skeleton',
31
+ jsx: ['Skeleton'],
32
+ base: skeletonBase,
33
+ variants: {
34
+ variant: {
35
+ text: {
36
+ h: '4',
37
+ w: 'full',
38
+ borderRadius: 'full',
39
+ },
40
+ circular: {
41
+ borderRadius: 'full',
42
+ aspectRatio: 'square',
43
+ },
44
+ rounded: {
45
+ borderRadius: '8',
46
+ },
47
+ rectangular: {
48
+ borderRadius: '2',
49
+ },
50
+ },
51
+ animation: {
52
+ pulse: {
53
+ animation: 'pulse',
54
+ },
55
+ wave: {
56
+ '&::after': {
57
+ animation: 'skeletonWave',
58
+ },
59
+ },
60
+ false: {
61
+ animation: 'none',
62
+ '&::after': {
63
+ display: 'none',
64
+ },
65
+ },
66
+ },
67
+ },
68
+ defaultVariants: {
69
+ variant: 'text',
70
+ animation: 'pulse',
71
+ },
72
+ });
@@ -1,53 +1,59 @@
1
1
  import { defineSlotRecipe } from '@pandacss/dev';
2
2
 
3
3
  const spinnerBase = {
4
- spinnerDiv: {
4
+ container: {
5
+ position: 'relative',
6
+ display: 'grid',
7
+ placeContent: 'center',
8
+ zIndex: '100',
9
+ w: 'fit',
10
+ h: 'fit',
11
+ flex: '0',
12
+ },
13
+ spinnerSvg: {
5
14
  aspectRatio: 'square',
6
- rounded: '100',
7
- borderWidth: '3',
8
- borderStyle: 'solid',
9
- borderColor: 'transparent',
10
- borderTopColor: 'icon',
11
- borderBottomColor: 'icon',
12
15
  animation: 'spin',
16
+ fill: 'icon',
13
17
  isolation: 'isolate',
18
+ flex: '0',
14
19
  },
15
20
  };
16
21
 
17
22
  const spinnerVariants = {
18
23
  size: {
19
24
  xs: {
20
- spinnerDiv: {
21
- height: '16',
25
+ spinnerSvg: {
26
+ h: '16',
27
+ w: '16',
22
28
  minHeight: '16',
23
- borderWidth: '2',
24
29
  },
25
30
  },
26
31
  sm: {
27
- spinnerDiv: {
28
- height: '20',
32
+ spinnerSvg: {
33
+ h: '20',
34
+ w: '20',
29
35
  minHeight: '20',
30
- borderWidth: '2',
31
36
  },
32
37
  },
33
38
  md: {
34
- spinnerDiv: {
35
- height: '24',
39
+ spinnerSvg: {
40
+ h: '24',
41
+ w: '24',
36
42
  minHeight: '24',
37
43
  },
38
44
  },
39
45
  lg: {
40
- spinnerDiv: {
41
- height: '32',
46
+ spinnerSvg: {
47
+ h: '32',
48
+ w: '32',
42
49
  minHeight: '32',
43
50
  },
44
51
  },
45
52
  },
46
53
  inverse: {
47
54
  true: {
48
- spinnerDiv: {
49
- borderTopColor: 'icon.inverse',
50
- borderBottomColor: 'icon.inverse',
55
+ spinnerSvg: {
56
+ fill: 'icon.inverse',
51
57
  },
52
58
  },
53
59
  },
@@ -56,11 +62,8 @@ const spinnerVariants = {
56
62
  container: {
57
63
  position: 'absolute',
58
64
  inset: '0',
59
- display: 'grid',
60
- placeContent: 'center',
61
65
  width: 'full',
62
66
  height: 'full',
63
- zIndex: '100',
64
67
  },
65
68
  },
66
69
  },
@@ -69,7 +72,7 @@ const spinnerVariants = {
69
72
  export const spinnerRecipe = defineSlotRecipe({
70
73
  className: 'spinner',
71
74
  jsx: ['Spinner'],
72
- slots: ['container', 'spinnerDiv'],
75
+ slots: ['container', 'spinnerSvg'],
73
76
  base: spinnerBase,
74
77
  variants: spinnerVariants,
75
78
  defaultVariants: {