@websolutespa/ask-ui 1.0.6 → 1.0.7

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.
@@ -92,7 +92,7 @@ function CarouselItem({ className, ...props }) {
92
92
  role: "group",
93
93
  "aria-roledescription": "slide",
94
94
  "data-slot": "carousel-item",
95
- className: cn("min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
95
+ className: cn("min-w-0 max-w-full shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
96
96
  ...props
97
97
  });
98
98
  }
package/dist/styles.css CHANGED
@@ -234,6 +234,9 @@
234
234
  container-type: inline-size;
235
235
  container-name: field-group;
236
236
  }
237
+ .\@container {
238
+ container-type: inline-size;
239
+ }
237
240
  .pointer-events-auto {
238
241
  pointer-events: auto;
239
242
  }
@@ -5520,11 +5523,6 @@
5520
5523
  max-width: var(--container-md);
5521
5524
  }
5522
5525
  }
5523
- .sm\:grid-cols-2 {
5524
- @media (width >= 40rem) {
5525
- grid-template-columns: repeat(2, minmax(0, 1fr));
5526
- }
5527
- }
5528
5526
  .sm\:flex-row {
5529
5527
  @media (width >= 40rem) {
5530
5528
  flex-direction: row;
@@ -5619,16 +5617,6 @@
5619
5617
  position: absolute;
5620
5618
  }
5621
5619
  }
5622
- .md\:order-1 {
5623
- @media (width >= 48rem) {
5624
- order: 1;
5625
- }
5626
- }
5627
- .md\:order-2 {
5628
- @media (width >= 48rem) {
5629
- order: 2;
5630
- }
5631
- }
5632
5620
  .md\:block {
5633
5621
  @media (width >= 48rem) {
5634
5622
  display: block;
@@ -5649,11 +5637,6 @@
5649
5637
  width: auto;
5650
5638
  }
5651
5639
  }
5652
- .md\:grid-cols-2 {
5653
- @media (width >= 48rem) {
5654
- grid-template-columns: repeat(2, minmax(0, 1fr));
5655
- }
5656
- }
5657
5640
  .md\:flex-row {
5658
5641
  @media (width >= 48rem) {
5659
5642
  flex-direction: row;
@@ -5736,9 +5719,24 @@
5736
5719
  }
5737
5720
  }
5738
5721
  }
5739
- .lg\:grid-cols-3 {
5740
- @media (width >= 64rem) {
5741
- grid-template-columns: repeat(3, minmax(0, 1fr));
5722
+ .\@sm\:grid-cols-2 {
5723
+ @container (width >= 24rem) {
5724
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5725
+ }
5726
+ }
5727
+ .\@md\:order-1 {
5728
+ @container (width >= 28rem) {
5729
+ order: 1;
5730
+ }
5731
+ }
5732
+ .\@md\:order-2 {
5733
+ @container (width >= 28rem) {
5734
+ order: 2;
5735
+ }
5736
+ }
5737
+ .\@md\:grid-cols-2 {
5738
+ @container (width >= 28rem) {
5739
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5742
5740
  }
5743
5741
  }
5744
5742
  .\@md\/field-group\:flex-row {
@@ -5751,6 +5749,16 @@
5751
5749
  align-items: center;
5752
5750
  }
5753
5751
  }
5752
+ .\@md\:gap-16 {
5753
+ @container (width >= 28rem) {
5754
+ gap: calc(var(--spacing) * 16);
5755
+ }
5756
+ }
5757
+ .\@md\:py-8 {
5758
+ @container (width >= 28rem) {
5759
+ padding-block: calc(var(--spacing) * 8);
5760
+ }
5761
+ }
5754
5762
  .\@md\/field-group\:\*\:w-auto {
5755
5763
  @container field-group (width >= 28rem) {
5756
5764
  :is(& > *) {
@@ -5774,6 +5782,11 @@
5774
5782
  }
5775
5783
  }
5776
5784
  }
5785
+ .\@lg\:grid-cols-3 {
5786
+ @container (width >= 32rem) {
5787
+ grid-template-columns: repeat(3, minmax(0, 1fr));
5788
+ }
5789
+ }
5777
5790
  .ltr\:-translate-x-1\/2 {
5778
5791
  &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
5779
5792
  --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/ask-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Ask UI",
5
5
  "type": "module",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  "test:e2e": "playwright test",
21
21
  "test:int": "vitest",
22
22
  "types": "tsc --noEmit",
23
- "prepack": "node ../../.node/pack.js prepack",
24
- "postpack": "node ../../.node/pack.js postpack"
23
+ "release:package": "node ../../.node/publish.js",
24
+ "release:dry-run": "node ../../.node/publish.js --dry-run"
25
25
  },
26
26
  "dependencies": {
27
27
  "@base-ui/react": "^1.3.0",