@hanzo/ui 8.29.23 → 8.29.25

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.
package/dist/look.cjs CHANGED
@@ -3,17 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Look = void 0;
5
5
  /**
6
- * Look — the person's appearance as `<Hanzo>` resolved it, and the one writer of it.
6
+ * Look — the person's appearance as the root resolved it, and the one writer of it.
7
7
  *
8
8
  * `<Hanzo>` already runs `useAppearance()` with the host's org, install and
9
9
  * account layers. A control deeper in the tree that changes the theme must write
10
10
  * through THAT call: its own `useAppearance()` would resolve without those
11
11
  * layers, repaint the document without an org's accent, and save nowhere but
12
- * this device. So the root publishes its result here and a control reads it.
12
+ * this device, so the account's older choice would come back on the next load.
13
+ * So the root publishes its result here and a control reads it.
13
14
  *
14
- * Absent when a host mounts its own gui provider instead of `<Hanzo>`; a control
15
- * then writes the device's own layer and repaints, which is the whole stack such
16
- * a host has.
15
+ * A host that mounts its own gui provider and runs that call itself publishes
16
+ * its result here too, from `@hanzo/ui/corner`. With neither, a control writes
17
+ * the device's own layer and repaints, which is the whole stack such a host has.
17
18
  */
18
19
  const react_1 = require("react");
19
20
  exports.Look = (0, react_1.createContext)(null);
@@ -1 +1 @@
1
- {"version":3,"file":"look.d.ts","sourceRoot":"","sources":["../src/look.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,MAAM,IAAI,GAAG;IACjB,oDAAoD;IACpD,IAAI,EAAE,UAAU,CAAA;IAChB,kFAAkF;IAClF,GAAG,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAA;CAC1C,CAAA;AAED,eAAO,MAAM,IAAI,sCAAmD,CAAA"}
1
+ {"version":3,"file":"look.d.ts","sourceRoot":"","sources":["../src/look.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,MAAM,IAAI,GAAG;IACjB,oDAAoD;IACpD,IAAI,EAAE,UAAU,CAAA;IAChB,kFAAkF;IAClF,GAAG,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAA;CAC1C,CAAA;AAED,eAAO,MAAM,IAAI,sCAAmD,CAAA"}
package/dist/look.js CHANGED
@@ -1,16 +1,17 @@
1
1
  'use client';
2
2
  /**
3
- * Look — the person's appearance as `<Hanzo>` resolved it, and the one writer of it.
3
+ * Look — the person's appearance as the root resolved it, and the one writer of it.
4
4
  *
5
5
  * `<Hanzo>` already runs `useAppearance()` with the host's org, install and
6
6
  * account layers. A control deeper in the tree that changes the theme must write
7
7
  * through THAT call: its own `useAppearance()` would resolve without those
8
8
  * layers, repaint the document without an org's accent, and save nowhere but
9
- * this device. So the root publishes its result here and a control reads it.
9
+ * this device, so the account's older choice would come back on the next load.
10
+ * So the root publishes its result here and a control reads it.
10
11
  *
11
- * Absent when a host mounts its own gui provider instead of `<Hanzo>`; a control
12
- * then writes the device's own layer and repaints, which is the whole stack such
13
- * a host has.
12
+ * A host that mounts its own gui provider and runs that call itself publishes
13
+ * its result here too, from `@hanzo/ui/corner`. With neither, a control writes
14
+ * the device's own layer and repaints, which is the whole stack such a host has.
14
15
  */
15
16
  import { createContext } from 'react';
16
17
  export const Look = /* @__PURE__ */ createContext(null);
package/dist/look.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"look.js","sourceRoot":"","sources":["../src/look.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAUrC,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAC,aAAa,CAAc,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"look.js","sourceRoot":"","sources":["../src/look.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAUrC,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CAAC,aAAa,CAAc,IAAI,CAAC,CAAA"}
package/dist/styles.css CHANGED
@@ -4190,7 +4190,7 @@ a svg,
4190
4190
  :root ._bblr-8px{border-bottom-left-radius:8px;}
4191
4191
  :root ._bblr-9999px{border-bottom-left-radius:9999px;}
4192
4192
  :root ._bblr-999px{border-bottom-left-radius:999px;}
4193
- @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._bblr-_maxsm_22px{border-bottom-left-radius:22px;}}
4193
+ @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._bblr-_maxsm_24px{border-bottom-left-radius:24px;}}
4194
4194
  :root ._bblr-c-radius-1{border-bottom-left-radius:var(--c-radius-1);}
4195
4195
  :root ._bblr-c-radius-10{border-bottom-left-radius:var(--c-radius-10);}
4196
4196
  :root ._bblr-c-radius-2{border-bottom-left-radius:var(--c-radius-2);}
@@ -4215,7 +4215,7 @@ a svg,
4215
4215
  :root ._bbrr-8px{border-bottom-right-radius:8px;}
4216
4216
  :root ._bbrr-9999px{border-bottom-right-radius:9999px;}
4217
4217
  :root ._bbrr-999px{border-bottom-right-radius:999px;}
4218
- @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._bbrr-_maxsm_22px{border-bottom-right-radius:22px;}}
4218
+ @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._bbrr-_maxsm_24px{border-bottom-right-radius:24px;}}
4219
4219
  :root ._bbrr-c-radius-1{border-bottom-right-radius:var(--c-radius-1);}
4220
4220
  :root ._bbrr-c-radius-10{border-bottom-right-radius:var(--c-radius-10);}
4221
4221
  :root ._bbrr-c-radius-2{border-bottom-right-radius:var(--c-radius-2);}
@@ -4566,7 +4566,7 @@ a svg,
4566
4566
  :root ._btlr-8px{border-top-left-radius:8px;}
4567
4567
  :root ._btlr-9999px{border-top-left-radius:9999px;}
4568
4568
  :root ._btlr-999px{border-top-left-radius:999px;}
4569
- @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._btlr-_maxsm_22px{border-top-left-radius:22px;}}
4569
+ @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._btlr-_maxsm_24px{border-top-left-radius:24px;}}
4570
4570
  :root ._btlr-c-radius-1{border-top-left-radius:var(--c-radius-1);}
4571
4571
  :root ._btlr-c-radius-10{border-top-left-radius:var(--c-radius-10);}
4572
4572
  :root ._btlr-c-radius-2{border-top-left-radius:var(--c-radius-2);}
@@ -4591,7 +4591,7 @@ a svg,
4591
4591
  :root ._btrr-8px{border-top-right-radius:8px;}
4592
4592
  :root ._btrr-9999px{border-top-right-radius:9999px;}
4593
4593
  :root ._btrr-999px{border-top-right-radius:999px;}
4594
- @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._btrr-_maxsm_22px{border-top-right-radius:22px;}}
4594
+ @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._btrr-_maxsm_24px{border-top-right-radius:24px;}}
4595
4595
  :root ._btrr-c-radius-1{border-top-right-radius:var(--c-radius-1);}
4596
4596
  :root ._btrr-c-radius-10{border-top-right-radius:var(--c-radius-10);}
4597
4597
  :root ._btrr-c-radius-2{border-top-right-radius:var(--c-radius-2);}
@@ -4808,7 +4808,7 @@ a svg,
4808
4808
  :root ._height-c-size-2{height:var(--c-size-2);}
4809
4809
  :root ._height-c-size-true{height:var(--c-size-true);}
4810
4810
  :root ._height-initial{height:initial;}
4811
- :root ._height-max24pxcalc1755226225{height:max(24px, calc(44px * var(--density, 1)));}
4811
+ :root ._height-max24pxcalc1864755028{height:max(24px, calc(36px * var(--density, 1)));}
4812
4812
  :root ._height-min72vh620p38286157{height:min(72vh, 620px);}
4813
4813
  :root ._insetInlineEnd-0px{inset-inline-end:0px;}
4814
4814
  :root ._insetInlineEnd-12px{inset-inline-end:12px;}
@@ -4948,7 +4948,7 @@ a svg,
4948
4948
  @media (pointer: coarse){:root:root ._minH-_touchable_44px{min-height:44px;}}
4949
4949
  :root ._minH-auto{min-height:auto;}
4950
4950
  :root ._minH-c-size-1{min-height:var(--c-size-1);}
4951
- :root ._minH-max24pxcalc1755226225{min-height:max(24px, calc(44px * var(--density, 1)));}
4951
+ :root ._minH-max24pxcalc1864755028{min-height:max(24px, calc(36px * var(--density, 1)));}
4952
4952
  :root ._minW-0px{min-width:0px;}
4953
4953
  :root ._minW-10037{min-width:100%;}
4954
4954
  :root ._minW-12px{min-width:12px;}
@@ -4968,7 +4968,7 @@ a svg,
4968
4968
  @media (pointer: coarse){:root:root ._minW-_touchable_44px{min-width:44px;}}
4969
4969
  :root ._minW-auto{min-width:auto;}
4970
4970
  :root ._minW-c-size-1{min-width:var(--c-size-1);}
4971
- :root ._minW-max24pxcalc1755226225{min-width:max(24px, calc(44px * var(--density, 1)));}
4971
+ :root ._minW-max24pxcalc1864755028{min-width:max(24px, calc(36px * var(--density, 1)));}
4972
4972
  :root ._minW-min12px5038283584{min-width:min(12px, 50%);}
4973
4973
  :root ._ml--1px{margin-left:-1px;}
4974
4974
  :root ._ml-0px{margin-left:0px;}
@@ -5059,6 +5059,7 @@ a svg,
5059
5059
  :root ._pb-2px{padding-bottom:2px;}
5060
5060
  :root ._pb-3px{padding-bottom:3px;}
5061
5061
  :root ._pb-4px{padding-bottom:4px;}
5062
+ :root ._pb-6px{padding-bottom:6px;}
5062
5063
  :root ._pb-7px{padding-bottom:7px;}
5063
5064
  :root ._pb-8px{padding-bottom:8px;}
5064
5065
  :root ._pb-96px{padding-bottom:96px;}
@@ -5088,6 +5089,7 @@ a svg,
5088
5089
  :root ._pl-2px{padding-left:2px;}
5089
5090
  :root ._pl-3px{padding-left:3px;}
5090
5091
  :root ._pl-4px{padding-left:4px;}
5092
+ :root ._pl-6px{padding-left:6px;}
5091
5093
  :root ._pl-8px{padding-left:8px;}
5092
5094
  @media (max-width: 767.98px){:root:root:root:root:root:root:root ._pl-_maxmd_c-space-4{padding-left:var(--c-space-4);}}
5093
5095
  @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._pl-_maxsm_12px{padding-left:12px;}}
@@ -5115,6 +5117,7 @@ a svg,
5115
5117
  :root ._pr-2px{padding-right:2px;}
5116
5118
  :root ._pr-3px{padding-right:3px;}
5117
5119
  :root ._pr-4px{padding-right:4px;}
5120
+ :root ._pr-6px{padding-right:6px;}
5118
5121
  :root ._pr-8px{padding-right:8px;}
5119
5122
  @media (max-width: 767.98px){:root:root:root:root:root:root:root ._pr-_maxmd_c-space-4{padding-right:var(--c-space-4);}}
5120
5123
  @media (max-width: 639.98px){:root:root:root:root:root:root:root:root ._pr-_maxsm_12px{padding-right:12px;}}
@@ -5131,6 +5134,7 @@ a svg,
5131
5134
  :root ._pr-c-space-6{padding-right:var(--c-space-6);}
5132
5135
  :root ._pr-c-space-tru101{padding-right:var(--c-space-true);}
5133
5136
  :root ._pt-0px{padding-top:0px;}
5137
+ :root ._pt-10px{padding-top:10px;}
5134
5138
  :root ._pt-112px{padding-top:112px;}
5135
5139
  :root ._pt-12px{padding-top:12px;}
5136
5140
  :root ._pt-16px{padding-top:16px;}
@@ -5140,6 +5144,7 @@ a svg,
5140
5144
  :root ._pt-2px{padding-top:2px;}
5141
5145
  :root ._pt-3px{padding-top:3px;}
5142
5146
  :root ._pt-4px{padding-top:4px;}
5147
+ :root ._pt-6px{padding-top:6px;}
5143
5148
  :root ._pt-7px{padding-top:7px;}
5144
5149
  :root ._pt-8px{padding-top:8px;}
5145
5150
  :root ._pt-96px{padding-top:96px;}
@@ -5238,7 +5243,6 @@ a svg,
5238
5243
  :root ._width-3px{width:3px;}
5239
5244
  :root ._width-400px{width:400px;}
5240
5245
  :root ._width-40px{width:40px;}
5241
- :root ._width-44px{width:44px;}
5242
5246
  :root ._width-46px{width:46px;}
5243
5247
  :root ._width-480px{width:480px;}
5244
5248
  :root ._width-4px{width:4px;}
@@ -5254,7 +5258,7 @@ a svg,
5254
5258
  @media (min-width: 768px){:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ._width-_md_360px{width:360px;}}
5255
5259
  :root ._width-auto{width:auto;}
5256
5260
  :root ._width-c-size-1{width:var(--c-size-1);}
5257
- :root ._width-max24pxcalc1755226225{width:max(24px, calc(44px * var(--density, 1)));}
5261
+ :root ._width-max24pxcalc1864755028{width:max(24px, calc(36px * var(--density, 1)));}
5258
5262
  :root ._ws-normal{white-space:normal;}
5259
5263
  :root ._ws-nowrap{white-space:nowrap;}
5260
5264
  :root ._ws-pre{white-space:pre;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.29.23",
3
+ "version": "8.29.25",
4
4
  "type": "module",
5
5
  "description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
6
6
  "exports": {