@vygruppen/spor-react 12.10.1 → 12.10.2

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.10.1 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.10.2 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -11,18 +11,18 @@ CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
- CJS dist/index.cjs 314.93 KB
15
- CJS dist/icons/index.cjs 381.00 B
16
- CJS dist/index.cjs.map 629.08 KB
17
- CJS dist/icons/index.cjs.map 157.00 B
18
- CJS ⚡️ Build success in 2614ms
19
- ESM dist/index.mjs 293.53 KB
14
+ ESM dist/index.mjs 293.03 KB
20
15
  ESM dist/icons/index.mjs 110.00 B
21
16
  ESM dist/icons/index.mjs.map 157.00 B
22
- ESM dist/index.mjs.map 629.08 KB
23
- ESM ⚡️ Build success in 2615ms
24
- DTS ⚡️ Build success in 27219ms
17
+ ESM dist/index.mjs.map 628.47 KB
18
+ ESM ⚡️ Build success in 2673ms
19
+ CJS dist/index.cjs 314.43 KB
20
+ CJS dist/icons/index.cjs 381.00 B
21
+ CJS dist/index.cjs.map 628.47 KB
22
+ CJS dist/icons/index.cjs.map 157.00 B
23
+ CJS ⚡️ Build success in 2674ms
24
+ DTS ⚡️ Build success in 18779ms
25
25
  DTS dist/icons/index.d.ts 44.00 B
26
- DTS dist/index.d.ts 155.93 KB
26
+ DTS dist/index.d.ts 156.01 KB
27
27
  DTS dist/icons/index.d.cts 44.00 B
28
- DTS dist/index.d.cts 155.93 KB
28
+ DTS dist/index.d.cts 156.01 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.10.1 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.10.2 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - a35e94b: - ServiceAlert text is now left-aligned
8
+ - DateField displays required indicator correctly
9
+ - Combobox padding issues resolved
10
+ - PhoneNumberInput border rendering fixed
11
+ - Floating PhoneNumberInput shows correct invalid border
12
+ - Switch no longer has unwanted left padding
13
+ - TimePicker functionality improved
14
+
3
15
  ## 12.10.1
4
16
 
5
17
  ### Patch Changes
@@ -82,7 +94,6 @@
82
94
  ### Patch Changes
83
95
 
84
96
  - 286dbdc: Improve type definitions for Field and CheckboxGroup components:
85
-
86
97
  - CheckboxGroup: Make `direction` optional.
87
98
  - Field: Ensure `onClick` is included in props.
88
99
 
@@ -288,7 +299,6 @@
288
299
 
289
300
  - 94e9282: Nudge, WizardNudge and Toast does not work after updating chakra in a previous version of spor.
290
301
  Fixed:
291
-
292
302
  - Toast needed an id for each toast. Auto generated if not supplied from user.
293
303
  - Nudge imported usePopoverContext from ark. Now imports from chakra and works.
294
304
 
@@ -320,12 +330,10 @@
320
330
  ### Minor Changes
321
331
 
322
332
  - 404114d: **spor-icon-react**:
323
-
324
333
  - Upgraded Chakra UI to the latest version
325
334
  - Removed `ClientOnlyWrapper` from all icons
326
335
 
327
336
  **spor-react**:
328
-
329
337
  - Upgraded Chakra UI to the latest version
330
338
  - Fixed minor styling issues in the `Select` component
331
339
 
@@ -476,12 +484,10 @@
476
484
  ### Major Changes
477
485
 
478
486
  - fcd6f80: Checkbox:
479
-
480
487
  - Updated props, `onChange` is now `onCheckedChange`
481
488
  - "`is`" removed from props names. `invalid`, `disabled` and `checked`
482
489
 
483
490
  CheckboxGroup:
484
-
485
491
  - `defaultChecked` > `defaultValue`
486
492
 
487
493
  - fcd6f80: Separator: Changed name from Divider to Separator. Fixed styling on separators to match Figma styling
@@ -491,7 +497,6 @@
491
497
  - fcd6f80: Name update: "base" is now "core" on all platforms. Colors and variants.
492
498
  - fcd6f80: Lists: UnorderedList is removed, use List with prop as="ul"; OrderedList is removed, use List with prop as="ol"
493
499
  - fcd6f80: Table:
494
-
495
500
  - Thead is now TableHeader,
496
501
  - Tbody is now TableBody,
497
502
  - Tr is now TableRow,
@@ -506,7 +511,6 @@
506
511
  Pagination has changed and been converted to composition pattern. Please see docs for info.
507
512
 
508
513
  Prop changes:
509
-
510
514
  - `totalPages` > `count`
511
515
  - `selectedPage` > `page`
512
516
 
@@ -519,11 +523,9 @@
519
523
  Spor is getting a major update with Chakra 3.
520
524
 
521
525
  ## Updated variants
522
-
523
526
  - `base` is now `core`
524
527
 
525
528
  ### Update props
526
-
527
529
  - `isDisabled` is now `disabled`
528
530
  - `isLoading` is now `loading`
529
531
  - `sx` and `__css` is gone, use `css` or `style` instead
@@ -535,7 +537,6 @@
535
537
  - `isAttached` is now `attached`
536
538
 
537
539
  ### Updated components
538
-
539
540
  - `Dialog` replaces `Modal` - And all sizes and placements are now available from the same component
540
541
  - `Accordion`, `Pagination`, `Tabs`, `RadioCard` and `RadioCardGroup` now have a different syntax. Please consult the documentation for name changes.
541
542
  - `Table` components has many changes. Instead of the generic HTML names (Td, Tr etc.), it will now work with full names. Please see docs. Variant `simple` is now `line`.
@@ -578,7 +579,6 @@
578
579
  - fcd6f80: Accordion: Update syntax and props.
579
580
 
580
581
  Changes for component:
581
-
582
582
  - `AccordionButton` > `AccordionItemTrigger`
583
583
  - `AccordionPanel` > `AccordionItemContent`
584
584
  - `AccordionIcon` is deprecated and used in all Accordions
@@ -588,7 +588,6 @@
588
588
  - fcd6f80: Radio: can no longer be used without RadioGroup, for accessibility reasons.
589
589
  - fcd6f80: Button Group: variant and size are no longer props of ButtonGroup, these props are passed from children. isAttached is now attached
590
590
  - fcd6f80: RadioCardGroup and RadioCard:
591
-
592
591
  - Updated props: `onChange` is now `onValueChange`
593
592
  - Deleted props: `name`, `groupLabel` is replaced by `<RadioCardLabel />`
594
593
  - `core` replaces the `base` variant
@@ -604,7 +603,6 @@
604
603
 
605
604
  - fcd6f80: NativeSelect: isDisabled and isInvalid is now disabled and invalid. It is no longer necessary to define true or false.
606
605
  - fcd6f80: Alert & ExpandableAlert
607
-
608
606
  - `Alert`: `ClosableAlert` and `StaticAlert` are deprecated. Use component `Alert` and prop `closable` instead
609
607
  - `ExpandableAlert`: New colorscheme and styling
610
608
  - `Accordion`: Some styling updates
@@ -614,19 +612,16 @@
614
612
 
615
613
  - fcd6f80: Switch: FormLabel is depricated, use label prop. isDisabled, isChecked and isInvalid is now disabled, checked and invalid.
616
614
  - fcd6f80: **spor-design-tokens: major**
617
-
618
615
  - teal has been removed from the palette. Use the green palette instead
619
616
  - Some aliases are removed to make way for new ones
620
617
 
621
618
  **spor-design-tokens: minor**
622
-
623
619
  - The palette has been extended from 50-600 to 50-1100 with new values
624
620
  - New aliases has been added to support the extended color palette
625
621
  - New tokens has been added to themes; detail.color, surface.color and alert
626
622
  - Some values for tokens has changed to support the new palette
627
623
 
628
624
  **spor-react: patch**
629
-
630
625
  - Updated darkGreen Badge with new alias
631
626
 
632
627
  - fcd6f80: CardSelect: the variant are now: core, ghost and floating
@@ -647,12 +642,10 @@
647
642
  - fcd6f80: remove support for elm
648
643
  - fcd6f80: ProgressBar: You can now use showValueText to show the percentage done
649
644
  - fcd6f80: ### Changed
650
-
651
645
  - Changed the way the theme is switched to work with Chakra 3.
652
646
  - Removed the `theme` prop and its value from `SporProvider`. Specifying brand should be sufficient.
653
647
 
654
648
  - fcd6f80: ### Skeleton Component Updates
655
-
656
649
  - **Skeleton**: Introduced new props. The `isLoaded` prop has been replaced with `loading`, which is its opposite.
657
650
  - **SkeletonCircle**: The `boxSize` prop has been replaced with `size`.
658
651
 
@@ -968,7 +961,6 @@
968
961
  ### Minor Changes
969
962
 
970
963
  - 8184ed1: ### New component
971
-
972
964
  - ServiceAlert added to the bunch
973
965
  - Alert: New variant "service"
974
966
 
@@ -1189,7 +1181,6 @@
1189
1181
  ### Minor Changes
1190
1182
 
1191
1183
  - 37c8580: Card is deprecated
1192
-
1193
1184
  - Update styling for PressableCard
1194
1185
  - Update styling for StaticCard
1195
1186
  - Make Card deprecated, is replaced by the above components
@@ -1199,7 +1190,6 @@
1199
1190
  ### Minor Changes
1200
1191
 
1201
1192
  - a3d2ca4: New component: RadioCard & RadioCardGroup
1202
-
1203
1193
  - Should be used togehter for optimal functionality
1204
1194
 
1205
1195
  ### Patch Changes
@@ -1353,14 +1343,12 @@
1353
1343
  Sizes that used to be "sm, md, lg, xl" are now "xs, sm, md, lg".
1354
1344
 
1355
1345
  To migrate, change size
1356
-
1357
1346
  - "sm" to "xs",
1358
1347
  - "md" to "sm",
1359
1348
  - "lg" to "md",
1360
1349
  - and "xl" to "lg".
1361
1350
 
1362
1351
  Affected components are:
1363
-
1364
1352
  - ChoiceChip
1365
1353
  - Tabs
1366
1354
 
@@ -1428,7 +1416,6 @@
1428
1416
  added text
1429
1417
 
1430
1418
  choiceChip:
1431
-
1432
1419
  - We have renamed the variant prop to chipType. This prop now accepts three values: choice, icon, and filter.
1433
1420
  Please update your components to use chipType instead of variant.
1434
1421
  - We have introduced a new variant prop. This prop accepts three values: base, accent, and floating.
@@ -1612,7 +1599,6 @@
1612
1599
  ### Minor Changes
1613
1600
 
1614
1601
  - a16a9972: Expose new methods and components from Chakra:
1615
-
1616
1602
  - defineStyleConfig
1617
1603
  - Collapse
1618
1604
  - useSize
@@ -1838,7 +1824,6 @@
1838
1824
 
1839
1825
  - cfa3ebb1: ExpandableAlert: Fix double padding bug
1840
1826
  Other:
1841
-
1842
1827
  - Set the document-level line height to a valid value
1843
1828
  - Fix a bug with icon generation
1844
1829
 
@@ -2124,7 +2109,6 @@
2124
2109
  - 5bd65c9e: Export some new transition components from Chakra
2125
2110
 
2126
2111
  This change adds the following components:
2127
-
2128
2112
  - Fade
2129
2113
  - ScaleFade
2130
2114
  - Slide
@@ -2181,7 +2165,6 @@
2181
2165
  The design tokens were previously also exported from `spor-react` - they should now be imported from `spor-design-tokens` directly instead.
2182
2166
 
2183
2167
  Some deprecated components and props have also been removed or replaced:
2184
-
2185
2168
  - `Link` is replaced by `TextLink`
2186
2169
  - `Select` is replaced by `NativeSelect`
2187
2170
  - `Spinner` is replaced by `ColorSpinner`
package/dist/index.cjs CHANGED
@@ -1227,11 +1227,11 @@ var ServiceAlert = React27.forwardRef(
1227
1227
  ]
1228
1228
  }
1229
1229
  ) }),
1230
- /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemContent, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(react.Stack, { flexDirection: "row", justifyContent: "center", width: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(
1230
+ /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemContent, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(react.Stack, { flexDirection: "row", width: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(
1231
1231
  react.Accordion.ItemBody,
1232
1232
  {
1233
1233
  as: react.Stack,
1234
- maxWidth: contentWidth,
1234
+ width: contentWidth,
1235
1235
  css: styles.itemBody,
1236
1236
  children
1237
1237
  }
@@ -1826,7 +1826,11 @@ var DateField = React27.forwardRef(
1826
1826
  css: styles.inputLabel,
1827
1827
  position: "absolute",
1828
1828
  paddingTop: "2px",
1829
- children: /* @__PURE__ */ jsxRuntime.jsx("label", { ...props.labelProps, children: props.label })
1829
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Label, { padding: "0", fontSize: "2xs", ...props.labelProps, children: [
1830
+ props.label,
1831
+ " ",
1832
+ /* @__PURE__ */ jsxRuntime.jsx(react.Field.RequiredIndicator, {})
1833
+ ] })
1830
1834
  }
1831
1835
  ),
1832
1836
  /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, i) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -2169,14 +2173,7 @@ var TimeField = ({ state, ...props }) => {
2169
2173
  children: props.label
2170
2174
  }
2171
2175
  ),
2172
- /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment) => /* @__PURE__ */ jsxRuntime.jsx(
2173
- DateTimeSegment,
2174
- {
2175
- segment,
2176
- state
2177
- },
2178
- JSON.stringify(segment)
2179
- )) }),
2176
+ /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, index) => /* @__PURE__ */ jsxRuntime.jsx(DateTimeSegment, { segment, state }, index)) }),
2180
2177
  /* @__PURE__ */ jsxRuntime.jsx(
2181
2178
  "input",
2182
2179
  {
@@ -2863,6 +2860,7 @@ var ListBox = (props) => {
2863
2860
  css: styles.root,
2864
2861
  "aria-busy": loading,
2865
2862
  maxWidth,
2863
+ padding: "1",
2866
2864
  children: [
2867
2865
  state.collection.size === 0 && props.emptyContent,
2868
2866
  [...state.collection].map(
@@ -2920,7 +2918,18 @@ function Option({ item, state }) {
2920
2918
  { passive: false, once: true }
2921
2919
  );
2922
2920
  }, []);
2923
- return /* @__PURE__ */ jsxRuntime.jsx(OptionContext.Provider, { value: { labelProps, descriptionProps }, children: /* @__PURE__ */ jsxRuntime.jsx(react.ListItem, { ...optionProps, ...dataFields, ref, css: styles.item, children: item.rendered }) });
2921
+ return /* @__PURE__ */ jsxRuntime.jsx(OptionContext.Provider, { value: { labelProps, descriptionProps }, children: /* @__PURE__ */ jsxRuntime.jsx(
2922
+ react.ListItem,
2923
+ {
2924
+ ...optionProps,
2925
+ ...dataFields,
2926
+ ref,
2927
+ css: styles.item,
2928
+ padding: "1",
2929
+ marginX: "0",
2930
+ children: item.rendered
2931
+ }
2932
+ ) });
2924
2933
  }
2925
2934
  var OptionContext = React27__namespace.default.createContext({
2926
2935
  labelProps: {},
@@ -2937,25 +2946,34 @@ function ListBoxSection({ section, state }) {
2937
2946
  });
2938
2947
  const isFirstSection = section.key === state.collection.getFirstKey();
2939
2948
  const titleColor = useColorModeValue("darkGrey", "white");
2940
- return /* @__PURE__ */ jsxRuntime.jsx(List, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.ListItem, { ...itemProps, listStyleType: "none", children: [
2941
- section.rendered && /* @__PURE__ */ jsxRuntime.jsx(
2942
- react.Box,
2943
- {
2944
- fontSize: "mobile.xs",
2945
- color: titleColor,
2946
- paddingX: 3,
2947
- paddingTop: 1,
2948
- marginTop: isFirstSection ? 0 : 2,
2949
- textTransform: "uppercase",
2950
- fontWeight: "bold",
2951
- ...headingProps,
2952
- children: section.rendered
2953
- }
2954
- ),
2955
- /* @__PURE__ */ jsxRuntime.jsx(List, { ...groupProps, padding: 0, listStyleType: "none", children: [...((_b4 = (_a5 = state.collection).getChildren) == null ? void 0 : _b4.call(_a5, section.key)) ?? []].map(
2956
- (item) => /* @__PURE__ */ jsxRuntime.jsx(Option, { item, state }, item.key)
2957
- ) })
2958
- ] }) });
2949
+ return /* @__PURE__ */ jsxRuntime.jsx(List, { children: /* @__PURE__ */ jsxRuntime.jsxs(
2950
+ react.ListItem,
2951
+ {
2952
+ ...itemProps,
2953
+ listStyleType: "none",
2954
+ marginLeft: "0",
2955
+ paddingX: "1",
2956
+ children: [
2957
+ section.rendered && /* @__PURE__ */ jsxRuntime.jsx(
2958
+ react.Box,
2959
+ {
2960
+ fontSize: "mobile.xs",
2961
+ color: titleColor,
2962
+ paddingTop: 1,
2963
+ marginTop: isFirstSection ? 0 : 2,
2964
+ marginLeft: "1",
2965
+ textTransform: "uppercase",
2966
+ fontWeight: "bold",
2967
+ ...headingProps,
2968
+ children: section.rendered
2969
+ }
2970
+ ),
2971
+ /* @__PURE__ */ jsxRuntime.jsx(List, { ...groupProps, padding: 0, listStyleType: "none", children: [...((_b4 = (_a5 = state.collection).getChildren) == null ? void 0 : _b4.call(_a5, section.key)) ?? []].map(
2972
+ (item) => /* @__PURE__ */ jsxRuntime.jsx(Option, { item, state }, item.key)
2973
+ ) })
2974
+ ]
2975
+ }
2976
+ ) });
2959
2977
  }
2960
2978
  var NativeSelect = React27__namespace.forwardRef(function NativeSelect2(props, ref) {
2961
2979
  const {
@@ -3347,54 +3365,43 @@ var PhoneNumberInput = React27.forwardRef((props, ref) => {
3347
3365
  nationalNumber: value.nationalNumber
3348
3366
  });
3349
3367
  };
3350
- return /* @__PURE__ */ jsxRuntime.jsx(
3351
- AttachedInputs,
3352
- {
3353
- border: invalid ? "1px solid" : "none",
3354
- borderColor: invalid ? "outline.error" : "none",
3355
- outline: invalid ? "1px solid" : "none",
3356
- outlineColor: invalid ? "outline.error" : "none",
3357
- borderRadius: invalid ? "sm" : "none",
3358
- display: "grid",
3359
- gridTemplateColumns: "1fr 10fr",
3360
- children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3361
- /* @__PURE__ */ jsxRuntime.jsx(
3362
- CountryCodeSelect,
3363
- {
3364
- value: [value.countryCode],
3365
- onValueChange: handleCountryCodeChange,
3366
- height: "100%",
3367
- width: "6.25rem",
3368
- variant,
3369
- allowedCountryCodes,
3370
- "data-state": "on"
3371
- }
3372
- ),
3373
- /* @__PURE__ */ jsxRuntime.jsx(
3374
- Input,
3375
- {
3376
- ref,
3377
- type: "tel",
3378
- ...props,
3379
- value: value.nationalNumber,
3380
- invalid,
3381
- errorText,
3382
- onChange: (e) => {
3383
- const target = e.target;
3384
- const strippedValue = target.value.replaceAll(/[^\d\s-]/g, "");
3385
- onChange({
3386
- countryCode: value.countryCode,
3387
- nationalNumber: strippedValue
3388
- });
3389
- },
3390
- variant,
3391
- "data-state": "on",
3392
- label
3393
- }
3394
- )
3395
- ] })
3396
- }
3397
- );
3368
+ return /* @__PURE__ */ jsxRuntime.jsxs(AttachedInputs, { display: "grid", gridTemplateColumns: "1fr 10fr", children: [
3369
+ /* @__PURE__ */ jsxRuntime.jsx(
3370
+ CountryCodeSelect,
3371
+ {
3372
+ value: [value.countryCode],
3373
+ onValueChange: handleCountryCodeChange,
3374
+ height: "100%",
3375
+ width: "6.25rem",
3376
+ variant,
3377
+ allowedCountryCodes,
3378
+ "data-state": "on",
3379
+ invalid
3380
+ }
3381
+ ),
3382
+ /* @__PURE__ */ jsxRuntime.jsx(
3383
+ Input,
3384
+ {
3385
+ ref,
3386
+ type: "tel",
3387
+ ...props,
3388
+ value: value.nationalNumber,
3389
+ invalid,
3390
+ errorText,
3391
+ onChange: (e) => {
3392
+ const target = e.target;
3393
+ const strippedValue = target.value.replaceAll(/[^\d\s-]/g, "");
3394
+ onChange({
3395
+ countryCode: value.countryCode,
3396
+ nationalNumber: strippedValue
3397
+ });
3398
+ },
3399
+ variant,
3400
+ "data-state": "on",
3401
+ label
3402
+ }
3403
+ )
3404
+ ] });
3398
3405
  });
3399
3406
  PhoneNumberInput.displayName = "PhoneNumberInput";
3400
3407
  var texts16 = createTexts({
@@ -3632,9 +3639,9 @@ var Switch = React27.forwardRef(
3632
3639
  checked: props.checked,
3633
3640
  css: styles.root,
3634
3641
  children: [
3635
- /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Label, { children: label }),
3636
3642
  /* @__PURE__ */ jsxRuntime.jsx(react.Switch.HiddenInput, { ref }),
3637
- /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Control, { css: styles.control, children: /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Thumb, {}) })
3643
+ /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Control, { css: styles.control, children: /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Thumb, {}) }),
3644
+ /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Label, { children: label })
3638
3645
  ]
3639
3646
  }
3640
3647
  )
@@ -6698,13 +6705,13 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
6698
6705
  textWrap: "nowrap"
6699
6706
  },
6700
6707
  itemBody: {
6701
- paddingInline: 2,
6708
+ marginX: "auto",
6709
+ padding: "0 !important",
6702
6710
  paddingBottom: ["0.5", null, null, "1"],
6703
6711
  color: "text.inverted",
6704
6712
  "& > p": {
6705
6713
  gap: 2,
6706
6714
  width: "full",
6707
- justifyContent: "center",
6708
6715
  borderBottom: "1px dashed",
6709
6716
  borderColor: "outline.inverted",
6710
6717
  paddingBottom: "3",
@@ -9066,29 +9073,20 @@ var selectSlotRecipe = react.defineSlotRecipe({
9066
9073
  },
9067
9074
  floating: {
9068
9075
  control: {
9069
- backgroundColor: {
9070
- _light: "bg",
9071
- _dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
9072
- },
9073
9076
  outline: "1px solid",
9074
9077
  outlineColor: "floating.outline",
9075
9078
  _hover: {
9076
- outline: "1px solid",
9077
- outlineColor: "floating.outline.hover",
9078
- backgroundColor: {
9079
- _light: "floating.surface.hover",
9080
- _dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
9081
- }
9079
+ outline: "2px solid",
9080
+ outlineColor: "floating.outline"
9082
9081
  },
9083
9082
  _active: {
9084
- outline: "1px solid",
9085
- outlineColor: "floating.outline.active",
9086
- backgroundColor: "floating.surface.active"
9083
+ backgroundColor: "brand.surface.active"
9084
+ },
9085
+ _disabled: {
9086
+ pointerEvents: "none",
9087
+ color: "text.disabled",
9088
+ backgroundColor: "surface.disabled"
9087
9089
  }
9088
- },
9089
- selectContent: {
9090
- outline: "1px solid",
9091
- outlineColor: "floating.outline"
9092
9090
  }
9093
9091
  }
9094
9092
  },
@@ -9210,7 +9208,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
9210
9208
  base: {
9211
9209
  root: {
9212
9210
  display: "inline-flex",
9213
- gap: "2.5",
9211
+ gap: "2",
9214
9212
  alignItems: "center",
9215
9213
  position: "relative",
9216
9214
  verticalAlign: "middle",