@narmi/design_system 6.16.18 → 6.16.19

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,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 09 Sep 2026 15:47:00 GMT
3
+ * Generated on Tue, 22 Sep 2026 16:22:16 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 09 Sep 2026 15:47:00 GMT
3
+ * Generated on Tue, 22 Sep 2026 16:22:16 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 09 Sep 2026 15:47:00 GMT
3
+ * Generated on Tue, 22 Sep 2026 16:22:16 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 09 Sep 2026 15:47:00 GMT
3
+ * Generated on Tue, 22 Sep 2026 16:22:16 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Wed Sep 09 2026 15:47:00 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Sep 22 2026 16:22:16 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 09 Sep 2026 15:47:00 GMT
3
+ * Generated on Tue, 22 Sep 2026 16:22:16 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Wed Sep 09 2026 15:47:00 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Sep 22 2026 16:22:16 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Wed Sep 09 2026 15:47:00 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Sep 22 2026 16:22:16 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Wed Sep 09 2026 15:47:00 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Sep 22 2026 16:22:16 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -9,7 +9,9 @@
9
9
  * gets the tag without any setup. It is intentionally NOT part of the public
10
10
  * API — none of these functions are re-exported from `src/index.ts`.
11
11
  *
12
- * Behavior: the design system owns the directives listed in
12
+ * Behavior: the design system always ensures a default `width=device-width`
13
+ * when creating a brand-new tag. On existing tags, it preserves any consumer-
14
+ * provided `width` value. It still owns the directives listed in
13
15
  * `ENSURE_META_CONTENT` and upserts each one — adds it if missing, corrects it
14
16
  * if the value differs, leaves it if already right. Any other directive a
15
17
  * consumer has set (e.g. `viewport-fit=cover`) is preserved in place.
@@ -32,9 +34,11 @@ export declare function serializeViewport(map: Map<string, string>): string;
32
34
  * Given the current viewport `content` (or null/empty when no tag exists),
33
35
  * return the content string that should be applied.
34
36
  *
35
- * Pure. Upserts every directive from `ENSURE_META_CONTENT`: adds it when
36
- * missing (appended in order), corrects it when the value differs, keeps it
37
- * when already correct. Directives the consumer set that we don't manage are
37
+ * Pure. Returns `DEFAULT_META_CONTENT` when no tag exists. Otherwise preserves
38
+ * any consumer-provided `width`, inserts the default width when missing, and
39
+ * upserts every directive from `ENSURE_META_CONTENT`: adds it when missing
40
+ * (appended in order), corrects it when the value differs, keeps it when
41
+ * already correct. Directives the consumer set that we don't manage are
38
42
  * preserved in their original position (`Map.set` keeps insertion order on
39
43
  * update).
40
44
  */
@@ -1 +1 @@
1
- {"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../src/util/viewport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAgBlE;AAED,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAIlE;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CASpE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,GAAE,QAAQ,GAAG,IAAI,GAAG,SAEf,GACP,IAAI,CAoBN"}
1
+ {"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../src/util/viewport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AASH;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAgBlE;AAED,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAIlE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAYpE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,GAAE,QAAQ,GAAG,IAAI,GAAG,SAEf,GACP,IAAI,CAsBN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narmi/design_system",
3
- "version": "6.16.18",
3
+ "version": "6.16.19",
4
4
  "description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
5
5
  "main": "dist/index.js",
6
6
  "style": "dist/style.css",