@vygruppen/spor-react 12.16.4 → 12.16.5

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.16.4 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.16.5 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 321.60 KB
15
- CJS dist/icons/index.cjs 381.00 B
16
- CJS dist/index.cjs.map 641.26 KB
17
- CJS dist/icons/index.cjs.map 157.00 B
18
- CJS ⚡️ Build success in 2709ms
19
- ESM dist/index.mjs 299.89 KB
14
+ ESM dist/index.mjs 300.07 KB
20
15
  ESM dist/icons/index.mjs 110.00 B
16
+ ESM dist/index.mjs.map 641.63 KB
21
17
  ESM dist/icons/index.mjs.map 157.00 B
22
- ESM dist/index.mjs.map 641.26 KB
23
- ESM ⚡️ Build success in 2711ms
24
- DTS ⚡️ Build success in 19151ms
18
+ ESM ⚡️ Build success in 2550ms
19
+ CJS dist/icons/index.cjs 381.00 B
20
+ CJS dist/index.cjs 321.78 KB
21
+ CJS dist/icons/index.cjs.map 157.00 B
22
+ CJS dist/index.cjs.map 641.63 KB
23
+ CJS ⚡️ Build success in 2550ms
24
+ DTS ⚡️ Build success in 19495ms
25
25
  DTS dist/icons/index.d.ts 44.00 B
26
- DTS dist/index.d.ts 157.02 KB
26
+ DTS dist/index.d.ts 157.05 KB
27
27
  DTS dist/icons/index.d.cts 44.00 B
28
- DTS dist/index.d.cts 157.02 KB
28
+ DTS dist/index.d.cts 157.05 KB
@@ -1,8 +1,8 @@
1
1
 
2
- > @vygruppen/spor-react@12.16.4 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.16.5 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
- [dotenv@17.2.2] injecting env (0) from .env -- tip: 🛠️ run anywhere with `dotenvx run -- yourcommand`
5
+ [dotenv@17.2.2] injecting env (0) from .env -- tip: 🔐 encrypt with Dotenvx: https://dotenvx.com
6
6
  ┌ Chakra CLI ⚡️
7
7
  [?25l│
8
8
  ◒ Generating conditions types...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.16.5
4
+
5
+ ### Patch Changes
6
+
7
+ - af8d74a: Update font weights for different button variants and sizes.
8
+
3
9
  ## 12.16.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -5606,6 +5606,7 @@ var buttonRecipe = react.defineRecipe({
5606
5606
  primary: {
5607
5607
  background: "brand.surface",
5608
5608
  color: "brand.text",
5609
+ fontWeight: "bold",
5609
5610
  _hover: {
5610
5611
  background: "brand.surface.hover",
5611
5612
  _active: {
@@ -5616,6 +5617,7 @@ var buttonRecipe = react.defineRecipe({
5616
5617
  secondary: {
5617
5618
  background: "accent.surface",
5618
5619
  color: "accent.text",
5620
+ fontWeight: "bold",
5619
5621
  _hover: {
5620
5622
  background: "accent.surface.hover",
5621
5623
  _active: {
@@ -5626,6 +5628,7 @@ var buttonRecipe = react.defineRecipe({
5626
5628
  tertiary: {
5627
5629
  color: "core.text",
5628
5630
  outline: "solid",
5631
+ fontWeight: "normal",
5629
5632
  outlineWidth: tokens23__namespace.default.size.stroke.sm,
5630
5633
  outlineColor: "core.outline",
5631
5634
  _hover: {
@@ -5643,6 +5646,7 @@ var buttonRecipe = react.defineRecipe({
5643
5646
  },
5644
5647
  ghost: {
5645
5648
  color: "ghost.text",
5649
+ fontWeight: "bold",
5646
5650
  _hover: {
5647
5651
  background: "ghost.surface.hover",
5648
5652
  _active: {
@@ -5653,6 +5657,7 @@ var buttonRecipe = react.defineRecipe({
5653
5657
  floating: {
5654
5658
  color: "floating.text",
5655
5659
  background: "floating.surface",
5660
+ fontWeight: "bold",
5656
5661
  border: "sm",
5657
5662
  borderColor: "floating.outline",
5658
5663
  boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))",
@@ -5671,32 +5676,37 @@ var buttonRecipe = react.defineRecipe({
5671
5676
  minHeight: 5,
5672
5677
  minWidth: 5,
5673
5678
  paddingX: 1.5,
5674
- fontSize: "mobile.xs",
5675
- fontWeight: "normal"
5679
+ fontSize: "mobile.xs"
5676
5680
  },
5677
5681
  sm: {
5678
5682
  minHeight: 6,
5679
5683
  minWidth: 6,
5680
5684
  paddingX: 2,
5681
- fontSize: "mobile.sm",
5682
- fontWeight: "normal"
5685
+ fontSize: "mobile.sm"
5683
5686
  },
5684
5687
  md: {
5685
5688
  minHeight: 7,
5686
5689
  minWidth: 7,
5687
5690
  fontSize: "mobile.md",
5688
- fontWeight: "bold",
5689
5691
  paddingX: 3
5690
5692
  },
5691
5693
  lg: {
5692
5694
  minHeight: 8,
5693
5695
  minWidth: 8,
5694
5696
  fontSize: "mobile.md",
5695
- fontWeight: "bold",
5696
5697
  paddingX: 3
5697
5698
  }
5698
5699
  }
5699
5700
  },
5701
+ compoundVariants: [
5702
+ {
5703
+ variant: ["ghost", "floating"],
5704
+ size: ["sm", "xs"],
5705
+ css: {
5706
+ fontWeight: "normal"
5707
+ }
5708
+ }
5709
+ ],
5700
5710
  defaultVariants: {
5701
5711
  variant: "primary",
5702
5712
  size: "md"