@osdk/react-components 0.3.0-main-20260408145458 → 0.3.0-main-20260408222341
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 +4 -4
- package/build/browser/base-components/skeleton/SkeletonBar.js.map +1 -1
- package/build/browser/public/primitives.js +1 -0
- package/build/browser/public/primitives.js.map +1 -1
- package/build/cjs/{chunk-MRRRZN44.cjs → chunk-5RXC6RGN.cjs} +54 -32
- package/build/cjs/chunk-5RXC6RGN.cjs.map +1 -0
- package/build/cjs/public/experimental.cjs +1231 -1252
- package/build/cjs/public/experimental.cjs.map +1 -1
- package/build/cjs/public/primitives.cjs +9 -5
- package/build/cjs/public/primitives.css +22 -0
- package/build/cjs/public/primitives.css.map +1 -1
- package/build/cjs/public/primitives.d.cts +9 -1
- package/build/esm/base-components/skeleton/SkeletonBar.js.map +1 -1
- package/build/esm/public/primitives.js +1 -0
- package/build/esm/public/primitives.js.map +1 -1
- package/build/types/base-components/skeleton/SkeletonBar.d.ts +1 -2
- package/build/types/base-components/skeleton/SkeletonBar.d.ts.map +1 -1
- package/build/types/public/primitives.d.ts +1 -0
- package/build/types/public/primitives.d.ts.map +1 -1
- package/package.json +4 -4
- package/build/cjs/chunk-MRRRZN44.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @osdk/react-components
|
|
2
2
|
|
|
3
|
-
## 0.3.0-main-
|
|
3
|
+
## 0.3.0-main-20260408222341
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
- Updated dependencies [0b349bd]
|
|
21
21
|
- Updated dependencies [51ccca8]
|
|
22
22
|
- Updated dependencies [fb85818]
|
|
23
|
-
- @osdk/client@2.9.0-main-
|
|
24
|
-
- @osdk/react@0.11.0-main-
|
|
25
|
-
- @osdk/api@2.9.0-main-
|
|
23
|
+
- @osdk/client@2.9.0-main-20260408222341
|
|
24
|
+
- @osdk/react@0.11.0-main-20260408222341
|
|
25
|
+
- @osdk/api@2.9.0-main-20260408222341
|
|
26
26
|
|
|
27
27
|
## 0.2.0
|
|
28
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkeletonBar.js","names":["classnames","React","styles","SkeletonBar","width","height","maxWidth","className","createElement","skeletonBar","style"],"sources":["SkeletonBar.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./SkeletonBar.module.css\";\n\
|
|
1
|
+
{"version":3,"file":"SkeletonBar.js","names":["classnames","React","styles","SkeletonBar","width","height","maxWidth","className","createElement","skeletonBar","style"],"sources":["SkeletonBar.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./SkeletonBar.module.css\";\n\nexport interface SkeletonBarProps {\n width?: string | number;\n height?: string | number;\n maxWidth?: string | number;\n className?: string;\n}\n\nexport function SkeletonBar({\n width,\n height,\n maxWidth,\n className,\n}: SkeletonBarProps): React.ReactElement {\n return (\n <div\n aria-hidden=\"true\"\n className={classnames(styles.skeletonBar, className)}\n style={{ width, height, maxWidth }}\n />\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,0BAA0B;AAS7C,OAAO,SAASC,WAAWA,CAAC;EAC1BC,KAAK;EACLC,MAAM;EACNC,QAAQ;EACRC;AACgB,CAAC,EAAsB;EACvC,oBACEN,KAAA,CAAAO,aAAA;IACE,eAAY,MAAM;IAClBD,SAAS,EAAEP,UAAU,CAACE,MAAM,CAACO,WAAW,EAAEF,SAAS,CAAE;IACrDG,KAAK,EAAE;MAAEN,KAAK;MAAEC,MAAM;MAAEC;IAAS;EAAE,CACpC,CAAC;AAEN","ignoreList":[]}
|
|
@@ -16,5 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
export { ActionButton } from "../base-components/action-button/ActionButton.js";
|
|
18
18
|
export { Dialog } from "../base-components/dialog/Dialog.js";
|
|
19
|
+
export { SkeletonBar } from "../base-components/skeleton/SkeletonBar.js";
|
|
19
20
|
export { Tooltip, TooltipArrow } from "../base-components/tooltip/index.js";
|
|
20
21
|
//# sourceMappingURL=primitives.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.js","names":["ActionButton","Dialog","Tooltip","TooltipArrow"],"sources":["primitives.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport {\n ActionButton,\n type ButtonProps,\n} from \"../base-components/action-button/ActionButton.js\";\nexport { Dialog, type DialogProps } from \"../base-components/dialog/Dialog.js\";\nexport {\n Tooltip,\n TooltipArrow,\n type TooltipProps,\n} from \"../base-components/tooltip/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SACEA,YAAY,QAEP,kDAAkD;AACzD,SAASC,MAAM,QAA0B,qCAAqC;AAC9E,SACEC,OAAO,EACPC,YAAY,QAEP,qCAAqC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"primitives.js","names":["ActionButton","Dialog","SkeletonBar","Tooltip","TooltipArrow"],"sources":["primitives.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport {\n ActionButton,\n type ButtonProps,\n} from \"../base-components/action-button/ActionButton.js\";\nexport { Dialog, type DialogProps } from \"../base-components/dialog/Dialog.js\";\nexport {\n SkeletonBar,\n type SkeletonBarProps,\n} from \"../base-components/skeleton/SkeletonBar.js\";\nexport {\n Tooltip,\n TooltipArrow,\n type TooltipProps,\n} from \"../base-components/tooltip/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SACEA,YAAY,QAEP,kDAAkD;AACzD,SAASC,MAAM,QAA0B,qCAAqC;AAC9E,SACEC,WAAW,QAEN,4CAA4C;AACnD,SACEC,OAAO,EACPC,YAAY,QAEP,qCAAqC","ignoreList":[]}
|
|
@@ -1,18 +1,39 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var classnames2 = require('classnames');
|
|
4
|
+
var React2 = require('react');
|
|
3
5
|
var tooltip = require('@base-ui/react/tooltip');
|
|
4
|
-
var classnames = require('classnames');
|
|
5
|
-
var React = require('react');
|
|
6
6
|
var button = require('@base-ui/react/button');
|
|
7
7
|
var dialog = require('@base-ui/react/dialog');
|
|
8
8
|
var icons = require('@blueprintjs/icons');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
var
|
|
12
|
+
var classnames2__default = /*#__PURE__*/_interopDefault(classnames2);
|
|
13
|
+
var React2__default = /*#__PURE__*/_interopDefault(React2);
|
|
14
14
|
|
|
15
|
-
// src/base-components/
|
|
15
|
+
// src/base-components/skeleton/SkeletonBar.tsx
|
|
16
|
+
|
|
17
|
+
// src/base-components/skeleton/SkeletonBar.module.css
|
|
18
|
+
var SkeletonBar_default = {};
|
|
19
|
+
|
|
20
|
+
// src/base-components/skeleton/SkeletonBar.tsx
|
|
21
|
+
function SkeletonBar({
|
|
22
|
+
width,
|
|
23
|
+
height,
|
|
24
|
+
maxWidth,
|
|
25
|
+
className
|
|
26
|
+
}) {
|
|
27
|
+
return /* @__PURE__ */ React2__default.default.createElement("div", {
|
|
28
|
+
"aria-hidden": "true",
|
|
29
|
+
className: classnames2__default.default(SkeletonBar_default.skeletonBar, className),
|
|
30
|
+
style: {
|
|
31
|
+
width,
|
|
32
|
+
height,
|
|
33
|
+
maxWidth
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
16
37
|
|
|
17
38
|
// src/base-components/tooltip/Tooltip.module.css
|
|
18
39
|
var Tooltip_default = {};
|
|
@@ -31,21 +52,21 @@ function TooltipRoot({
|
|
|
31
52
|
children,
|
|
32
53
|
...rest
|
|
33
54
|
}) {
|
|
34
|
-
return /* @__PURE__ */
|
|
55
|
+
return /* @__PURE__ */ React2__default.default.createElement(tooltip.Tooltip.Root, rest, children);
|
|
35
56
|
}
|
|
36
57
|
function TooltipProvider({
|
|
37
58
|
children,
|
|
38
59
|
...rest
|
|
39
60
|
}) {
|
|
40
|
-
return /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ React2__default.default.createElement(tooltip.Tooltip.Provider, rest, children);
|
|
41
62
|
}
|
|
42
63
|
function TooltipTrigger({
|
|
43
64
|
className,
|
|
44
65
|
children,
|
|
45
66
|
...rest
|
|
46
67
|
}) {
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
className:
|
|
68
|
+
return /* @__PURE__ */ React2__default.default.createElement(tooltip.Tooltip.Trigger, _extends({
|
|
69
|
+
className: classnames2__default.default(Tooltip_default.osdkTooltipTrigger, className)
|
|
49
70
|
}, rest), children);
|
|
50
71
|
}
|
|
51
72
|
function TooltipPositioner({
|
|
@@ -54,8 +75,8 @@ function TooltipPositioner({
|
|
|
54
75
|
sideOffset = 4,
|
|
55
76
|
...rest
|
|
56
77
|
}) {
|
|
57
|
-
return /* @__PURE__ */
|
|
58
|
-
className:
|
|
78
|
+
return /* @__PURE__ */ React2__default.default.createElement(tooltip.Tooltip.Positioner, _extends({
|
|
79
|
+
className: classnames2__default.default(Tooltip_default.osdkTooltipPositioner, className),
|
|
59
80
|
sideOffset
|
|
60
81
|
}, rest), children);
|
|
61
82
|
}
|
|
@@ -64,25 +85,25 @@ function TooltipPopup({
|
|
|
64
85
|
children,
|
|
65
86
|
...rest
|
|
66
87
|
}) {
|
|
67
|
-
return /* @__PURE__ */
|
|
68
|
-
className:
|
|
88
|
+
return /* @__PURE__ */ React2__default.default.createElement(tooltip.Tooltip.Popup, _extends({
|
|
89
|
+
className: classnames2__default.default(Tooltip_default.osdkTooltipPopup, className)
|
|
69
90
|
}, rest), children);
|
|
70
91
|
}
|
|
71
92
|
function TooltipArrow() {
|
|
72
|
-
return /* @__PURE__ */
|
|
93
|
+
return /* @__PURE__ */ React2__default.default.createElement(tooltip.Tooltip.Arrow, {
|
|
73
94
|
className: Tooltip_default.osdkTooltipArrow
|
|
74
|
-
}, /* @__PURE__ */
|
|
95
|
+
}, /* @__PURE__ */ React2__default.default.createElement(ArrowSvg, null));
|
|
75
96
|
}
|
|
76
97
|
function ArrowSvg(props) {
|
|
77
|
-
return /* @__PURE__ */
|
|
98
|
+
return /* @__PURE__ */ React2__default.default.createElement("svg", _extends({
|
|
78
99
|
width: "20",
|
|
79
100
|
height: "10",
|
|
80
101
|
viewBox: "0 0 20 10",
|
|
81
102
|
fill: "none"
|
|
82
|
-
}, props), /* @__PURE__ */
|
|
103
|
+
}, props), /* @__PURE__ */ React2__default.default.createElement("path", {
|
|
83
104
|
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
84
105
|
className: Tooltip_default.tooltipArrowFill
|
|
85
|
-
}), /* @__PURE__ */
|
|
106
|
+
}), /* @__PURE__ */ React2__default.default.createElement("path", {
|
|
86
107
|
d: "M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z",
|
|
87
108
|
className: Tooltip_default.tooltipArrowOuterStroke
|
|
88
109
|
}));
|
|
@@ -115,8 +136,8 @@ function ActionButton({
|
|
|
115
136
|
className,
|
|
116
137
|
...rest
|
|
117
138
|
}) {
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
className:
|
|
139
|
+
return /* @__PURE__ */ React2__default.default.createElement(button.Button, _extends2({
|
|
140
|
+
className: classnames2__default.default(ActionButton_default.button, variant === "primary" ? ActionButton_default.primaryButton : ActionButton_default.secondaryButton, className)
|
|
120
141
|
}, rest));
|
|
121
142
|
}
|
|
122
143
|
|
|
@@ -133,33 +154,34 @@ function Dialog({
|
|
|
133
154
|
className,
|
|
134
155
|
disablePointerDismissal
|
|
135
156
|
}) {
|
|
136
|
-
return /* @__PURE__ */
|
|
157
|
+
return /* @__PURE__ */ React2__default.default.createElement(dialog.Dialog.Root, {
|
|
137
158
|
open: isOpen,
|
|
138
159
|
onOpenChange,
|
|
139
160
|
disablePointerDismissal
|
|
140
|
-
}, /* @__PURE__ */
|
|
161
|
+
}, /* @__PURE__ */ React2__default.default.createElement(dialog.Dialog.Portal, null, /* @__PURE__ */ React2__default.default.createElement(dialog.Dialog.Backdrop, {
|
|
141
162
|
className: Dialog_default.backdrop
|
|
142
|
-
}), /* @__PURE__ */
|
|
143
|
-
className:
|
|
144
|
-
}, /* @__PURE__ */
|
|
163
|
+
}), /* @__PURE__ */ React2__default.default.createElement(dialog.Dialog.Popup, {
|
|
164
|
+
className: classnames2__default.default(Dialog_default.popup, className)
|
|
165
|
+
}, /* @__PURE__ */ React2__default.default.createElement("div", {
|
|
145
166
|
className: Dialog_default.header
|
|
146
|
-
}, /* @__PURE__ */
|
|
167
|
+
}, /* @__PURE__ */ React2__default.default.createElement(dialog.Dialog.Title, {
|
|
147
168
|
className: Dialog_default.title
|
|
148
|
-
}, title), /* @__PURE__ */
|
|
169
|
+
}, title), /* @__PURE__ */ React2__default.default.createElement(dialog.Dialog.Close, {
|
|
149
170
|
className: Dialog_default.closeButton,
|
|
150
171
|
"aria-label": "Close dialog"
|
|
151
|
-
}, /* @__PURE__ */
|
|
172
|
+
}, /* @__PURE__ */ React2__default.default.createElement(icons.Cross, {
|
|
152
173
|
className: Dialog_default.closeIcon
|
|
153
|
-
}))), /* @__PURE__ */
|
|
174
|
+
}))), /* @__PURE__ */ React2__default.default.createElement("div", {
|
|
154
175
|
className: Dialog_default.body
|
|
155
|
-
}, children), footer != null && /* @__PURE__ */
|
|
176
|
+
}, children), footer != null && /* @__PURE__ */ React2__default.default.createElement("div", {
|
|
156
177
|
className: Dialog_default.footer
|
|
157
178
|
}, footer))));
|
|
158
179
|
}
|
|
159
180
|
|
|
160
181
|
exports.ActionButton = ActionButton;
|
|
161
182
|
exports.Dialog = Dialog;
|
|
183
|
+
exports.SkeletonBar = SkeletonBar;
|
|
162
184
|
exports.Tooltip = Tooltip;
|
|
163
185
|
exports.TooltipArrow = TooltipArrow;
|
|
164
|
-
//# sourceMappingURL=chunk-
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-5RXC6RGN.cjs.map
|
|
187
|
+
//# sourceMappingURL=chunk-5RXC6RGN.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/base-components/skeleton/SkeletonBar.module.css","../../src/base-components/skeleton/SkeletonBar.tsx","../../src/base-components/tooltip/Tooltip.module.css","../../src/base-components/tooltip/Tooltip.tsx","../../src/base-components/action-button/ActionButton.module.css","../../src/base-components/action-button/ActionButton.tsx","../../src/base-components/dialog/Dialog.module.css","../../src/base-components/dialog/Dialog.tsx"],"names":["React","classnames","BaseUITooltip","_extends","Button","classNames","BaseUIDialog","Cross"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAA,mBAAA,GAAA,EAAA;;;ACmBO,SAAS,WAAY,CAAA;AAAA,EAC1B,KAAA;AAAA,EACA,MAAA;AAAA,EACA,QAAA;AAAA,EACA;AACF,CAAG,EAAA;AACD,EAAoB,uBAAAA,uBAAA,CAAM,cAAc,KAAO,EAAA;AAAA,IAC7C,aAAe,EAAA,MAAA;AAAA,IACf,SAAW,EAAAC,4BAAA,CAAW,mBAAO,CAAA,WAAA,EAAa,SAAS,CAAA;AAAA,IACnD,KAAO,E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cAAc,KAAO,EAAA;AAAA,IAC5C,WAAW,cAAO,CAAA;AAAA,GACpB,EAAG,QAAQ,CAAG,EAAA,MAAA,IAAU,wBAAqBA,uBAAAA,CAAM,cAAc,KAAO,EAAA;AAAA,IACtE,WAAW,cAAO,CAAA;AAAA,GACjB,EAAA,MAAM,CAAC,CAAC,CAAC,CAAA;AACd","file":"chunk-5RXC6RGN.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@keyframes skeleton-glow {\n from {\n background: var(--osdk-background-skeleton-from);\n }\n\n to {\n background: var(--osdk-background-skeleton-to);\n }\n}\n\n.skeletonBar {\n animation: 1000ms linear infinite alternate skeleton-glow;\n background: var(--osdk-background-skeleton-from);\n border-radius: var(--osdk-surface-border-radius);\n pointer-events: none;\n user-select: none;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .skeletonBar {\n animation: none;\n }\n}\n","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./SkeletonBar.module.css\";\nexport function SkeletonBar({\n width,\n height,\n maxWidth,\n className\n}) {\n return /*#__PURE__*/React.createElement(\"div\", {\n \"aria-hidden\": \"true\",\n className: classnames(styles.skeletonBar, className),\n style: {\n width,\n height,\n maxWidth\n }\n });\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTooltipTrigger {\n border: none;\n background: inherit;\n}\n\n.osdkTooltipPositioner {\n z-index: var(--osdk-tooltip-z-index);\n}\n\n.osdkTooltipPopup {\n padding: var(--osdk-tooltip-padding);\n background-color: var(--osdk-tooltip-bg);\n border-radius: var(--osdk-surface-border-radius);\n box-shadow: var(--osdk-tooltip-shadow);\n max-width: var(--osdk-tooltip-max-width);\n font-size: var(--osdk-tooltip-font-size);\n}\n\n/* \n * Hardcoded values are copied from base ui example \n * https://base-ui.com/react/components/tooltip \n *\n * */\n.osdkTooltipArrow {\n display: flex;\n\n &[data-side=\"top\"] {\n bottom: -8px;\n rotate: 180deg;\n }\n\n &[data-side=\"bottom\"] {\n top: -8px;\n rotate: 0deg;\n }\n\n &[data-side=\"left\"] {\n right: -13px;\n rotate: 90deg;\n }\n\n &[data-side=\"right\"] {\n left: -13px;\n rotate: -90deg;\n }\n}\n\n.tooltipArrowFill {\n fill: var(--osdk-tooltip-bg);\n}\n\n.tooltipArrowOuterStroke {\n fill: var(--osdk-tooltip-border-color);\n}\n","function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\n/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Tooltip as BaseUITooltip } from \"@base-ui/react/tooltip\";\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./Tooltip.module.css\";\nfunction TooltipRoot({\n children,\n ...rest\n}) {\n return /*#__PURE__*/React.createElement(BaseUITooltip.Root, rest, children);\n}\nfunction TooltipProvider({\n children,\n ...rest\n}) {\n return /*#__PURE__*/React.createElement(BaseUITooltip.Provider, rest, children);\n}\nfunction TooltipTrigger({\n className,\n children,\n ...rest\n}) {\n return /*#__PURE__*/React.createElement(BaseUITooltip.Trigger, _extends({\n className: classnames(styles.osdkTooltipTrigger, className)\n }, rest), children);\n}\nfunction TooltipPositioner({\n className,\n children,\n sideOffset = 4,\n ...rest\n}) {\n return /*#__PURE__*/React.createElement(BaseUITooltip.Positioner, _extends({\n className: classnames(styles.osdkTooltipPositioner, className),\n sideOffset: sideOffset\n }, rest), children);\n}\nfunction TooltipPopup({\n className,\n children,\n ...rest\n}) {\n return /*#__PURE__*/React.createElement(BaseUITooltip.Popup, _extends({\n className: classnames(styles.osdkTooltipPopup, className)\n }, rest), children);\n}\nexport function TooltipArrow() {\n return /*#__PURE__*/React.createElement(BaseUITooltip.Arrow, {\n className: styles.osdkTooltipArrow\n }, /*#__PURE__*/React.createElement(ArrowSvg, null));\n}\nfunction ArrowSvg(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"20\",\n height: \"10\",\n viewBox: \"0 0 20 10\",\n fill: \"none\"\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z\",\n className: styles.tooltipArrowFill\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z\",\n className: styles.tooltipArrowOuterStroke\n }));\n}\nexport const Tooltip = {\n Root: TooltipRoot,\n Provider: TooltipProvider,\n Trigger: TooltipTrigger,\n Portal: BaseUITooltip.Portal,\n Positioner: TooltipPositioner,\n Popup: TooltipPopup,\n Arrow: TooltipArrow\n};","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.button {\n padding: calc(var(--osdk-surface-spacing) * 2)\n calc(var(--osdk-surface-spacing) * 4);\n border-radius: var(--osdk-surface-border-radius);\n font-size: var(--osdk-typography-size-body-medium);\n cursor: pointer;\n\n &:focus-visible {\n outline: var(--osdk-focus-outline);\n outline-offset: var(--osdk-focus-visible-outline-offset);\n }\n}\n\n.secondaryButton {\n background-color: var(--osdk-button-secondary-bg);\n border: var(--osdk-surface-border);\n color: var(--osdk-button-secondary-color);\n\n &:hover:not(:disabled) {\n background-color: var(--osdk-button-secondary-bg-hover);\n }\n\n &:active:not(:disabled) {\n background-color: var(--osdk-button-secondary-bg-active);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n}\n\n.primaryButton {\n background-color: var(--osdk-button-primary-bg);\n border: none;\n color: var(--osdk-button-primary-color);\n\n &:hover:not(:disabled) {\n background-color: var(--osdk-button-primary-bg-hover);\n }\n\n &:active:not(:disabled) {\n background-color: var(--osdk-button-primary-bg-active);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n}\n","function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\n/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Button } from \"@base-ui/react/button\";\nimport classNames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./ActionButton.module.css\";\nexport function ActionButton({\n variant = \"secondary\",\n className,\n ...rest\n}) {\n return /*#__PURE__*/React.createElement(Button, _extends({\n className: classNames(styles.button, variant === \"primary\" ? styles.primaryButton : styles.secondaryButton, className)\n }, rest));\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.backdrop {\n position: fixed;\n inset: 0;\n background-color: var(--osdk-dialog-backdrop-bg);\n z-index: var(--osdk-surface-z-index-1);\n}\n\n.popup {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n min-width: var(--osdk-dialog-min-width);\n max-width: var(--osdk-dialog-max-width);\n min-height: var(--osdk-dialog-min-height);\n max-height: var(--osdk-dialog-max-height);\n background-color: var(--osdk-dialog-bg);\n border-radius: var(--osdk-surface-border-radius);\n box-shadow: var(--osdk-dialog-shadow);\n z-index: var(--osdk-surface-z-index-2);\n display: flex;\n flex-direction: column;\n}\n\n.header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: var(--osdk-dialog-header-padding);\n border-bottom: var(--osdk-surface-border);\n}\n\n.title {\n font-size: var(--osdk-dialog-title-font-size);\n font-weight: var(--osdk-dialog-title-font-weight);\n}\n\n.body {\n display: flex;\n padding: var(--osdk-dialog-body-padding);\n overflow-y: auto;\n flex: 1;\n}\n\n.footer {\n display: flex;\n justify-content: flex-end;\n gap: calc(var(--osdk-surface-spacing) * 2);\n padding: var(--osdk-dialog-footer-padding);\n border-top: var(--osdk-surface-border);\n}\n\n.closeButton {\n background: none;\n border: none;\n padding: calc(var(--osdk-surface-spacing) * 0.5);\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--osdk-surface-border-radius);\n\n &:hover {\n background-color: var(--osdk-surface-background-color-default-hover);\n }\n\n &:focus-visible {\n outline: var(--osdk-focus-outline);\n outline-offset: var(--osdk-focus-visible-outline-offset);\n }\n}\n\n.closeIcon {\n width: var(--osdk-iconography-size-small);\n height: var(--osdk-iconography-size-small);\n color: var(--osdk-typography-color-muted);\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Dialog as BaseUIDialog } from \"@base-ui/react/dialog\";\nimport { Cross } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./Dialog.module.css\";\nexport function Dialog({\n isOpen,\n onOpenChange,\n title,\n children,\n footer,\n className,\n disablePointerDismissal\n}) {\n return /*#__PURE__*/React.createElement(BaseUIDialog.Root, {\n open: isOpen,\n onOpenChange: onOpenChange,\n disablePointerDismissal: disablePointerDismissal\n }, /*#__PURE__*/React.createElement(BaseUIDialog.Portal, null, /*#__PURE__*/React.createElement(BaseUIDialog.Backdrop, {\n className: styles.backdrop\n }), /*#__PURE__*/React.createElement(BaseUIDialog.Popup, {\n className: classnames(styles.popup, className)\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.header\n }, /*#__PURE__*/React.createElement(BaseUIDialog.Title, {\n className: styles.title\n }, title), /*#__PURE__*/React.createElement(BaseUIDialog.Close, {\n className: styles.closeButton,\n \"aria-label\": \"Close dialog\"\n }, /*#__PURE__*/React.createElement(Cross, {\n className: styles.closeIcon\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: styles.body\n }, children), footer != null && /*#__PURE__*/React.createElement(\"div\", {\n className: styles.footer\n }, footer))));\n}"]}
|