@pequity/squirrel 7.0.0 → 7.0.1

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.
@@ -18,6 +18,7 @@ const ELEMENTS_MAP = {
18
18
  const DEFAULT_CLASSES_ARRAY = [
19
19
  'relative',
20
20
  'inline-block',
21
+ 'whitespace-nowrap',
21
22
  'outline-none',
22
23
  'disabled:opacity-50',
23
24
  'disabled:cursor-default',
@@ -47,7 +47,7 @@ type Icon = InstanceType<typeof PIcon>['$props']['icon'];
47
47
  const btnClasses = {
48
48
  slots: {
49
49
  button:
50
- 'relative inline-block rounded font-medium outline-none disabled:pointer-events-none disabled:cursor-default disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:cursor-default aria-disabled:opacity-50',
50
+ 'relative inline-block whitespace-nowrap rounded font-medium outline-none disabled:pointer-events-none disabled:cursor-default disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:cursor-default aria-disabled:opacity-50',
51
51
  content: 'flex items-center justify-center has-[.slot-wrapper:empty]:gap-0',
52
52
  loader: 'absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center font-medium',
53
53
  icon: 'shrink-0',