@helpwave/hightide 0.9.3 → 0.9.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.
@@ -432,9 +432,6 @@
432
432
  .my-2 {
433
433
  margin-block: calc(var(--spacing) * 2);
434
434
  }
435
- .mt-1 {
436
- margin-top: calc(var(--spacing) * 1);
437
- }
438
435
  .mt-2 {
439
436
  margin-top: calc(var(--spacing) * 2);
440
437
  }
@@ -4529,13 +4526,17 @@
4529
4526
  }
4530
4527
  }
4531
4528
  @layer components {
4532
- [data-name="property-root"] {
4529
+ [data-name="property-inner"] {
4533
4530
  display: flex;
4534
4531
  flex-direction: row;
4535
4532
  column-gap: calc(var(--spacing) * 0);
4536
- border-radius: var(--radius-xl);
4533
+ width: 100%;
4534
+ min-width: calc(var(--spacing) * 0);
4537
4535
  }
4538
4536
  [data-name="property-root"] {
4537
+ border-radius: var(--radius-xl);
4538
+ container-type: inline-size;
4539
+ container-name: property;
4539
4540
  transition: outline-offset var(--animation-duration-in, 250ms);
4540
4541
  outline-offset: 0;
4541
4542
  &:hover {
@@ -4623,6 +4624,15 @@
4623
4624
  background-color: var(--color-surface-warning);
4624
4625
  }
4625
4626
  }
4627
+ [data-name="property-title-actions"] {
4628
+ display: flex;
4629
+ flex-direction: row;
4630
+ column-gap: calc(var(--spacing) * 2);
4631
+ display: none;
4632
+ flex-shrink: 0;
4633
+ align-items: center;
4634
+ gap: calc(var(--spacing) * 1);
4635
+ }
4626
4636
  [data-name="property-actions"] {
4627
4637
  display: flex;
4628
4638
  flex-direction: row;
@@ -4630,6 +4640,41 @@
4630
4640
  align-items: center;
4631
4641
  gap: calc(var(--spacing) * 1);
4632
4642
  }
4643
+ @container property (max-width: 32rem) {
4644
+ [data-name="property-inner"] {
4645
+ flex-direction: column;
4646
+ }
4647
+ [data-name="property-title"] {
4648
+ width: 100%;
4649
+ max-width: none;
4650
+ min-width: calc(var(--spacing) * 0);
4651
+ border-radius: 0;
4652
+ border-top-left-radius: var(--radius-xl);
4653
+ border-top-right-radius: var(--radius-xl);
4654
+ border-right-style: var(--tw-border-style);
4655
+ border-right-width: 2px;
4656
+ border-bottom-style: var(--tw-border-style);
4657
+ border-bottom-width: 0px;
4658
+ }
4659
+ [data-name="property-title-actions"] {
4660
+ display: flex;
4661
+ }
4662
+ [data-name="property-actions"] {
4663
+ display: none;
4664
+ }
4665
+ [data-name="property-content"] {
4666
+ min-height: calc(var(--spacing) * 0);
4667
+ border-radius: 0;
4668
+ border-bottom-right-radius: var(--radius-xl);
4669
+ border-bottom-left-radius: var(--radius-xl);
4670
+ border-top-style: var(--tw-border-style);
4671
+ border-top-width: 0px;
4672
+ border-right-style: var(--tw-border-style);
4673
+ border-right-width: 2px;
4674
+ border-left-style: var(--tw-border-style);
4675
+ border-left-width: 2px;
4676
+ }
4677
+ }
4633
4678
  [data-name="property-input-wrapper"] {
4634
4679
  position: relative;
4635
4680
  display: flex;
@@ -4647,6 +4692,10 @@
4647
4692
  [data-name="property-input"] {
4648
4693
  border-radius: 0.25rem;
4649
4694
  padding: calc(var(--spacing) * 1);
4695
+ &[type="date"]::-webkit-calendar-picker-indicator, &[type="datetime-local"]::-webkit-calendar-picker-indicator, &[type="time"]::-webkit-calendar-picker-indicator {
4696
+ display: none;
4697
+ -webkit-appearance: none;
4698
+ }
4650
4699
  &[data-invalid] {
4651
4700
  background-color: var(--color-surface-warning);
4652
4701
  &::placeholder {
@@ -1,13 +1,17 @@
1
1
  @layer components {
2
- [data-name="property-root"] {
3
- @apply flex-row-0 rounded-xl;
2
+ [data-name="property-inner"] {
3
+ @apply flex-row-0 w-full min-w-0;
4
4
  }
5
5
 
6
6
  [data-name="property-root"] {
7
+ @apply rounded-xl;
8
+ container-type: inline-size;
9
+ container-name: property;
7
10
  transition: outline-offset var(--animation-duration-in, 250ms);
8
11
  outline-offset: 0;
9
12
 
10
13
  &:hover {
14
+
11
15
  [data-name="property-title"]:not([data-invalid]),
12
16
  [data-name="property-content"]:not([data-invalid]) {
13
17
  @apply border-primary;
@@ -33,7 +37,6 @@
33
37
  }
34
38
  }
35
39
 
36
-
37
40
  [data-name="property-title"] {
38
41
  @apply flex-row-2 max-w-48 min-w-48 px-3 py-2 items-center justify-between rounded-l-xl border-2 border-r-0;
39
42
 
@@ -46,7 +49,6 @@
46
49
  }
47
50
  }
48
51
 
49
-
50
52
  [data-name="property-title-icon"] {
51
53
  @apply max-w-6 min-w-6;
52
54
  }
@@ -67,10 +69,36 @@
67
69
  }
68
70
  }
69
71
 
72
+ [data-name="property-title-actions"] {
73
+ @apply hidden flex-row-2 items-center gap-1 shrink-0;
74
+ }
75
+
70
76
  [data-name="property-actions"] {
71
77
  @apply flex-row-2 items-center gap-1;
72
78
  }
73
79
 
80
+ @container property (max-width: 32rem) {
81
+ [data-name="property-inner"] {
82
+ @apply flex-col;
83
+ }
84
+
85
+ [data-name="property-title"] {
86
+ @apply max-w-none min-w-0 w-full rounded-none rounded-t-xl border-r-2 border-b-0;
87
+ }
88
+
89
+ [data-name="property-title-actions"] {
90
+ @apply flex;
91
+ }
92
+
93
+ [data-name="property-actions"] {
94
+ @apply hidden;
95
+ }
96
+
97
+ [data-name="property-content"] {
98
+ @apply rounded-none rounded-b-xl border-t-0 border-l-2 border-r-2 min-h-0;
99
+ }
100
+ }
101
+
74
102
  [data-name="property-input-wrapper"] {
75
103
  @apply relative flex-row-2 w-full;
76
104
 
@@ -87,6 +115,13 @@
87
115
  [data-name="property-input"] {
88
116
  @apply rounded p-1;
89
117
 
118
+ &[type="date"]::-webkit-calendar-picker-indicator,
119
+ &[type="datetime-local"]::-webkit-calendar-picker-indicator,
120
+ &[type="time"]::-webkit-calendar-picker-indicator {
121
+ display: none;
122
+ -webkit-appearance: none;
123
+ }
124
+
90
125
  &[data-invalid] {
91
126
  @apply bg-surface-warning placeholder-warning;
92
127
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "access": "public"
11
11
  },
12
12
  "license": "MPL-2.0",
13
- "version": "0.9.3",
13
+ "version": "0.9.5",
14
14
  "files": [
15
15
  "dist"
16
16
  ],