@loadsmart/miranda-wc 1.2.0 → 1.4.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/components/button/button.cy.d.ts +2 -0
- package/dist/components/button/button.cy.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +63 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.styles.d.ts +3 -0
- package/dist/components/button/button.styles.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/layout/box/box.constants.d.ts +3 -0
- package/dist/components/layout/box/box.constants.d.ts.map +1 -0
- package/dist/components/layout/box/box.cy.d.ts +2 -0
- package/dist/components/layout/box/box.cy.d.ts.map +1 -0
- package/dist/components/layout/box/box.d.ts +45 -0
- package/dist/components/layout/box/box.d.ts.map +1 -0
- package/dist/components/layout/box/box.styles.d.ts +2 -0
- package/dist/components/layout/box/box.styles.d.ts.map +1 -0
- package/dist/components/layout/box/box.types.d.ts +40 -0
- package/dist/components/layout/box/box.types.d.ts.map +1 -0
- package/dist/components/layout/box/index.d.ts +4 -0
- package/dist/components/layout/box/index.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +432 -76
- package/dist/index.js.map +1 -1
- package/dist/styles/activable.d.ts +8 -0
- package/dist/styles/activable.d.ts.map +1 -0
- package/dist/styles/disableable.d.ts +9 -0
- package/dist/styles/disableable.d.ts.map +1 -0
- package/dist/styles/focusable.d.ts +8 -0
- package/dist/styles/focusable.d.ts.map +1 -0
- package/dist/styles/hoverable.d.ts +8 -0
- package/dist/styles/hoverable.d.ts.map +1 -0
- package/dist/styles/index.d.ts +11 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/margin.d.ts +37 -0
- package/dist/styles/margin.d.ts.map +1 -0
- package/dist/styles/padding.d.ts +37 -0
- package/dist/styles/padding.d.ts.map +1 -0
- package/package.json +2 -1
package/dist/styles/index.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export { default as m, mr, ml, mx, mt, mb, my } from './margin';
|
|
2
|
+
export { default as p, pr, pl, px, pt, pb, py } from './padding';
|
|
1
3
|
export { default as transition } from './transition';
|
|
2
4
|
export { default as typography } from './typography';
|
|
5
|
+
export { default as disabled } from './disableable';
|
|
6
|
+
import active from './activable';
|
|
7
|
+
import focus from './focusable';
|
|
8
|
+
import hover from './hoverable';
|
|
9
|
+
export declare const on: {
|
|
10
|
+
active: typeof active;
|
|
11
|
+
focus: typeof focus;
|
|
12
|
+
hover: typeof hover;
|
|
13
|
+
};
|
|
3
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,eAAO,MAAM,EAAE;;;;CAA2B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apply right margin.
|
|
3
|
+
* @param {string | number} margin
|
|
4
|
+
*/
|
|
5
|
+
export declare function mr(margin: string | number): import("lit").CSSResult;
|
|
6
|
+
/**
|
|
7
|
+
* Apply left margin.
|
|
8
|
+
* @param {string | number} margin
|
|
9
|
+
*/
|
|
10
|
+
export declare function ml(margin: string | number): import("lit").CSSResult;
|
|
11
|
+
/**
|
|
12
|
+
* Apply right/left margins.
|
|
13
|
+
* @param {string | number} margin
|
|
14
|
+
*/
|
|
15
|
+
export declare function mx(margin: string | number): import("lit").CSSResult;
|
|
16
|
+
/**
|
|
17
|
+
* Apply top margin.
|
|
18
|
+
* @param {string | number} margin
|
|
19
|
+
*/
|
|
20
|
+
export declare function mt(margin: string | number): import("lit").CSSResult;
|
|
21
|
+
/**
|
|
22
|
+
* Apply bottom margin.
|
|
23
|
+
* @param {string | number} margin
|
|
24
|
+
*/
|
|
25
|
+
export declare function mb(margin: string | number): import("lit").CSSResult;
|
|
26
|
+
/**
|
|
27
|
+
* Apply top/bottom margins.
|
|
28
|
+
* @param {string | number} margin
|
|
29
|
+
*/
|
|
30
|
+
export declare function my(margin: string | number): import("lit").CSSResult;
|
|
31
|
+
/**
|
|
32
|
+
* Apply right/left/top/bottom margins.
|
|
33
|
+
* @param {string | number} margin
|
|
34
|
+
*/
|
|
35
|
+
declare function m(margin: string | number): import("lit").CSSResult;
|
|
36
|
+
export default m;
|
|
37
|
+
//# sourceMappingURL=margin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"margin.d.ts","sourceRoot":"","sources":["../../src/styles/margin.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,EAAE,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAI1C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAI1C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAK1C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAI1C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAI1C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAK1C;AAED;;;GAGG;AACH,iBAAS,CAAC,CAAE,MAAM,EAAE,MAAM,GAAG,MAAM,2BAKlC;AAED,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apply right padding.
|
|
3
|
+
* @param {string | number} padding
|
|
4
|
+
*/
|
|
5
|
+
export declare function pr(padding: string | number): import("lit").CSSResult;
|
|
6
|
+
/**
|
|
7
|
+
* Apply left padding.
|
|
8
|
+
* @param {string | number} padding
|
|
9
|
+
*/
|
|
10
|
+
export declare function pl(padding: string | number): import("lit").CSSResult;
|
|
11
|
+
/**
|
|
12
|
+
* Apply right/left paddings.
|
|
13
|
+
* @param {string | number} padding
|
|
14
|
+
*/
|
|
15
|
+
export declare function px(padding: string | number): import("lit").CSSResult;
|
|
16
|
+
/**
|
|
17
|
+
* Apply top padding.
|
|
18
|
+
* @param {string | number} padding
|
|
19
|
+
*/
|
|
20
|
+
export declare function pt(padding: string | number): import("lit").CSSResult;
|
|
21
|
+
/**
|
|
22
|
+
* Apply bottom padding.
|
|
23
|
+
* @param {string | number} padding
|
|
24
|
+
*/
|
|
25
|
+
export declare function pb(padding: string | number): import("lit").CSSResult;
|
|
26
|
+
/**
|
|
27
|
+
* Apply top/bottom paddings.
|
|
28
|
+
* @param {string | number} padding
|
|
29
|
+
*/
|
|
30
|
+
export declare function py(padding: string | number): import("lit").CSSResult;
|
|
31
|
+
/**
|
|
32
|
+
* Apply right/left/top/bottom paddings.
|
|
33
|
+
* @param {string | number} padding
|
|
34
|
+
*/
|
|
35
|
+
declare function p(padding: string | number): import("lit").CSSResult;
|
|
36
|
+
export default p;
|
|
37
|
+
//# sourceMappingURL=padding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../src/styles/padding.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,EAAE,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAI3C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAI3C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAK3C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAI3C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAI3C;AAED;;;GAGG;AACH,wBAAgB,EAAE,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAK3C;AAED;;;GAGG;AACH,iBAAS,CAAC,CAAE,OAAO,EAAE,MAAM,GAAG,MAAM,2BAKnC;AAED,eAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/miranda-wc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Miranda Web Components component library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"cypress": "cypress open --component --browser chrome",
|
|
15
15
|
"dev": "start-storybook -p 6006",
|
|
16
16
|
"lint:check": "eslint --ext .js,.ts src/",
|
|
17
|
+
"typecheck": "tsc",
|
|
17
18
|
"release": "semantic-release",
|
|
18
19
|
"test": "cypress run --component --browser chrome"
|
|
19
20
|
},
|