@narmi/design_system 4.30.1 → 4.32.0
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +3 -3
- package/dist/style.css.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/js/colors.js +1 -1
- package/dist/tokens/js/manifest.js +1 -1
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/dist/types/Table/Row.d.ts.map +1 -1
- package/dist/types/Table/index.d.ts +5 -4
- package/dist/types/Table/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/tokens/js/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../src/Table/Row.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../src/Table/Row.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,QAAA,MAAM,GAAG,6BAA8B,aAAa,4CAuCnD,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -5,7 +5,6 @@ export type ColMinBreakpoint = "*" | "s" | "m" | "l";
|
|
|
5
5
|
export type ViewportBreakpoint = "s" | "m" | "l";
|
|
6
6
|
/**
|
|
7
7
|
* Valid CSS value for `grid-template-columns`.
|
|
8
|
-
* TODO: can we use CSS supports validation in a type guard? This provides a documentation hint but no real enforcement
|
|
9
8
|
*/
|
|
10
9
|
export type CSSValue = string;
|
|
11
10
|
/** For each breakpoint key, a valid `grid-template-columns` value */
|
|
@@ -37,9 +36,11 @@ interface TableProps {
|
|
|
37
36
|
export declare const DEFAULT_COLS = 5;
|
|
38
37
|
export declare const defaultColVisibility: ColMinBreakpoint[];
|
|
39
38
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
39
|
+
* Layout helper for building responsive tables.
|
|
40
|
+
* This component allows you to define the visibility of each column by named breakpoint.
|
|
41
|
+
* You may also specify a custom `grid-template-columns` CSS value for each breakpoint.
|
|
42
|
+
*
|
|
43
|
+
* If a design calls for a different presentation of the data at the smallest viewports, you may use `useBreakpoints` to conditionally render a list view.
|
|
43
44
|
*/
|
|
44
45
|
declare const Table: {
|
|
45
46
|
({ children, colVisibility, colLayout, rowDensity, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,8DAA8D;AAC9D,MAAM,MAAM,gBAAgB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACrD,0EAA0E;AAC1E,MAAM,MAAM,kBAAkB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,8DAA8D;AAC9D,MAAM,MAAM,gBAAgB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACrD,0EAA0E;AAC1E,MAAM,MAAM,kBAAkB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,qEAAqE;AACrE,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,E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