@rarui/components 0.0.0-rc.1 → 0.0.0-rc.2

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.
@@ -17,13 +17,12 @@ const RaruiText = class {
17
17
  var _a;
18
18
  const As = this.as;
19
19
  const { className, style, otherProps } = styles.text.sprinkle(Object.assign(Object.assign({}, this.props), { fontWeight: (_a = this.props.fontWeight) !== null && _a !== void 0 ? _a : "$regular" }));
20
- console.log(this.lineClamp);
21
- return (index.h(As, Object.assign({ key: '34e9cea5a107284c1bc058ff09cb58af1f74d9ea', class: [
20
+ return (index.h(As, Object.assign({ key: '8d9b6cbce80035dd77fbd84d88d5c76ad96e836a', class: [
22
21
  className,
23
22
  styles.text.classnames.text({
24
23
  lineClamp: !!(this === null || this === void 0 ? void 0 : this.lineClamp),
25
24
  }),
26
- ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineClamp }) }, otherProps), index.h("slot", { key: '0df2fca0bc8559a37e8f8d83564de4a814152e7c' })));
25
+ ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineClamp }) }, otherProps), index.h("slot", { key: '7ce98f406ced419b3f7de9cd0a67b6d3257cffc5' })));
27
26
  }
28
27
  get el() { return index.getElement(this); }
29
28
  };
@@ -1 +1 @@
1
- {"file":"rarui-text.entry.cjs.js","mappings":";;;;;;;;MAMa,SAAS;;;QACZ,UAAK,GAA2B,EAAE,CAAC;;kBAIhB,GAAG;;IAE9B,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAGA,WAAI,CAAC,QAAQ,iCACjD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,UAAU,IAC/C,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAE5B,QACEC,QAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACTD,WAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,CAAC,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAA;iBAC7B,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEdC,oEAAa,CACV,EACL;KACH;;;AAvBDC;IADCC,2BAAoB;uCAwBpB;;;;","names":["text","h","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Text/src/Text.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n console.log(this.lineClamp);\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
1
+ {"file":"rarui-text.entry.cjs.js","mappings":";;;;;;;;MAMa,SAAS;;;QACZ,UAAK,GAA2B,EAAE,CAAC;;kBAIhB,GAAG;;IAE9B,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAGA,WAAI,CAAC,QAAQ,iCACjD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,UAAU,IAC/C,CAAC;QAEH,QACEC,QAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACTD,WAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,CAAC,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAA;iBAC7B,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEdC,oEAAa,CACV,EACL;KACH;;;AArBDC;IADCC,2BAAoB;uCAsBpB;;;;","names":["text","h","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Text/src/Text.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
@@ -17,13 +17,12 @@ const RaruiTitle = class {
17
17
  var _a, _b;
18
18
  const As = this.as;
19
19
  const { className, style, otherProps } = styles.title.sprinkle(Object.assign(Object.assign({}, this.props), { fontWeight: (_a = this.props.fontWeight) !== null && _a !== void 0 ? _a : "$bold", textAlign: (_b = this.props.textAlign) !== null && _b !== void 0 ? _b : "left" }));
20
- console.log(className);
21
- return (index.h(As, Object.assign({ key: 'b41b716f1df490d2f5de52a9eb04670db5f1ccde', class: [
20
+ return (index.h(As, Object.assign({ key: 'a0e4aaf3e57b8e4ef74c39d4e144b620292c0e1d', class: [
22
21
  className,
23
22
  styles.title.classnames.title({
24
23
  as: this.as,
25
24
  }),
26
- ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineclamp }) }, otherProps), index.h("slot", { key: '605af3aba57bdbc0bf228c076da3a6c86e6272aa' })));
25
+ ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineclamp }) }, otherProps), index.h("slot", { key: 'ad8dcad2d8c4aa96a4dc3a73a78c21cac3cc0449' })));
27
26
  }
28
27
  get el() { return index.getElement(this); }
29
28
  };
@@ -1 +1 @@
1
- {"file":"rarui-title.entry.cjs.js","mappings":";;;;;;;;MAMa,UAAU;;;QACb,UAAK,GAA2B,EAAE,CAAC;;kBAIW,IAAI;;IAE1D,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAGA,YAAK,CAAC,QAAQ,iCAClD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,OAAO,EAC5C,SAAS,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,mCAAI,MAAM,IACzC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEvB,QACEC,QAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACTD,YAAK,CAAC,UAAU,CAAC,KAAK,CAAC;oBACrB,EAAE,EAAE,IAAI,CAAC,EAAE;iBACZ,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEdC,oEAAa,CACV,EACL;KACH;;;AAxBDC;IADCC,2BAAoB;wCAyBpB;;;;","names":["title","h","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Title/src/Title.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n console.log(className);\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
1
+ {"file":"rarui-title.entry.cjs.js","mappings":";;;;;;;;MAMa,UAAU;;;QACb,UAAK,GAA2B,EAAE,CAAC;;kBAIW,IAAI;;IAE1D,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAGA,YAAK,CAAC,QAAQ,iCAClD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,OAAO,EAC5C,SAAS,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,mCAAI,MAAM,IACzC,CAAC;QAEH,QACEC,QAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACTD,YAAK,CAAC,UAAU,CAAC,KAAK,CAAC;oBACrB,EAAE,EAAE,IAAI,CAAC,EAAE;iBACZ,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEdC,oEAAa,CACV,EACL;KACH;;;AAtBDC;IADCC,2BAAoB;wCAuBpB;;;;","names":["title","h","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Title/src/Title.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
@@ -11,13 +11,12 @@ export class RaruiText {
11
11
  var _a;
12
12
  const As = this.as;
13
13
  const { className, style, otherProps } = text.sprinkle(Object.assign(Object.assign({}, this.props), { fontWeight: (_a = this.props.fontWeight) !== null && _a !== void 0 ? _a : "$regular" }));
14
- console.log(this.lineClamp);
15
- return (h(As, Object.assign({ key: '34e9cea5a107284c1bc058ff09cb58af1f74d9ea', class: [
14
+ return (h(As, Object.assign({ key: '8d9b6cbce80035dd77fbd84d88d5c76ad96e836a', class: [
16
15
  className,
17
16
  text.classnames.text({
18
17
  lineClamp: !!(this === null || this === void 0 ? void 0 : this.lineClamp),
19
18
  }),
20
- ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineClamp }) }, otherProps), h("slot", { key: '0df2fca0bc8559a37e8f8d83564de4a814152e7c' })));
19
+ ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineClamp }) }, otherProps), h("slot", { key: '7ce98f406ced419b3f7de9cd0a67b6d3257cffc5' })));
21
20
  }
22
21
  static get is() { return "rarui-text"; }
23
22
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../../../../../src/exhibition/Text/src/Text.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAK3D,MAAM,OAAO,SAAS;;QACZ,UAAK,GAA2B,EAAE,CAAC;;kBAIhB,GAAG;;IAE9B,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,QAAQ,iCACjD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,UAAU,IAC/C,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAE5B,OAAO,CACL,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,CAAC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAA;iBAC7B,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU;YAEd,8DAAa,CACV,CACN,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAxBC;IADC,oBAAoB;uCAwBpB","sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n console.log(this.lineClamp);\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../../../../../src/exhibition/Text/src/Text.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAK3D,MAAM,OAAO,SAAS;;QACZ,UAAK,GAA2B,EAAE,CAAC;;kBAIhB,GAAG;;IAE9B,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,QAAQ,iCACjD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,UAAU,IAC/C,CAAC;QAEH,OAAO,CACL,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,CAAC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAA;iBAC7B,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU;YAEd,8DAAa,CACV,CACN,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAtBC;IADC,oBAAoB;uCAsBpB","sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"]}
@@ -11,13 +11,12 @@ export class RaruiTitle {
11
11
  var _a, _b;
12
12
  const As = this.as;
13
13
  const { className, style, otherProps } = title.sprinkle(Object.assign(Object.assign({}, this.props), { fontWeight: (_a = this.props.fontWeight) !== null && _a !== void 0 ? _a : "$bold", textAlign: (_b = this.props.textAlign) !== null && _b !== void 0 ? _b : "left" }));
14
- console.log(className);
15
- return (h(As, Object.assign({ key: 'b41b716f1df490d2f5de52a9eb04670db5f1ccde', class: [
14
+ return (h(As, Object.assign({ key: 'a0e4aaf3e57b8e4ef74c39d4e144b620292c0e1d', class: [
16
15
  className,
17
16
  title.classnames.title({
18
17
  as: this.as,
19
18
  }),
20
- ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineclamp }) }, otherProps), h("slot", { key: '605af3aba57bdbc0bf228c076da3a6c86e6272aa' })));
19
+ ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineclamp }) }, otherProps), h("slot", { key: 'ad8dcad2d8c4aa96a4dc3a73a78c21cac3cc0449' })));
21
20
  }
22
21
  static get is() { return "rarui-title"; }
23
22
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../../../../src/exhibition/Title/src/Title.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAK5D,MAAM,OAAO,UAAU;;QACb,UAAK,GAA2B,EAAE,CAAC;;kBAIW,IAAI;;IAE1D,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,QAAQ,iCAClD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,OAAO,EAC5C,SAAS,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,mCAAI,MAAM,IACzC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEvB,OAAO,CACL,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;oBACrB,EAAE,EAAE,IAAI,CAAC,EAAE;iBACZ,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU;YAEd,8DAAa,CACV,CACN,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAzBC;IADC,oBAAoB;wCAyBpB","sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n console.log(className);\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../../../../src/exhibition/Title/src/Title.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAK5D,MAAM,OAAO,UAAU;;QACb,UAAK,GAA2B,EAAE,CAAC;;kBAIW,IAAI;;IAE1D,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,QAAQ,iCAClD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,OAAO,EAC5C,SAAS,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,mCAAI,MAAM,IACzC,CAAC;QAEH,OAAO,CACL,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;oBACrB,EAAE,EAAE,IAAI,CAAC,EAAE;iBACZ,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU;YAEd,8DAAa,CACV,CACN,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAvBC;IADC,oBAAoB;wCAuBpB","sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"]}
@@ -13,13 +13,12 @@ const RaruiText = class {
13
13
  var _a;
14
14
  const As = this.as;
15
15
  const { className, style, otherProps } = text.sprinkle(Object.assign(Object.assign({}, this.props), { fontWeight: (_a = this.props.fontWeight) !== null && _a !== void 0 ? _a : "$regular" }));
16
- console.log(this.lineClamp);
17
- return (h(As, Object.assign({ key: '34e9cea5a107284c1bc058ff09cb58af1f74d9ea', class: [
16
+ return (h(As, Object.assign({ key: '8d9b6cbce80035dd77fbd84d88d5c76ad96e836a', class: [
18
17
  className,
19
18
  text.classnames.text({
20
19
  lineClamp: !!(this === null || this === void 0 ? void 0 : this.lineClamp),
21
20
  }),
22
- ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineClamp }) }, otherProps), h("slot", { key: '0df2fca0bc8559a37e8f8d83564de4a814152e7c' })));
21
+ ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineClamp }) }, otherProps), h("slot", { key: '7ce98f406ced419b3f7de9cd0a67b6d3257cffc5' })));
23
22
  }
24
23
  get el() { return getElement(this); }
25
24
  };
@@ -1 +1 @@
1
- {"file":"rarui-text.entry.js","mappings":";;;;MAMa,SAAS;;;QACZ,UAAK,GAA2B,EAAE,CAAC;;kBAIhB,GAAG;;IAE9B,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,QAAQ,iCACjD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,UAAU,IAC/C,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAE5B,QACE,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,CAAC,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAA;iBAC7B,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEd,8DAAa,CACV,EACL;KACH;;;AAvBD;IADC,oBAAoB;uCAwBpB;;;;","names":[],"sources":["src/exhibition/Text/src/Text.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n console.log(this.lineClamp);\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
1
+ {"file":"rarui-text.entry.js","mappings":";;;;MAMa,SAAS;;;QACZ,UAAK,GAA2B,EAAE,CAAC;;kBAIhB,GAAG;;IAE9B,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,QAAQ,iCACjD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,UAAU,IAC/C,CAAC;QAEH,QACE,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,CAAC,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAA;iBAC7B,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEd,8DAAa,CACV,EACL;KACH;;;AArBD;IADC,oBAAoB;uCAsBpB;;;;","names":[],"sources":["src/exhibition/Text/src/Text.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
@@ -13,13 +13,12 @@ const RaruiTitle = class {
13
13
  var _a, _b;
14
14
  const As = this.as;
15
15
  const { className, style, otherProps } = title.sprinkle(Object.assign(Object.assign({}, this.props), { fontWeight: (_a = this.props.fontWeight) !== null && _a !== void 0 ? _a : "$bold", textAlign: (_b = this.props.textAlign) !== null && _b !== void 0 ? _b : "left" }));
16
- console.log(className);
17
- return (h(As, Object.assign({ key: 'b41b716f1df490d2f5de52a9eb04670db5f1ccde', class: [
16
+ return (h(As, Object.assign({ key: 'a0e4aaf3e57b8e4ef74c39d4e144b620292c0e1d', class: [
18
17
  className,
19
18
  title.classnames.title({
20
19
  as: this.as,
21
20
  }),
22
- ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineclamp }) }, otherProps), h("slot", { key: '605af3aba57bdbc0bf228c076da3a6c86e6272aa' })));
21
+ ].join(" "), style: Object.assign(Object.assign({}, style), { WebkitLineClamp: this === null || this === void 0 ? void 0 : this.lineclamp }) }, otherProps), h("slot", { key: 'ad8dcad2d8c4aa96a4dc3a73a78c21cac3cc0449' })));
23
22
  }
24
23
  get el() { return getElement(this); }
25
24
  };
@@ -1 +1 @@
1
- {"file":"rarui-title.entry.js","mappings":";;;;MAMa,UAAU;;;QACb,UAAK,GAA2B,EAAE,CAAC;;kBAIW,IAAI;;IAE1D,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,QAAQ,iCAClD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,OAAO,EAC5C,SAAS,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,mCAAI,MAAM,IACzC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEvB,QACE,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;oBACrB,EAAE,EAAE,IAAI,CAAC,EAAE;iBACZ,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEd,8DAAa,CACV,EACL;KACH;;;AAxBD;IADC,oBAAoB;wCAyBpB;;;;","names":[],"sources":["src/exhibition/Title/src/Title.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n console.log(className);\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
1
+ {"file":"rarui-title.entry.js","mappings":";;;;MAMa,UAAU;;;QACb,UAAK,GAA2B,EAAE,CAAC;;kBAIW,IAAI;;IAE1D,MAAM;;QACJ,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,QAAQ,iCAClD,IAAI,CAAC,KAAK,KACb,UAAU,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,OAAO,EAC5C,SAAS,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,mCAAI,MAAM,IACzC,CAAC;QAEH,QACE,EAAC,EAAE,mEACD,KAAK,EAAE;gBACL,SAAS;gBACT,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;oBACrB,EAAE,EAAE,IAAI,CAAC,EAAE;iBACZ,CAAC;aACH,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,KAAK,kCAAO,KAAK,KAAE,eAAe,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAC/C,UAAU,GAEd,8DAAa,CACV,EACL;KACH;;;AAtBD;IADC,oBAAoB;wCAuBpB;;;;","names":[],"sources":["src/exhibition/Title/src/Title.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as s,g as e}from"./p-9492df61.js";import{_ as i}from"./p-8495565d.js";import{CaptureCssProperties as r,title as a}from"@rarui/styles";const c=class{constructor(s){t(this,s);this.props={};this.lineclamp=undefined;this.as="h1"}render(){var t,e;const i=this.as;const{className:r,style:c,otherProps:l}=a.sprinkle(Object.assign(Object.assign({},this.props),{fontWeight:(t=this.props.fontWeight)!==null&&t!==void 0?t:"$bold",textAlign:(e=this.props.textAlign)!==null&&e!==void 0?e:"left"}));return s(i,Object.assign({key:"a0e4aaf3e57b8e4ef74c39d4e144b620292c0e1d",class:[r,a.classnames.title({as:this.as})].join(" "),style:Object.assign(Object.assign({},c),{WebkitLineClamp:this===null||this===void 0?void 0:this.lineclamp})},l),s("slot",{key:"ad8dcad2d8c4aa96a4dc3a73a78c21cac3cc0449"}))}get el(){return e(this)}};i([r],c.prototype,"render",null);export{c as rarui_title};
2
+ //# sourceMappingURL=p-1143c26a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RaruiTitle","this","props","render","As","as","className","style","otherProps","title","sprinkle","Object","assign","fontWeight","_a","textAlign","_b","h","key","class","classnames","join","WebkitLineClamp","lineclamp","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Title/src/Title.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"mappings":"4JAMaA,EAAU,M,yBACbC,KAAAC,MAAgC,G,iCAIc,I,CAEtD,MAAAC,G,QACE,MAAMC,EAAKH,KAAKI,GAChB,MAAMC,UAAEA,EAASC,MAAEA,EAAKC,WAAEA,GAAeC,EAAMC,SAAQC,OAAAC,OAAAD,OAAAC,OAAA,GAClDX,KAAKC,OAAK,CACbW,YAAYC,EAAAb,KAAKC,MAAMW,cAAU,MAAAC,SAAA,EAAAA,EAAI,QACrCC,WAAWC,EAAAf,KAAKC,MAAMa,aAAS,MAAAC,SAAA,EAAAA,EAAI,UAGrC,OACEC,EAACb,EAAEO,OAAAC,OAAA,CAAAM,IAAA,2CACDC,MAAO,CACLb,EACAG,EAAMW,WAAWX,MAAM,CACrBJ,GAAIJ,KAAKI,MAEXgB,KAAK,KACPd,MAAKI,OAAAC,OAAAD,OAAAC,OAAA,GAAOL,GAAK,CAAEe,gBAAiBrB,OAAI,MAAJA,YAAI,SAAJA,KAAMsB,aACtCf,GAEJS,EAAA,QAAAC,IAAA,6C,2BAnBNM,EAAA,CADCC,G","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as s,g as e}from"./p-9492df61.js";import{_ as i}from"./p-8495565d.js";import{text as r,CaptureCssProperties as d}from"@rarui/styles";const c=class{constructor(s){t(this,s);this.props={};this.lineClamp=undefined;this.as="p"}render(){var t;const e=this.as;const{className:i,style:d,otherProps:c}=r.sprinkle(Object.assign(Object.assign({},this.props),{fontWeight:(t=this.props.fontWeight)!==null&&t!==void 0?t:"$regular"}));return s(e,Object.assign({key:"8d9b6cbce80035dd77fbd84d88d5c76ad96e836a",class:[i,r.classnames.text({lineClamp:!!(this===null||this===void 0?void 0:this.lineClamp)})].join(" "),style:Object.assign(Object.assign({},d),{WebkitLineClamp:this===null||this===void 0?void 0:this.lineClamp})},c),s("slot",{key:"7ce98f406ced419b3f7de9cd0a67b6d3257cffc5"}))}get el(){return e(this)}};i([d],c.prototype,"render",null);export{c as rarui_text};
2
+ //# sourceMappingURL=p-981fe085.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RaruiText","this","props","render","As","as","className","style","otherProps","text","sprinkle","Object","assign","fontWeight","_a","h","key","class","classnames","lineClamp","join","WebkitLineClamp","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Text/src/Text.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"mappings":"2JAMaA,EAAS,M,yBACZC,KAAAC,MAAgC,G,iCAIb,G,CAE3B,MAAAC,G,MACE,MAAMC,EAAKH,KAAKI,GAChB,MAAMC,UAAEA,EAASC,MAAEA,EAAKC,WAAEA,GAAeC,EAAKC,SAAQC,OAAAC,OAAAD,OAAAC,OAAA,GACjDX,KAAKC,OAAK,CACbW,YAAYC,EAAAb,KAAKC,MAAMW,cAAU,MAAAC,SAAA,EAAAA,EAAI,cAGvC,OACEC,EAACX,EAAEO,OAAAC,OAAA,CAAAI,IAAA,2CACDC,MAAO,CACLX,EACAG,EAAKS,WAAWT,KAAK,CACnBU,aAAalB,OAAI,MAAJA,YAAI,SAAJA,KAAMkB,cAErBC,KAAK,KACPb,MAAKI,OAAAC,OAAAD,OAAAC,OAAA,GAAOL,GAAK,CAAEc,gBAAiBpB,OAAI,MAAJA,YAAI,SAAJA,KAAMkB,aACtCX,GAEJO,EAAA,QAAAC,IAAA,6C,2BAlBNM,EAAA,CADCC,G","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{p as a,b as e}from"./p-9492df61.js";export{s as setNonce}from"./p-9492df61.js";import{g as r}from"./p-e1255160.js";var t=()=>{const e=import.meta.url;const r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return a(r)};t().then((async a=>{await r();return e([["p-4235f9e9",[[6,"rarui-tabs-item",{label:[1]}]]],["p-ffb1013c",[[6,"rarui-button",{appearance:[1],variant:[1],size:[1],full:[4],disabled:[4],type:[1],href:[1],target:[1],as:[1]}]]],["p-2160244e",[[2,"rarui-tabs",{position:[1],underlined:[4],full:[4],defaultTab:[2,"default-tab"],selected:[32]}]]],["p-ee513f26",[[4,"rarui-text",{lineClamp:[1,"line-clamp"],as:[1]}]]],["p-d48974f3",[[4,"rarui-title",{lineclamp:[1],as:[1]}]]],["p-4e227328",[[4,"rarui-box",{as:[1]}]]]],a)}));
1
+ import{p as a,b as e}from"./p-9492df61.js";export{s as setNonce}from"./p-9492df61.js";import{g as r}from"./p-e1255160.js";var t=()=>{const e=import.meta.url;const r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return a(r)};t().then((async a=>{await r();return e([["p-4235f9e9",[[6,"rarui-tabs-item",{label:[1]}]]],["p-ffb1013c",[[6,"rarui-button",{appearance:[1],variant:[1],size:[1],full:[4],disabled:[4],type:[1],href:[1],target:[1],as:[1]}]]],["p-2160244e",[[2,"rarui-tabs",{position:[1],underlined:[4],full:[4],defaultTab:[2,"default-tab"],selected:[32]}]]],["p-981fe085",[[4,"rarui-text",{lineClamp:[1,"line-clamp"],as:[1]}]]],["p-1143c26a",[[4,"rarui-title",{lineclamp:[1],as:[1]}]]],["p-4e227328",[[4,"rarui-box",{as:[1]}]]]],a)}));
2
2
  //# sourceMappingURL=rarui-components.esm.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rarui/components",
3
- "version": "0.0.0-rc.1",
3
+ "version": "0.0.0-rc.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,g as e}from"./p-9492df61.js";import{_ as i}from"./p-8495565d.js";import{CaptureCssProperties as r,title as o}from"@rarui/styles";const l=class{constructor(s){t(this,s);this.props={};this.lineclamp=undefined;this.as="h1"}render(){var t,e;const i=this.as;const{className:r,style:l,otherProps:a}=o.sprinkle(Object.assign(Object.assign({},this.props),{fontWeight:(t=this.props.fontWeight)!==null&&t!==void 0?t:"$bold",textAlign:(e=this.props.textAlign)!==null&&e!==void 0?e:"left"}));console.log(r);return s(i,Object.assign({key:"b41b716f1df490d2f5de52a9eb04670db5f1ccde",class:[r,o.classnames.title({as:this.as})].join(" "),style:Object.assign(Object.assign({},l),{WebkitLineClamp:this===null||this===void 0?void 0:this.lineclamp})},a),s("slot",{key:"605af3aba57bdbc0bf228c076da3a6c86e6272aa"}))}get el(){return e(this)}};i([r],l.prototype,"render",null);export{l as rarui_title};
2
- //# sourceMappingURL=p-d48974f3.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["RaruiTitle","this","props","render","As","as","className","style","otherProps","title","sprinkle","Object","assign","fontWeight","_a","textAlign","_b","console","log","h","key","class","classnames","join","WebkitLineClamp","lineclamp","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Title/src/Title.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { title, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-title\",\n})\nexport class RaruiTitle {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineclamp: string;\n @Prop() as: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" = \"h1\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = title.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$bold\",\n textAlign: this.props.textAlign ?? \"left\",\n });\n\n console.log(className);\n\n return (\n <As\n class={[\n className,\n title.classnames.title({\n as: this.as,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineclamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"mappings":"4JAMaA,EAAU,M,yBACbC,KAAAC,MAAgC,G,iCAIc,I,CAEtD,MAAAC,G,QACE,MAAMC,EAAKH,KAAKI,GAChB,MAAMC,UAAEA,EAASC,MAAEA,EAAKC,WAAEA,GAAeC,EAAMC,SAAQC,OAAAC,OAAAD,OAAAC,OAAA,GAClDX,KAAKC,OAAK,CACbW,YAAYC,EAAAb,KAAKC,MAAMW,cAAU,MAAAC,SAAA,EAAAA,EAAI,QACrCC,WAAWC,EAAAf,KAAKC,MAAMa,aAAS,MAAAC,SAAA,EAAAA,EAAI,UAGrCC,QAAQC,IAAIZ,GAEZ,OACEa,EAACf,EAAEO,OAAAC,OAAA,CAAAQ,IAAA,2CACDC,MAAO,CACLf,EACAG,EAAMa,WAAWb,MAAM,CACrBJ,GAAIJ,KAAKI,MAEXkB,KAAK,KACPhB,MAAKI,OAAAC,OAAAD,OAAAC,OAAA,GAAOL,GAAK,CAAEiB,gBAAiBvB,OAAI,MAAJA,YAAI,SAAJA,KAAMwB,aACtCjB,GAEJW,EAAA,QAAAC,IAAA,6C,2BArBNM,EAAA,CADCC,G","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,g as e}from"./p-9492df61.js";import{_ as i}from"./p-8495565d.js";import{text as r,CaptureCssProperties as o}from"@rarui/styles";const a=class{constructor(s){t(this,s);this.props={};this.lineClamp=undefined;this.as="p"}render(){var t;const e=this.as;const{className:i,style:o,otherProps:a}=r.sprinkle(Object.assign(Object.assign({},this.props),{fontWeight:(t=this.props.fontWeight)!==null&&t!==void 0?t:"$regular"}));console.log(this.lineClamp);return s(e,Object.assign({key:"34e9cea5a107284c1bc058ff09cb58af1f74d9ea",class:[i,r.classnames.text({lineClamp:!!(this===null||this===void 0?void 0:this.lineClamp)})].join(" "),style:Object.assign(Object.assign({},o),{WebkitLineClamp:this===null||this===void 0?void 0:this.lineClamp})},a),s("slot",{key:"0df2fca0bc8559a37e8f8d83564de4a814152e7c"}))}get el(){return e(this)}};i([o],a.prototype,"render",null);export{a as rarui_text};
2
- //# sourceMappingURL=p-ee513f26.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["RaruiText","this","props","render","As","as","className","style","otherProps","text","sprinkle","Object","assign","fontWeight","_a","console","log","lineClamp","h","key","class","classnames","join","WebkitLineClamp","__decorate","CaptureCssProperties"],"sources":["src/exhibition/Text/src/Text.tsx"],"sourcesContent":["import { Component, Prop, Element, h } from \"@stencil/core\";\nimport { text, CaptureCssProperties } from \"@rarui/styles\";\n\n@Component({\n tag: \"rarui-text\",\n})\nexport class RaruiText {\n private props: { [key: string]: any } = {};\n\n @Element() el: HTMLUListElement;\n @Prop() lineClamp: string;\n @Prop() as: \"p\" | \"span\" = \"p\";\n @CaptureCssProperties\n render() {\n const As = this.as;\n const { className, style, otherProps } = text.sprinkle({\n ...this.props,\n fontWeight: this.props.fontWeight ?? \"$regular\",\n });\n\n console.log(this.lineClamp);\n\n return (\n <As\n class={[\n className,\n text.classnames.text({\n lineClamp: !!this?.lineClamp,\n }),\n ].join(\" \")}\n style={{ ...style, WebkitLineClamp: this?.lineClamp }}\n {...otherProps}\n >\n <slot></slot>\n </As>\n );\n }\n}\n"],"mappings":"2JAMaA,EAAS,M,yBACZC,KAAAC,MAAgC,G,iCAIb,G,CAE3B,MAAAC,G,MACE,MAAMC,EAAKH,KAAKI,GAChB,MAAMC,UAAEA,EAASC,MAAEA,EAAKC,WAAEA,GAAeC,EAAKC,SAAQC,OAAAC,OAAAD,OAAAC,OAAA,GACjDX,KAAKC,OAAK,CACbW,YAAYC,EAAAb,KAAKC,MAAMW,cAAU,MAAAC,SAAA,EAAAA,EAAI,cAGvCC,QAAQC,IAAIf,KAAKgB,WAEjB,OACEC,EAACd,EAAEO,OAAAC,OAAA,CAAAO,IAAA,2CACDC,MAAO,CACLd,EACAG,EAAKY,WAAWZ,KAAK,CACnBQ,aAAahB,OAAI,MAAJA,YAAI,SAAJA,KAAMgB,cAErBK,KAAK,KACPf,MAAKI,OAAAC,OAAAD,OAAAC,OAAA,GAAOL,GAAK,CAAEgB,gBAAiBtB,OAAI,MAAJA,YAAI,SAAJA,KAAMgB,aACtCT,GAEJU,EAAA,QAAAC,IAAA,6C,2BApBNK,EAAA,CADCC,G","ignoreList":[]}