@semcore/divider 17.0.0-prerelease.30 → 17.0.0-prerelease.31
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/CHANGELOG.md +5 -1
- package/lib/cjs/Divider.js +7 -6
- package/lib/cjs/Divider.js.map +1 -1
- package/lib/cjs/Divider.type.js +2 -0
- package/lib/cjs/Divider.type.js.map +1 -0
- package/lib/cjs/index.js +13 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/Divider.js +7 -6
- package/lib/es6/Divider.js.map +1 -1
- package/lib/es6/Divider.type.js +2 -0
- package/lib/es6/Divider.type.js.map +1 -0
- package/lib/es6/index.js +1 -0
- package/lib/es6/index.js.map +1 -1
- package/lib/esm/Divider.mjs +8 -8
- package/lib/types/Divider.d.ts +3 -0
- package/lib/types/Divider.type.d.ts +19 -0
- package/lib/types/index.d.ts +2 -23
- package/package.json +5 -5
- package/vite.config.ts +1 -1
- package/lib/cjs/index.d.js +0 -2
- package/lib/cjs/index.d.js.map +0 -1
- package/lib/es6/index.d.js +0 -2
- package/lib/es6/index.d.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [17.0.0] - 2026-03-
|
|
5
|
+
## [17.0.0] - 2026-03-27
|
|
6
6
|
|
|
7
7
|
### BREAK
|
|
8
8
|
|
|
9
9
|
- New major version.
|
|
10
10
|
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Rewrite component to TS.
|
|
14
|
+
|
|
11
15
|
## [16.0.11] - 2025-10-29
|
|
12
16
|
|
|
13
17
|
### Changed
|
package/lib/cjs/Divider.js
CHANGED
|
@@ -24,7 +24,7 @@ const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_star
|
|
|
24
24
|
"_orientation_vertical": "_orientation_vertical_j4ark_gg_",
|
|
25
25
|
"_theme": "__theme_j4ark_gg_"
|
|
26
26
|
});
|
|
27
|
-
class
|
|
27
|
+
class DividerRoot extends _core.Component {
|
|
28
28
|
render() {
|
|
29
29
|
var _ref = this.asProps,
|
|
30
30
|
_ref2;
|
|
@@ -43,12 +43,13 @@ class Divider extends _core.Component {
|
|
|
43
43
|
}));
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
(0, _defineProperty2.default)(
|
|
47
|
-
(0, _defineProperty2.default)(
|
|
48
|
-
(0, _defineProperty2.default)(
|
|
49
|
-
(0, _defineProperty2.default)(
|
|
46
|
+
(0, _defineProperty2.default)(DividerRoot, "displayName", 'Divider');
|
|
47
|
+
(0, _defineProperty2.default)(DividerRoot, "style", style);
|
|
48
|
+
(0, _defineProperty2.default)(DividerRoot, "enhance", [(0, _resolveColorEnhance.default)()]);
|
|
49
|
+
(0, _defineProperty2.default)(DividerRoot, "defaultProps", {
|
|
50
50
|
use: 'primary',
|
|
51
51
|
orientation: 'horizontal'
|
|
52
52
|
});
|
|
53
|
-
|
|
53
|
+
const Divider = (0, _core.createComponent)(DividerRoot);
|
|
54
|
+
var _default = exports.default = Divider;
|
|
54
55
|
//# sourceMappingURL=Divider.js.map
|
package/lib/cjs/Divider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.js","names":["_core","require","_baseComponents","_resolveColorEnhance","_interopRequireDefault","_react","style","sstyled","insert","
|
|
1
|
+
{"version":3,"file":"Divider.js","names":["_core","require","_baseComponents","_resolveColorEnhance","_interopRequireDefault","_react","style","sstyled","insert","DividerRoot","Component","render","_ref","asProps","_ref2","SDivider","Box","orientation","resolveColor","theme","styles","default","createElement","cn","assignProps","_defineProperty2","resolveColorEnhance","use","Divider","createComponent","_default","exports"],"sources":["../../src/Divider.tsx"],"sourcesContent":["import { Box } from '@semcore/base-components';\nimport { createComponent, Component, Root, sstyled } from '@semcore/core';\nimport resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';\nimport React from 'react';\n\nimport type { DividerComponent, DividerProps } from './Divider.type';\nimport style from './style/divider.shadow.css';\n\nclass DividerRoot extends Component<DividerProps, typeof DividerRoot.enhance> {\n static displayName = 'Divider';\n static style = style;\n static enhance = [resolveColorEnhance()] as const;\n static defaultProps = {\n use: 'primary',\n orientation: 'horizontal',\n };\n\n render() {\n const SDivider = Root;\n const { orientation, resolveColor, theme } = this.asProps;\n\n return sstyled(this.asProps.styles)(\n <SDivider\n render={Box}\n role='separator'\n aria-orientation={orientation}\n use:theme={resolveColor(theme)}\n />,\n );\n }\n}\n\nconst Divider = createComponent(DividerRoot) as DividerComponent;\n\nexport default Divider;\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,eAAA,GAAAD,OAAA;AAEA,IAAAE,oBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAD,sBAAA,CAAAH,OAAA;AAA0B;AAAA,MAAAK,KAAA,8BAAAN,KAAA,CAAAO,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAK1B,MAAMC,WAAW,SAASC,eAAS,CAA2C;EAS5EC,MAAMA,CAAA,EAAG;IAAA,IAAAC,IAAA,QAAAC,OAAA;MAAAC,KAAA;IACP,MAAMC,QAAQ,GAKFC,mBAAG;IAJf,MAAM;MAAEC,WAAW;MAAEC,YAAY;MAAEC;IAAM,CAAC,GAAG,IAAI,CAACN,OAAO;IAEzD,OAAAC,KAAA,GAAO,IAAAP,aAAO,EAAC,IAAI,CAACM,OAAO,CAACO,MAAM,CAAC,eACjCf,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACP,QAAQ,EAAAD,KAAA,CAAAS,EAAA;MAAA,OAAAvB,KAAA,CAAAwB,WAAA;QAAA,QAEF,WAAW;QAAA,oBACEP,WAAW;QAAA,aAClBC,YAAY,CAACC,KAAK;MAAC,GAAAP,IAAA;IAAA,EAC/B,CAAC;EAEN;AACF;AAAC,IAAAa,gBAAA,CAAAJ,OAAA,EAtBKZ,WAAW,iBACM,SAAS;AAAA,IAAAgB,gBAAA,CAAAJ,OAAA,EAD1BZ,WAAW,WAEAH,KAAK;AAAA,IAAAmB,gBAAA,CAAAJ,OAAA,EAFhBZ,WAAW,aAGE,CAAC,IAAAiB,4BAAmB,EAAC,CAAC,CAAC;AAAA,IAAAD,gBAAA,CAAAJ,OAAA,EAHpCZ,WAAW,kBAIO;EACpBkB,GAAG,EAAE,SAAS;EACdV,WAAW,EAAE;AACf,CAAC;AAiBH,MAAMW,OAAO,GAAG,IAAAC,qBAAe,EAACpB,WAAW,CAAqB;AAAC,IAAAqB,QAAA,GAAAC,OAAA,CAAAV,OAAA,GAElDO,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.type.js","names":[],"sources":["../../src/Divider.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\nexport type DividerProps = BoxProps & {\n /**\n * Type of the divider\n * @default primary\n */\n use?: 'primary' | 'secondary';\n /**\n * Theme of the divider\n */\n theme?: string | 'invert';\n /**\n * Orientation of the divider\n * @default horizontal\n */\n orientation?: 'horizontal' | 'vertical';\n};\n\nexport type DividerComponent = Intergalactic.Component<'div', DividerProps>;\n"],"mappings":"","ignoreList":[]}
|
package/lib/cjs/index.js
CHANGED
|
@@ -4,6 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
+
var _exportNames = {};
|
|
7
8
|
Object.defineProperty(exports, "default", {
|
|
8
9
|
enumerable: true,
|
|
9
10
|
get: function () {
|
|
@@ -11,4 +12,16 @@ Object.defineProperty(exports, "default", {
|
|
|
11
12
|
}
|
|
12
13
|
});
|
|
13
14
|
var _Divider = _interopRequireDefault(require("./Divider"));
|
|
15
|
+
var _Divider2 = require("./Divider.type");
|
|
16
|
+
Object.keys(_Divider2).forEach(function (key) {
|
|
17
|
+
if (key === "default" || key === "__esModule") return;
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
19
|
+
if (key in exports && exports[key] === _Divider2[key]) return;
|
|
20
|
+
Object.defineProperty(exports, key, {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return _Divider2[key];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
14
27
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_Divider","_interopRequireDefault","require"],"sources":["../../src/index.
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Divider","_interopRequireDefault","require","_Divider2","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["../../src/index.ts"],"sourcesContent":["export { default } from './Divider';\nexport * from './Divider.type';\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,SAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,SAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,SAAA,CAAAI,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/lib/es6/Divider.js
CHANGED
|
@@ -19,7 +19,7 @@ const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/
|
|
|
19
19
|
"_orientation_vertical": "_orientation_vertical_j4ark_gg_",
|
|
20
20
|
"_theme": "__theme_j4ark_gg_"
|
|
21
21
|
});
|
|
22
|
-
class
|
|
22
|
+
class DividerRoot extends Component {
|
|
23
23
|
render() {
|
|
24
24
|
var _ref = this.asProps,
|
|
25
25
|
_ref2;
|
|
@@ -38,12 +38,13 @@ class Divider extends Component {
|
|
|
38
38
|
}));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
_defineProperty(
|
|
42
|
-
_defineProperty(
|
|
43
|
-
_defineProperty(
|
|
44
|
-
_defineProperty(
|
|
41
|
+
_defineProperty(DividerRoot, "displayName", 'Divider');
|
|
42
|
+
_defineProperty(DividerRoot, "style", style);
|
|
43
|
+
_defineProperty(DividerRoot, "enhance", [resolveColorEnhance()]);
|
|
44
|
+
_defineProperty(DividerRoot, "defaultProps", {
|
|
45
45
|
use: 'primary',
|
|
46
46
|
orientation: 'horizontal'
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
const Divider = createComponent(DividerRoot);
|
|
49
|
+
export default Divider;
|
|
49
50
|
//# sourceMappingURL=Divider.js.map
|
package/lib/es6/Divider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.js","names":["Box","createComponent","Component","Root","sstyled","resolveColorEnhance","React","style","_sstyled","insert","
|
|
1
|
+
{"version":3,"file":"Divider.js","names":["Box","createComponent","Component","Root","sstyled","resolveColorEnhance","React","style","_sstyled","insert","DividerRoot","render","_ref","asProps","_ref2","SDivider","orientation","resolveColor","theme","styles","createElement","cn","_assignProps","_defineProperty","use","Divider"],"sources":["../../src/Divider.tsx"],"sourcesContent":["import { Box } from '@semcore/base-components';\nimport { createComponent, Component, Root, sstyled } from '@semcore/core';\nimport resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';\nimport React from 'react';\n\nimport type { DividerComponent, DividerProps } from './Divider.type';\nimport style from './style/divider.shadow.css';\n\nclass DividerRoot extends Component<DividerProps, typeof DividerRoot.enhance> {\n static displayName = 'Divider';\n static style = style;\n static enhance = [resolveColorEnhance()] as const;\n static defaultProps = {\n use: 'primary',\n orientation: 'horizontal',\n };\n\n render() {\n const SDivider = Root;\n const { orientation, resolveColor, theme } = this.asProps;\n\n return sstyled(this.asProps.styles)(\n <SDivider\n render={Box}\n role='separator'\n aria-orientation={orientation}\n use:theme={resolveColor(theme)}\n />,\n );\n }\n}\n\nconst Divider = createComponent(DividerRoot) as DividerComponent;\n\nexport default Divider;\n"],"mappings":";;;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,eAAe,EAAEC,SAAS,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACzE,OAAOC,mBAAmB,MAAM,sDAAsD;AACtF,OAAOC,KAAK,MAAM,OAAO;AAAC;AAAA,MAAAC,KAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAK1B,MAAMC,WAAW,SAASR,SAAS,CAA2C;EAS5ES,MAAMA,CAAA,EAAG;IAAA,IAAAC,IAAA,QAAAC,OAAA;MAAAC,KAAA;IACP,MAAMC,QAAQ,GAKFf,GAAG;IAJf,MAAM;MAAEgB,WAAW;MAAEC,YAAY;MAAEC;IAAM,CAAC,GAAG,IAAI,CAACL,OAAO;IAEzD,OAAAC,KAAA,GAAOV,OAAO,CAAC,IAAI,CAACS,OAAO,CAACM,MAAM,CAAC,eACjCb,KAAA,CAAAc,aAAA,CAACL,QAAQ,EAAAD,KAAA,CAAAO,EAAA;MAAA,GAAAC,YAAA;QAAA,QAEF,WAAW;QAAA,oBACEN,WAAW;QAAA,aAClBC,YAAY,CAACC,KAAK;MAAC,GAAAN,IAAA;IAAA,EAC/B,CAAC;EAEN;AACF;AAACW,eAAA,CAtBKb,WAAW,iBACM,SAAS;AAAAa,eAAA,CAD1Bb,WAAW,WAEAH,KAAK;AAAAgB,eAAA,CAFhBb,WAAW,aAGE,CAACL,mBAAmB,CAAC,CAAC,CAAC;AAAAkB,eAAA,CAHpCb,WAAW,kBAIO;EACpBc,GAAG,EAAE,SAAS;EACdR,WAAW,EAAE;AACf,CAAC;AAiBH,MAAMS,OAAO,GAAGxB,eAAe,CAACS,WAAW,CAAqB;AAEhE,eAAee,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.type.js","names":[],"sources":["../../src/Divider.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\nexport type DividerProps = BoxProps & {\n /**\n * Type of the divider\n * @default primary\n */\n use?: 'primary' | 'secondary';\n /**\n * Theme of the divider\n */\n theme?: string | 'invert';\n /**\n * Orientation of the divider\n * @default horizontal\n */\n orientation?: 'horizontal' | 'vertical';\n};\n\nexport type DividerComponent = Intergalactic.Component<'div', DividerProps>;\n"],"mappings":"","ignoreList":[]}
|
package/lib/es6/index.js
CHANGED
package/lib/es6/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../src/index.
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../src/index.ts"],"sourcesContent":["export { default } from './Divider';\nexport * from './Divider.type';\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,WAAW;AACnC,cAAc,gBAAgB","ignoreList":[]}
|
package/lib/esm/Divider.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import {
|
|
2
|
+
import { sstyled, createComponent, Component, assignProps } from "@semcore/core";
|
|
3
3
|
import { Box } from "@semcore/base-components";
|
|
4
4
|
import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
|
|
5
5
|
import React from "react";
|
|
@@ -24,7 +24,7 @@ const style = (
|
|
|
24
24
|
"_theme": "__theme_j4ark_gg_"
|
|
25
25
|
})
|
|
26
26
|
);
|
|
27
|
-
class
|
|
27
|
+
class DividerRoot extends Component {
|
|
28
28
|
render() {
|
|
29
29
|
var _ref = this.asProps, _ref2;
|
|
30
30
|
const SDivider = Box;
|
|
@@ -42,14 +42,14 @@ class Divider extends Component {
|
|
|
42
42
|
}));
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
_defineProperty(
|
|
46
|
-
_defineProperty(
|
|
47
|
-
_defineProperty(
|
|
48
|
-
_defineProperty(
|
|
45
|
+
_defineProperty(DividerRoot, "displayName", "Divider");
|
|
46
|
+
_defineProperty(DividerRoot, "style", style);
|
|
47
|
+
_defineProperty(DividerRoot, "enhance", [resolveColorEnhance()]);
|
|
48
|
+
_defineProperty(DividerRoot, "defaultProps", {
|
|
49
49
|
use: "primary",
|
|
50
50
|
orientation: "horizontal"
|
|
51
51
|
});
|
|
52
|
-
const
|
|
52
|
+
const Divider = createComponent(DividerRoot);
|
|
53
53
|
export {
|
|
54
|
-
|
|
54
|
+
Divider as default
|
|
55
55
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BoxProps } from '@semcore/base-components';
|
|
2
|
+
import type { Intergalactic } from '@semcore/core';
|
|
3
|
+
export type DividerProps = BoxProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Type of the divider
|
|
6
|
+
* @default primary
|
|
7
|
+
*/
|
|
8
|
+
use?: 'primary' | 'secondary';
|
|
9
|
+
/**
|
|
10
|
+
* Theme of the divider
|
|
11
|
+
*/
|
|
12
|
+
theme?: string | 'invert';
|
|
13
|
+
/**
|
|
14
|
+
* Orientation of the divider
|
|
15
|
+
* @default horizontal
|
|
16
|
+
*/
|
|
17
|
+
orientation?: 'horizontal' | 'vertical';
|
|
18
|
+
};
|
|
19
|
+
export type DividerComponent = Intergalactic.Component<'div', DividerProps>;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type DividerProps = BoxProps & {
|
|
5
|
-
/**
|
|
6
|
-
* Type of the divider
|
|
7
|
-
* @default primary
|
|
8
|
-
*/
|
|
9
|
-
use?: 'primary' | 'secondary';
|
|
10
|
-
/**
|
|
11
|
-
* Theme of the divider
|
|
12
|
-
*/
|
|
13
|
-
theme?: string | 'invert';
|
|
14
|
-
/**
|
|
15
|
-
* Orientation of the divider
|
|
16
|
-
* @default horizontal
|
|
17
|
-
*/
|
|
18
|
-
orientation?: 'horizontal' | 'vertical';
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
declare const Divider: Intergalactic.Component<'div', DividerProps>;
|
|
22
|
-
|
|
23
|
-
export default Divider;
|
|
1
|
+
export { default } from './Divider';
|
|
2
|
+
export * from './Divider.type';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/divider",
|
|
3
3
|
"description": "Semrush Divider Component",
|
|
4
|
-
"version": "17.0.0-prerelease.
|
|
4
|
+
"version": "17.0.0-prerelease.31",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"directory": "semcore/divider"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@semcore/core": "17.0.0-prerelease.
|
|
26
|
-
"@semcore/
|
|
27
|
-
"@semcore/
|
|
25
|
+
"@semcore/core": "17.0.0-prerelease.31",
|
|
26
|
+
"@semcore/base-components": "17.0.0-prerelease.31",
|
|
27
|
+
"@semcore/testing-utils": "1.0.0"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"build": "pnpm semcore-builder
|
|
30
|
+
"build": "pnpm semcore-builder && pnpm vite build"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/vite.config.ts
CHANGED
package/lib/cjs/index.d.js
DELETED
package/lib/cjs/index.d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\nexport type DividerProps = BoxProps & {\n /**\n * Type of the divider\n * @default primary\n */\n use?: 'primary' | 'secondary';\n /**\n * Theme of the divider\n */\n theme?: string | 'invert';\n /**\n * Orientation of the divider\n * @default horizontal\n */\n orientation?: 'horizontal' | 'vertical';\n};\n\ndeclare const Divider: Intergalactic.Component<'div', DividerProps>;\n\nexport default Divider;\n"],"mappings":"","ignoreList":[]}
|
package/lib/es6/index.d.js
DELETED
package/lib/es6/index.d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\nexport type DividerProps = BoxProps & {\n /**\n * Type of the divider\n * @default primary\n */\n use?: 'primary' | 'secondary';\n /**\n * Theme of the divider\n */\n theme?: string | 'invert';\n /**\n * Orientation of the divider\n * @default horizontal\n */\n orientation?: 'horizontal' | 'vertical';\n};\n\ndeclare const Divider: Intergalactic.Component<'div', DividerProps>;\n\nexport default Divider;\n"],"mappings":"","ignoreList":[]}
|