@mindlogic-ai/logician-ui 4.0.0-alpha.32 → 4.0.0-alpha.33
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/styles.d.ts +21 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +9 -0
- package/dist/styles.js.map +1 -0
- package/dist/styles.mjs +3 -0
- package/dist/styles.mjs.map +1 -0
- package/package.json +6 -1
- package/src/styles.ts +20 -0
package/dist/styles.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure style objects, importable without the component barrel.
|
|
3
|
+
*
|
|
4
|
+
* The root entry (`@mindlogic-ai/logician-ui`) pulls in every component, and
|
|
5
|
+
* with them side-effect CSS imports such as `katex/dist/katex.min.css`. A
|
|
6
|
+
* bundler handles that; a plain Node loader does not, so a consumer's unit test
|
|
7
|
+
* that imports a style constant from the root fails to load the module at all
|
|
8
|
+
* (`Unknown file extension ".css"`). Importing a style object should not cost
|
|
9
|
+
* the whole design system.
|
|
10
|
+
*
|
|
11
|
+
* Everything re-exported here must stay free of runtime imports — types only —
|
|
12
|
+
* so this entry brings in nothing but the objects themselves.
|
|
13
|
+
*
|
|
14
|
+
* ```ts
|
|
15
|
+
* import { noZoomOnFocus } from '@mindlogic-ai/logician-ui/styles';
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* These names are also on the root entry, so existing imports keep working.
|
|
19
|
+
*/
|
|
20
|
+
export { noZoomOnFocus } from './theme/formControls';
|
|
21
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/styles.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/styles.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindlogic-ai/logician-ui",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.33",
|
|
4
4
|
"description": "A comprehensive React design system built on Chakra UI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
"types": "./dist/icons.d.ts",
|
|
16
16
|
"import": "./dist/icons.mjs",
|
|
17
17
|
"require": "./dist/icons.js"
|
|
18
|
+
},
|
|
19
|
+
"./styles": {
|
|
20
|
+
"types": "./dist/styles.d.ts",
|
|
21
|
+
"import": "./dist/styles.mjs",
|
|
22
|
+
"require": "./dist/styles.js"
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
25
|
"files": [
|
package/src/styles.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure style objects, importable without the component barrel.
|
|
3
|
+
*
|
|
4
|
+
* The root entry (`@mindlogic-ai/logician-ui`) pulls in every component, and
|
|
5
|
+
* with them side-effect CSS imports such as `katex/dist/katex.min.css`. A
|
|
6
|
+
* bundler handles that; a plain Node loader does not, so a consumer's unit test
|
|
7
|
+
* that imports a style constant from the root fails to load the module at all
|
|
8
|
+
* (`Unknown file extension ".css"`). Importing a style object should not cost
|
|
9
|
+
* the whole design system.
|
|
10
|
+
*
|
|
11
|
+
* Everything re-exported here must stay free of runtime imports — types only —
|
|
12
|
+
* so this entry brings in nothing but the objects themselves.
|
|
13
|
+
*
|
|
14
|
+
* ```ts
|
|
15
|
+
* import { noZoomOnFocus } from '@mindlogic-ai/logician-ui/styles';
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* These names are also on the root entry, so existing imports keep working.
|
|
19
|
+
*/
|
|
20
|
+
export { noZoomOnFocus } from './theme/formControls';
|