@clubmed/trident-ui 2.0.0-alpha.31 → 2.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/examples/choice-expander-demo.js +8 -2
- package/examples/choice-expander-demo.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +14 -13
- package/styles/index.css +1 -0
- package/styles/ui/button.css +8 -8
- package/styles/ui/chat-button.css +0 -6
- package/styles/ui/controls.css +2 -1
- package/styles/ui/range.css +3 -3
- package/styles/utilities.css +2 -3
- package/ui/ChatButton.js +1 -1
- package/ui/ChatButton.js.map +1 -1
- package/ui/ChoiceExpander.d.ts +8 -0
- package/ui/ChoiceExpander.js +129 -95
- package/ui/ChoiceExpander.js.map +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs as V, jsx as C } from "react/jsx-runtime";
|
|
3
3
|
import { useState as l } from "react";
|
|
4
4
|
import { ChoiceExpander as L } from "../ui/ChoiceExpander.js";
|
|
5
|
-
function
|
|
5
|
+
function d() {
|
|
6
6
|
const [M, Z] = l(null);
|
|
7
7
|
return /* @__PURE__ */ V("div", { className: "flex flex-col gap-16 h-200 w-full max-w-md", children: [
|
|
8
8
|
/* @__PURE__ */ C(
|
|
@@ -10,6 +10,8 @@ function t() {
|
|
|
10
10
|
{
|
|
11
11
|
label: "From $255",
|
|
12
12
|
showCheckIcon: M === "basic",
|
|
13
|
+
collapseLabel: "Collapse package details",
|
|
14
|
+
expandLabel: "Expand to view package details",
|
|
13
15
|
onExpandedChange: (H) => {
|
|
14
16
|
H || Z("basic");
|
|
15
17
|
},
|
|
@@ -115,6 +117,8 @@ function t() {
|
|
|
115
117
|
L,
|
|
116
118
|
{
|
|
117
119
|
label: "From $355",
|
|
120
|
+
collapseLabel: "Collapse package details",
|
|
121
|
+
expandLabel: "Expand to view package details",
|
|
118
122
|
showCheckIcon: M === "premium",
|
|
119
123
|
onExpandedChange: (H) => {
|
|
120
124
|
H || Z("premium");
|
|
@@ -221,6 +225,8 @@ function t() {
|
|
|
221
225
|
L,
|
|
222
226
|
{
|
|
223
227
|
label: "From $555",
|
|
228
|
+
collapseLabel: "Collapse package details",
|
|
229
|
+
expandLabel: "Expand to view package details",
|
|
224
230
|
showCheckIcon: M === "luxury",
|
|
225
231
|
onExpandedChange: (H) => {
|
|
226
232
|
H || Z("luxury");
|
|
@@ -326,6 +332,6 @@ function t() {
|
|
|
326
332
|
] });
|
|
327
333
|
}
|
|
328
334
|
export {
|
|
329
|
-
|
|
335
|
+
d as default
|
|
330
336
|
};
|
|
331
337
|
//# sourceMappingURL=choice-expander-demo.js.map
|