@luminescent/ui 0.2.0 → 0.2.1

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.
@@ -81,6 +81,12 @@ const LoadingIcon = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
81
81
  xmlns: "http://www.w3.org/2000/svg"
82
82
  }, 0, "XP_0");
83
83
  }, "LoadingIcon_component_iXFSRNToIus"));
84
+ const Anchor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => /* @__PURE__ */ qwik._jsxQ("span", null, {
85
+ class: "block h-32 -mt-32",
86
+ id: qwik._fnSignal((p0) => p0.id, [
87
+ props
88
+ ], "p0.id")
89
+ }, null, 3, "Oa_0"), "Anchor_component_O7y4zyaazA0"));
84
90
  const cardColorClasses = {
85
91
  pink: {
86
92
  card: {
@@ -285,12 +291,16 @@ const CardHeader = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
285
291
  return /* @__PURE__ */ qwik._jsxQ("h1", null, {
286
292
  class: "flex font-bold text-gray-100 text-2xl"
287
293
  }, [
288
- props.id && /* @__PURE__ */ qwik._jsxQ("span", null, {
289
- class: "block h-32 -mt-32",
290
- id: qwik._fnSignal((p0) => p0.id, [
291
- props
292
- ], "p0.id")
293
- }, null, 3, "OW_3"),
294
+ props.id && /* @__PURE__ */ qwik._jsxC(Anchor, {
295
+ get id() {
296
+ return props.id;
297
+ },
298
+ [qwik._IMMUTABLE]: {
299
+ id: qwik._fnSignal((p0) => p0.id, [
300
+ props
301
+ ], "p0.id")
302
+ }
303
+ }, 3, "OW_3"),
294
304
  /* @__PURE__ */ qwik._jsxQ("div", null, {
295
305
  class: "flex flex-1"
296
306
  }, /* @__PURE__ */ qwik._jsxQ("div", null, {
@@ -79,6 +79,12 @@ const LoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
79
79
  xmlns: "http://www.w3.org/2000/svg"
80
80
  }, 0, "XP_0");
81
81
  }, "LoadingIcon_component_iXFSRNToIus"));
82
+ const Anchor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => /* @__PURE__ */ _jsxQ("span", null, {
83
+ class: "block h-32 -mt-32",
84
+ id: _fnSignal((p0) => p0.id, [
85
+ props
86
+ ], "p0.id")
87
+ }, null, 3, "Oa_0"), "Anchor_component_O7y4zyaazA0"));
82
88
  const cardColorClasses = {
83
89
  pink: {
84
90
  card: {
@@ -283,12 +289,16 @@ const CardHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
283
289
  return /* @__PURE__ */ _jsxQ("h1", null, {
284
290
  class: "flex font-bold text-gray-100 text-2xl"
285
291
  }, [
286
- props.id && /* @__PURE__ */ _jsxQ("span", null, {
287
- class: "block h-32 -mt-32",
288
- id: _fnSignal((p0) => p0.id, [
289
- props
290
- ], "p0.id")
291
- }, null, 3, "OW_3"),
292
+ props.id && /* @__PURE__ */ _jsxC(Anchor, {
293
+ get id() {
294
+ return props.id;
295
+ },
296
+ [_IMMUTABLE]: {
297
+ id: _fnSignal((p0) => p0.id, [
298
+ props
299
+ ], "p0.id")
300
+ }
301
+ }, 3, "OW_3"),
292
302
  /* @__PURE__ */ _jsxQ("div", null, {
293
303
  class: "flex flex-1"
294
304
  }, /* @__PURE__ */ _jsxQ("div", null, {
@@ -0,0 +1,5 @@
1
+ interface AnchorProps {
2
+ id: string;
3
+ }
4
+ export declare const Anchor: import("@builder.io/qwik").Component<AnchorProps>;
5
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",