@tempoxyz/ds 0.3.15 → 0.3.16

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.
Files changed (87) hide show
  1. package/dist/docs/AGENTS.md +6 -4
  2. package/dist/docs/arsenal.md +44 -0
  3. package/dist/docs/marketing.md +4 -4
  4. package/dist/docs/product/components/actions.md +53 -1
  5. package/dist/docs/product/components/blockchain.md +147 -3
  6. package/dist/docs/product/components/feedback-and-status.md +137 -7
  7. package/dist/docs/product/components/navigation.md +1 -1
  8. package/dist/docs/product/foundations.md +1 -0
  9. package/dist/docs/product/patterns.md +3 -22
  10. package/dist/marketing/index.js.zyzz.json +1 -1
  11. package/dist/marketing/vars.d.ts +618 -758
  12. package/dist/marketing/vars.d.ts.map +1 -1
  13. package/dist/marketing/vars.js +8 -5
  14. package/dist/marketing/vars.js.map +1 -1
  15. package/dist/marketing/vars.js.zyzz.json +1 -1
  16. package/dist/marketing/zyzz.config.d.ts +3042 -3757
  17. package/dist/marketing/zyzz.config.d.ts.map +1 -1
  18. package/dist/marketing/zyzz.config.js +1 -1
  19. package/dist/marketing/zyzz.config.js.map +1 -1
  20. package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
  21. package/dist/mobile/components/Button.d.ts +115 -15
  22. package/dist/mobile/components/Button.d.ts.map +1 -1
  23. package/dist/mobile/components/Button.js +85 -14
  24. package/dist/mobile/components/Button.js.map +1 -1
  25. package/dist/mobile/components/IconButton.d.ts +129 -40
  26. package/dist/mobile/components/IconButton.d.ts.map +1 -1
  27. package/dist/mobile/components/IconButton.js +97 -28
  28. package/dist/mobile/components/IconButton.js.map +1 -1
  29. package/dist/mobile/components/TextInput.d.ts +132 -11
  30. package/dist/mobile/components/TextInput.d.ts.map +1 -1
  31. package/dist/mobile/components/TextInput.js +115 -14
  32. package/dist/mobile/components/TextInput.js.map +1 -1
  33. package/dist/mobile/index.d.ts +1 -0
  34. package/dist/mobile/index.d.ts.map +1 -1
  35. package/dist/mobile/index.js +1 -0
  36. package/dist/mobile/index.js.map +1 -1
  37. package/dist/mobile/vars.d.ts +103 -0
  38. package/dist/mobile/vars.d.ts.map +1 -1
  39. package/dist/mobile/vars.js +74 -0
  40. package/dist/mobile/vars.js.map +1 -1
  41. package/dist/mobile/zyzz.config.d.ts +408 -0
  42. package/dist/mobile/zyzz.config.d.ts.map +1 -1
  43. package/dist/web/components/AddressCard.js.zyzz.json +1 -1
  44. package/dist/web/components/Amount.css +1 -1
  45. package/dist/web/components/Amount.d.ts +9 -0
  46. package/dist/web/components/Amount.d.ts.map +1 -1
  47. package/dist/web/components/Amount.js +8 -5
  48. package/dist/web/components/Amount.js.map +1 -1
  49. package/dist/web/components/Amount.js.zyzz.json +1 -1
  50. package/dist/web/components/CopyButton.d.ts +6 -0
  51. package/dist/web/components/CopyButton.d.ts.map +1 -1
  52. package/dist/web/components/CopyButton.js +4 -1
  53. package/dist/web/components/CopyButton.js.map +1 -1
  54. package/dist/web/components/CopyButton.js.zyzz.json +1 -1
  55. package/dist/web/components/Hex.css +1 -1
  56. package/dist/web/components/Hex.d.ts +84 -3
  57. package/dist/web/components/Hex.d.ts.map +1 -1
  58. package/dist/web/components/Hex.js +20 -13
  59. package/dist/web/components/Hex.js.map +1 -1
  60. package/dist/web/components/Hex.js.zyzz.json +1 -1
  61. package/dist/web/components/Progress.css +1 -1
  62. package/dist/web/components/Progress.d.ts +12 -2
  63. package/dist/web/components/Progress.d.ts.map +1 -1
  64. package/dist/web/components/Progress.js +9 -5
  65. package/dist/web/components/Progress.js.map +1 -1
  66. package/dist/web/components/Progress.js.zyzz.json +1 -1
  67. package/dist/web/components/SecretValue.js.zyzz.json +1 -1
  68. package/dist/web/components/SidebarMenu.d.ts +4 -4
  69. package/dist/web/components/SidebarMenu.js +6 -6
  70. package/dist/web/components/SidebarMenu.js.map +1 -1
  71. package/dist/web/components/Snippet.js.zyzz.json +1 -1
  72. package/dist/web/index.js.zyzz.json +1 -1
  73. package/package.json +1 -1
  74. package/src/marketing/README.md +1 -1
  75. package/src/marketing/vars.ts +526 -604
  76. package/src/marketing/zyzz.config.ts +5 -4
  77. package/src/mobile/README.md +19 -6
  78. package/src/mobile/components/Button.tsx +94 -17
  79. package/src/mobile/components/IconButton.tsx +122 -30
  80. package/src/mobile/components/TextInput.tsx +139 -24
  81. package/src/mobile/index.ts +1 -0
  82. package/src/mobile/vars.ts +74 -0
  83. package/src/web/components/Amount.tsx +37 -3
  84. package/src/web/components/CopyButton.tsx +8 -0
  85. package/src/web/components/Hex.tsx +79 -13
  86. package/src/web/components/Progress.tsx +8 -2
  87. package/src/web/components/SidebarMenu.tsx +6 -6
@@ -11,8 +11,11 @@ import { style, variants } from '../zyzz.config.js'
11
11
  *
12
12
  * - Name the task with `Label`, which labels the bar for assistive technology.
13
13
  * - Use the indeterminate state only when the remaining work is unknown.
14
- * - Use `Gauge` for a measurement that does not advance toward completion.
14
+ * - Pass `role="meter"` for a measurement against a limit, such as the share of a spending limit
15
+ * used. Use `Gauge` for a measurement in a ring.
15
16
  * - Pass `getAriaValueText` for a value with units, such as `3 of 5 files`.
17
+ * - Use the `warning` and `negative` intents for a meter that nears or reaches its limit, and
18
+ * state the reading in text, since color alone does not convey it.
16
19
  *
17
20
  * @example
18
21
  * <Progress.Root value={60}>
@@ -64,7 +67,8 @@ export namespace Progress {
64
67
 
65
68
  /**
66
69
  * Owns the value and renders the `progressbar` element. `format` changes both `Value` and
67
- * `aria-valuetext`.
70
+ * `aria-valuetext`. `role="meter"` replaces the `progressbar` role and keeps the range,
71
+ * value, and label attributes, which a `meter` accepts. A meter requires a number `value`.
68
72
  */
69
73
  export function Root(props: Root.Props) {
70
74
  const { className, intent, vars, ...attributes } = props
@@ -181,8 +185,10 @@ namespace styles {
181
185
  defaultVariants: { intent: 'neutral' },
182
186
  variants: {
183
187
  intent: {
188
+ negative: { color: 'content.negative' },
184
189
  neutral: { color: 'content.primary' },
185
190
  positive: { color: 'content.positive' },
191
+ warning: { color: 'content.warning' },
186
192
  },
187
193
  },
188
194
  },
@@ -10,7 +10,7 @@ import {
10
10
  useState,
11
11
  } from 'react'
12
12
  import type * as zyzz from 'zyzz'
13
- import { ChevronDown } from '../icons/ChevronDown.js'
13
+ import { ChevronGrabberVertical } from '../icons/central/icons/C.js'
14
14
  import { ChevronRight } from '../icons/ChevronRight.js'
15
15
  import { Close } from '../icons/Close.js'
16
16
  import { style, variants } from '../zyzz.config.js'
@@ -78,10 +78,10 @@ export namespace SidebarMenu {
78
78
  /**
79
79
  * Renders the 44px account `<button>` at the bottom of a sidebar: `children`, such as a 32px
80
80
  * `Avatar`, then `label` over `description`. A row that opens a popup, through `aria-haspopup`,
81
- * ends in a chevron. The children are hidden from assistive technology, so `label` names the
82
- * account. Pass the row to `Menu.Trigger` through `render` to open the account menu, which sets
83
- * `aria-haspopup` and fills the row while it is open. Keyboard focus draws a 2px ring inside the
84
- * row and moves its content 2px inward.
81
+ * ends in an up and down chevron, since the menu can open above or below it. The children are
82
+ * hidden from assistive technology, so `label` names the account. Pass the row to `Menu.Trigger`
83
+ * through `render` to open the account menu, which sets `aria-haspopup` and fills the row while
84
+ * it is open. Keyboard focus draws a 2px ring inside the row and moves its content 2px inward.
85
85
  *
86
86
  * @example
87
87
  * <Menu.Root>
@@ -113,7 +113,7 @@ export namespace SidebarMenu {
113
113
  <span {...styles.accountDescription()}>{description}</span>
114
114
  )}
115
115
  </span>
116
- {popup && <ChevronDown {...styles.accountChevron()} />}
116
+ {popup && <ChevronGrabberVertical {...styles.accountChevron()} />}
117
117
  </button>
118
118
  )
119
119
  }