okonomi_ui_kit 0.1.15 → 0.1.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56ed44988417d6630c5a19c81f9b5ebe5a5f746bc50bceaf367bfae211ccf2c5
4
- data.tar.gz: 13dccf96cf57029453d93fed7be5caf5c24e3433d0c0533e29121c0e6afbc6a7
3
+ metadata.gz: d8854e7a28d3cbfdba8a4981b5f02d78d83dac21d082e61edefd7baecc4bd5d7
4
+ data.tar.gz: a086193ce76796fe1e89060f9eb3d2ee63caf81eeb2c3809d917b1b4a3c455d1
5
5
  SHA512:
6
- metadata.gz: ca51c73c4400d20071e4b68e4a65b6578e8cbf2f750f107e9d982d490aab21b1d717c84220784462c0225ec34c5935fcd75ec3991a1b2a06b05a1bc7d6f2b6d3
7
- data.tar.gz: 5d1f047793d156fb8d71ebb9898bb567692550432e25eaac7bfa6affa8d28aec5269d3e8f2f73c5c3b2ca29dc62f80878756a539943dc1d93892d71e3c776426
6
+ metadata.gz: 24bb9d72dd5b8b24f29a1fdfb2ac77ae36d77fb363db8c41627e58889f9355346f3481571bb8e003e8d8a0b73f62f30a67092705fcfbce0ac9a0bcfaf7fa7de8
7
+ data.tar.gz: f654394ce706e57d28232fe68ebb368b98201d14d5ab98d87c37cdf886b753b37c3fd48cc9316bfd152a2ba68132543c4b0015a40beefd2da89508c27f3a7dd1
@@ -1456,6 +1456,9 @@
1456
1456
  .p-\[20px\] {
1457
1457
  padding: 20px;
1458
1458
  }
1459
+ .px-0 {
1460
+ padding-inline: calc(var(--spacing) * 0);
1461
+ }
1459
1462
  .px-1 {
1460
1463
  padding-inline: calc(var(--spacing) * 1);
1461
1464
  }
@@ -2725,6 +2728,11 @@
2725
2728
  padding: calc(var(--spacing) * 6);
2726
2729
  }
2727
2730
  }
2731
+ .sm\:px-0 {
2732
+ @media (width >= 40rem) {
2733
+ padding-inline: calc(var(--spacing) * 0);
2734
+ }
2735
+ }
2728
2736
  .sm\:px-6 {
2729
2737
  @media (width >= 40rem) {
2730
2738
  padding-inline: calc(var(--spacing) * 6);
@@ -16,8 +16,8 @@ module OkonomiUiKit
16
16
 
17
17
  def variant_style(*args)
18
18
  tw_merge(
19
- styles.dig(*args[1..-1]),
20
- styles.dig(*args)
19
+ style(*args[1..-1]),
20
+ style(*(([:variants] + args).compact))
21
21
  )
22
22
  end
23
23
 
@@ -14,15 +14,18 @@ module OkonomiUiKit
14
14
 
15
15
  register_styles :default do
16
16
  {
17
- root: "overflow-hidden bg-white",
18
- header: "py-6",
17
+ root: "overflow-hidden bg-white flex flex-col gap-2",
18
+ header: "px-0",
19
19
  header_with_actions: "flex w-full justify-between items-start",
20
20
  title: "text-base/7 font-semibold text-gray-900",
21
21
  subtitle: "mt-1 max-w-2xl text-sm/6 text-gray-500",
22
22
  actions: "mt-4 flex md:ml-4 md:mt-0",
23
23
  variants: {
24
24
  default: {
25
- body: "px-4 py-5 sm:px-6"
25
+ body: "px-0"
26
+ },
27
+ unpadded: {
28
+ body: "px-0"
26
29
  }
27
30
  }
28
31
  }
@@ -1,3 +1,3 @@
1
1
  module OkonomiUiKit
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okonomi_ui_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Okonomi GmbH