@narmi/design_system 4.29.0 → 4.30.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 +2 -2
- 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/index.d.ts.map +1 -1
- package/dist/types/Table/util/breakpoint.d.ts +5 -13
- package/dist/types/Table/util/breakpoint.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/tokens/js/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
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;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,qEAAqE;AACrE,MAAM,MAAM,eAAe,GAAG;IAE5B,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;CACb,CAAC;AAEF,UAAU,UAAU;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;;;;OAOG;IACH,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,IAAI,CAAC;AAG9B,eAAO,MAAM,oBAAoB,EAE5B,gBAAgB,EAAE,CAAC;AAExB;;;;GAIG;AACH,QAAA,MAAM,KAAK;0DAKR,UAAU;;kBAnEC,MAAQ,SAAQ;;;kBAAlB,MAAO,SAAS;;;;;CA2H3B,CAAC;AAQF,eAAe,KAAK,CAAC"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import type { ColMinBreakpoint } from "..";
|
|
2
|
-
declare const breakpointOrder: readonly ["s", "m", "l"];
|
|
3
|
-
type OrderedBreakpoint = (typeof breakpointOrder)[number];
|
|
1
|
+
import type { ColMinBreakpoint, ViewportBreakpoint } from "..";
|
|
4
2
|
/**
|
|
5
|
-
*
|
|
6
|
-
* "
|
|
7
|
-
*
|
|
3
|
+
* Determines if a current viewport breakpoint satisfies a minimum required breakpoint.
|
|
4
|
+
* Uses "mobile-first" logic where a larger viewport satisfies smaller breakpoint requirements.
|
|
5
|
+
* For example: `l` viewport satisfies `m` minimum requirement.
|
|
8
6
|
*/
|
|
9
|
-
export declare const isBreakpointSatisfied: (minRequired: ColMinBreakpoint, current:
|
|
10
|
-
/**
|
|
11
|
-
* Returns a breakpoint name based on current set of truthy/falsy
|
|
12
|
-
* keys returned from our matchMedia hook, useBreakpoints()
|
|
13
|
-
*/
|
|
14
|
-
export declare const findCurrentFromBreakpoints: ({ m, l, }: Record<string, boolean>) => string;
|
|
15
|
-
export {};
|
|
7
|
+
export declare const isBreakpointSatisfied: (minRequired: ColMinBreakpoint, current: ViewportBreakpoint) => boolean;
|
|
16
8
|
//# sourceMappingURL=breakpoint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/Table/util/breakpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/Table/util/breakpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAY/D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,gBACnB,gBAAgB,WACpB,kBAAkB,KAC1B,OAG6D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narmi/design_system",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.30.0",
|
|
4
4
|
"description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"react-dom": "^18.3.1",
|
|
101
101
|
"sass": "^1.45.0",
|
|
102
102
|
"sass-loader": "^12.1.0",
|
|
103
|
-
"semantic-release": "^
|
|
103
|
+
"semantic-release": "^24.2.6",
|
|
104
104
|
"storybook": "^8.6.0-alpha.0",
|
|
105
105
|
"style-dictionary": "^3.9.2",
|
|
106
106
|
"style-loader": "^0.23.1",
|