@ksp-gonogo/ui-kit 0.2.0-rc.8 → 1.0.0-rc.14

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.
@@ -15,4 +15,4 @@ export {
15
15
  GRID_MARGIN,
16
16
  gridToPixels
17
17
  };
18
- //# sourceMappingURL=chunk-SHAX2WJJ.js.map
18
+ //# sourceMappingURL=chunk-IZZF25H2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/gridUnits.ts"],"sourcesContent":["/**\n * The width of one dashboard grid column in CSS pixels, an approximation at\n * the `lg` breakpoint (36 columns): on the dashboard a column's real width is a\n * fraction of the container. Use it to lay a widget out outside the dashboard,\n * such as in a test harness or a docs page.\n *\n * @category Layout\n */\nexport const COL_WIDTH = 32;\n\n/**\n * The height of one dashboard grid row in CSS pixels.\n *\n * @category Layout\n */\nexport const ROW_HEIGHT = 25;\n\n/**\n * The gap between adjacent dashboard grid cells in CSS pixels.\n *\n * @category Layout\n */\nexport const GRID_MARGIN = 8;\n\n/**\n * The pixel box of a `w` by `h` grid-unit tile, as `{ pxW, pxH }`. The margin\n * falls between cells, so `n` cells carry `n - 1` gaps and a single cell\n * carries none.\n *\n * @category Layout\n */\nexport function gridToPixels(\n w: number,\n h: number,\n): {\n pxW: number;\n pxH: number;\n} {\n return {\n pxW: w * COL_WIDTH + (w - 1) * GRID_MARGIN,\n pxH: h * ROW_HEIGHT + (h - 1) * GRID_MARGIN,\n };\n}\n"],"mappings":";AAQO,IAAM,YAAY;AAOlB,IAAM,aAAa;AAOnB,IAAM,cAAc;AASpB,SAAS,aACd,GACA,GAIA;AACA,SAAO;AAAA,IACL,KAAK,IAAI,aAAa,IAAI,KAAK;AAAA,IAC/B,KAAK,IAAI,cAAc,IAAI,KAAK;AAAA,EAClC;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/gridUnits.ts"],"sourcesContent":["/**\n * The width of one dashboard grid column in CSS pixels, an approximation at\n * the `lg` breakpoint (36 columns): on the dashboard a column's real width is a\n * fraction of the container. Use it to lay a widget out outside the dashboard,\n * such as in a test harness or a docs page.\n *\n * @category Layout\n */\nexport const COL_WIDTH = 32;\n\n/**\n * The height of one dashboard grid row in CSS pixels.\n *\n * @category Layout\n */\nexport const ROW_HEIGHT = 25;\n\n/**\n * The gap between adjacent dashboard grid cells in CSS pixels.\n *\n * @category Layout\n */\nexport const GRID_MARGIN = 8;\n\n/**\n * The pixel box of a `w` by `h` grid-unit tile, as `{ pxW, pxH }`. The margin\n * falls between cells, so `n` cells carry `n - 1` gaps and a single cell\n * carries none.\n *\n * @category Layout\n * @categoryDescription Layout\n * Arranging a widget's content: stacks, rows, clusters, grids, boxes, cards and\n * sections, the spacing scale they share, and the dashboard grid's cell sizes\n * for turning a tile's columns and rows into pixels.\n */\nexport function gridToPixels(\n w: number,\n h: number,\n): {\n pxW: number;\n pxH: number;\n} {\n return {\n pxW: w * COL_WIDTH + (w - 1) * GRID_MARGIN,\n pxH: h * ROW_HEIGHT + (h - 1) * GRID_MARGIN,\n };\n}\n"],"mappings":";AAQO,IAAM,YAAY;AAOlB,IAAM,aAAa;AAOnB,IAAM,cAAc;AAapB,SAAS,aACd,GACA,GAIA;AACA,SAAO;AAAA,IACL,KAAK,IAAI,aAAa,IAAI,KAAK;AAAA,IAC/B,KAAK,IAAI,cAAc,IAAI,KAAK;AAAA,EAClC;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  gridToPixels
3
- } from "./chunk-SHAX2WJJ.js";
3
+ } from "./chunk-IZZF25H2.js";
4
4
 
5
5
  // src/tone.ts
6
6
  var TONE_TEXT = {
@@ -2002,33 +2002,59 @@ function bandClaim(_kind, claimed) {
2002
2002
  // src/reckoningMarkSpec.ts
2003
2003
  var HOLLOW_MARK_STROKE = "max(0.075em, 1.25px)";
2004
2004
  var RECKONING_MARK = {
2005
+ /** A reading of now: carries no mark of its own, only the hollow ring. */
2005
2006
  current: {
2007
+ /** The mark's shape, by name. */
2006
2008
  shape: "ring",
2009
+ /** The same shape as one text character, where the mark is drawn as text. */
2007
2010
  glyph: "\u25CB",
2011
+ /** The hue, as a CSS `var()` of the theme token. */
2008
2012
  color: "var(--color-elsewhere-mark)",
2013
+ /** The theme token's name, for a canvas painter that resolves it itself. */
2009
2014
  cssVar: "--color-elsewhere-mark",
2015
+ /** The hue to use where the token cannot be read. */
2010
2016
  fallback: "rgb(170 156 255)",
2017
+ /** The hollow form's size in the DOM, drawn for a figure of something other than what its label names. */
2011
2018
  hollowDomSize: "max(calc(0.3em + 2px), 6px)",
2019
+ /** The mark's radius on a canvas, in canvas pixels at 1x. */
2012
2020
  canvasRadius: 5
2013
2021
  },
2022
+ /** The last observation kept past its time: a square in the warning hue. */
2014
2023
  held: {
2024
+ /** The mark's shape, by name. */
2015
2025
  shape: "square",
2026
+ /** The same shape as one text character, where the mark is drawn as text. */
2016
2027
  glyph: "\u25A0",
2028
+ /** The hue, as a CSS `var()` of the theme token. */
2017
2029
  color: "var(--color-warn-mark)",
2030
+ /** The theme token's name, for a canvas painter that resolves it itself. */
2018
2031
  cssVar: "--color-warn-mark",
2032
+ /** The hue to use where the token cannot be read. */
2019
2033
  fallback: "rgb(217 161 59)",
2034
+ /** The filled mark's side in the DOM, as a CSS length that follows the text size. */
2020
2035
  domSize: "max(0.3em, 4px)",
2036
+ /** The hollow form's size in the DOM, drawn for a figure of something other than what its label names. */
2021
2037
  hollowDomSize: "max(calc(0.3em + 2px), 6px)",
2038
+ /** The mark's radius on a canvas, in canvas pixels at 1x. */
2022
2039
  canvasRadius: 4
2023
2040
  },
2041
+ /** A figure a model carried to now: a triangle, point up, in the modelled hue. */
2024
2042
  modelled: {
2043
+ /** The mark's shape, by name. */
2025
2044
  shape: "triangle",
2045
+ /** The same shape as one text character, where the mark is drawn as text. */
2026
2046
  glyph: "\u25B2",
2047
+ /** The hue, as a CSS `var()` of the theme token. */
2027
2048
  color: "var(--color-modelled-mark)",
2049
+ /** The theme token's name, for a canvas painter that resolves it itself. */
2028
2050
  cssVar: "--color-modelled-mark",
2051
+ /** The hue to use where the token cannot be read. */
2029
2052
  fallback: "rgb(138 180 248)",
2053
+ /** The filled mark's side in the DOM, as a CSS length that follows the text size. */
2030
2054
  domSize: "max(calc(0.3em + 1px), 5px)",
2055
+ /** The hollow form's size in the DOM, drawn for a figure of something other than what its label names. */
2031
2056
  hollowDomSize: "max(calc(0.3em + 3px), 7px)",
2057
+ /** The mark's radius on a canvas, in canvas pixels at 1x. */
2032
2058
  canvasRadius: 5
2033
2059
  }
2034
2060
  };
@@ -8608,4 +8634,4 @@ lucide-react/dist/esm/lucide-react.mjs:
8608
8634
  * See the LICENSE file in the root directory of this source tree.
8609
8635
  *)
8610
8636
  */
8611
- //# sourceMappingURL=chunk-UBNGQZWK.js.map
8637
+ //# sourceMappingURL=chunk-WYZ73RSA.js.map