xmlui 0.9.56 → 0.9.57

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.
Files changed (25) hide show
  1. package/dist/lib/{apiInterceptorWorker-CDFLYTIQ.mjs → apiInterceptorWorker-B1gPLO_w.mjs} +1 -1
  2. package/dist/lib/{index-DRdbVRNd.mjs → index-CT_r2BBM.mjs} +19 -25
  3. package/dist/lib/xmlui.mjs +1 -1
  4. package/dist/metadata/{apiInterceptorWorker-CL7I-FJl.mjs → apiInterceptorWorker-aMnSPA-u.mjs} +1 -1
  5. package/dist/metadata/{collectedComponentMetadata-J8g24vFO.mjs → collectedComponentMetadata-C0kcXW_l.mjs} +19 -25
  6. package/dist/metadata/xmlui-metadata.mjs +1 -1
  7. package/dist/metadata/xmlui-metadata.umd.js +7 -7
  8. package/dist/scripts/package.json +1 -1
  9. package/dist/scripts/src/components/AppHeader/AppHeader.js +1 -1
  10. package/dist/scripts/src/components/FileInput/FileInput.js +1 -1
  11. package/dist/scripts/src/components/Form/Form.js +1 -1
  12. package/dist/scripts/src/components/FormItem/FormItem.js +1 -1
  13. package/dist/scripts/src/components/Icon/Icon.js +1 -1
  14. package/dist/scripts/src/components/List/List.js +1 -1
  15. package/dist/scripts/src/components/Logo/Logo.js +1 -1
  16. package/dist/scripts/src/components/NavPanel/NavPanelNative.js +3 -3
  17. package/dist/scripts/src/components/NumberBox/NumberBox.js +1 -1
  18. package/dist/scripts/src/components/Select/Select.js +1 -1
  19. package/dist/scripts/src/components/Slider/Slider.js +1 -1
  20. package/dist/scripts/src/components/StickyBox/StickyBox.js +1 -1
  21. package/dist/scripts/src/components/TextArea/TextArea.js +1 -1
  22. package/dist/scripts/src/components/TextBox/TextBox.js +1 -1
  23. package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.js +1 -1
  24. package/dist/standalone/xmlui-standalone.umd.js +15 -15
  25. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmlui",
3
- "version": "0.9.56",
3
+ "version": "0.9.57",
4
4
  "sideEffects": false,
5
5
  "scripts": {
6
6
  "start-test-bed": "cd src/testing/infrastructure && xmlui start",
@@ -15,7 +15,7 @@ const SlotItem_1 = require("../../components/SlotItem");
15
15
  const AppHeaderNative_1 = require("./AppHeaderNative");
16
16
  const COMP = "AppHeader";
17
17
  exports.AppHeaderMd = (0, ComponentDefs_1.createMetadata)({
18
- status: "experimental",
18
+ status: "stable",
19
19
  description: `\`${COMP}\` is a placeholder within \`App\` to define a custom application header.`,
20
20
  props: {
21
21
  profileMenuTemplate: (0, metadata_helpers_1.dComponent)(`This property makes the profile menu slot of the \`${COMP}\` component customizable.`),
@@ -16,9 +16,9 @@ const FileInputNative_1 = require("./FileInputNative");
16
16
  const COMP = "FileInput";
17
17
  const DEFAULT_ICON = "browse:FileInput";
18
18
  exports.FileInputMd = (0, ComponentDefs_1.createMetadata)({
19
+ status: "stable",
19
20
  description: `The \`${COMP}\` is a user interface component that allows users to select files from their ` +
20
21
  `device's file system for upload (or processing its content otherwise).`,
21
- status: "experimental",
22
22
  props: {
23
23
  placeholder: (0, metadata_helpers_1.dPlaceholder)(),
24
24
  initialValue: (0, metadata_helpers_1.dInitialValue)(),
@@ -14,7 +14,7 @@ const abstractions_1 = require("../abstractions");
14
14
  const FormNative_1 = require("./FormNative");
15
15
  const COMP = "Form";
16
16
  exports.FormMd = (0, ComponentDefs_1.createMetadata)({
17
- status: "experimental",
17
+ status: "stable",
18
18
  description: `A \`${COMP}\` is a fundamental component that displays user interfaces that allow users to input ` +
19
19
  `(or change) data and submit it to the app (a server) for further processing.`,
20
20
  props: {
@@ -29,7 +29,7 @@ const COMP = "FormItem";
29
29
  // NOTE: We need to filter the "none" value out so that it doesn't show up in the docs.
30
30
  const filteredValidationSeverityValues = FormContext_1.validationSeverityValues.filter((value) => value !== "none");
31
31
  exports.FormItemMd = (0, ComponentDefs_1.createMetadata)({
32
- status: "experimental",
32
+ status: "stable",
33
33
  description: `A \`${COMP}\` component represents a single input element within a \`Form\`. The value within ` +
34
34
  `the \`${COMP}\` may be associated with a particular property within the encapsulating \`Form\` ` +
35
35
  `component's data.`,
@@ -12,7 +12,7 @@ const themeVars_1 = require("../../components-core/theming/themeVars");
12
12
  const IconNative_1 = __importDefault(require("./IconNative"));
13
13
  const COMP = "Icon";
14
14
  exports.IconMd = (0, ComponentDefs_1.createMetadata)({
15
- status: "experimental",
15
+ status: "stable",
16
16
  description: `This component is the representation of an icon.`,
17
17
  props: {
18
18
  name: (0, ComponentDefs_1.d)("This string property specifies the name of the icon to display. All icons have " +
@@ -15,7 +15,7 @@ const abstractions_1 = require("../abstractions");
15
15
  const ListNative_1 = require("./ListNative");
16
16
  const COMP = "List";
17
17
  exports.ListMd = (0, ComponentDefs_1.createMetadata)({
18
- status: "experimental",
18
+ status: "stable",
19
19
  description: `The \`${COMP}\` component is a robust layout container that renders associated data items ` +
20
20
  `as a list of components. \`${COMP}\` is virtualized; it renders only items that are visible ` +
21
21
  `in the viewport.`,
@@ -7,7 +7,7 @@ const renderers_1 = require("../../components-core/renderers");
7
7
  const LogoNative_1 = require("./LogoNative");
8
8
  const COMP = "Logo";
9
9
  exports.LogoMd = (0, ComponentDefs_1.createMetadata)({
10
- status: "experimental",
10
+ status: "stable",
11
11
  description: `The \`${COMP}\` component represents a logo or a brand symbol. Usually, you use ` +
12
12
  `this component in the [\`AppHeader\`](./AppHeader.mdx#logotemplate).`,
13
13
  props: {
@@ -56,9 +56,9 @@ const contextValue = {
56
56
  };
57
57
  function DrawerNavPanel({ logoContent, children, className, style, }) {
58
58
  const scrollContainerRef = (0, react_1.useRef)(null);
59
- return ((0, jsx_runtime_1.jsx)(exports.NavPanelContext.Provider, { value: contextValue, children: (0, jsx_runtime_1.jsx)("div", { ref: scrollContainerRef, className: (0, classnames_1.default)(NavPanel_module_scss_1.default.wrapper, className), children: (0, jsx_runtime_1.jsxs)(ScrollContext_1.ScrollContext.Provider, { value: scrollContainerRef, children: [(0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(NavPanel_module_scss_1.default.logoWrapper, NavPanel_module_scss_1.default.inDrawer), children: logoContent || (0, jsx_runtime_1.jsx)(LogoNative_1.Logo, {}) }), (0, jsx_runtime_1.jsx)("div", { className: NavPanel_module_scss_1.default.wrapperInner, style: style, children: children })] }) }) }));
59
+ return ((0, jsx_runtime_1.jsx)(exports.NavPanelContext.Provider, { value: contextValue, children: (0, jsx_runtime_1.jsx)("div", { ref: scrollContainerRef, className: (0, classnames_1.default)(NavPanel_module_scss_1.default.wrapper, className), style: style, children: (0, jsx_runtime_1.jsxs)(ScrollContext_1.ScrollContext.Provider, { value: scrollContainerRef, children: [(0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(NavPanel_module_scss_1.default.logoWrapper, NavPanel_module_scss_1.default.inDrawer), children: logoContent || (0, jsx_runtime_1.jsx)(LogoNative_1.Logo, {}) }), (0, jsx_runtime_1.jsx)("div", { className: NavPanel_module_scss_1.default.wrapperInner, style: style, children: children })] }) }) }));
60
60
  }
61
- exports.NavPanel = (0, react_1.forwardRef)(function NavPanel({ children, style, logoContent, className, inDrawer = exports.defaultProps.inDrawer, renderChild, }, forwardedRef) {
61
+ exports.NavPanel = (0, react_1.forwardRef)(function NavPanel({ children, style, logoContent, className, inDrawer = exports.defaultProps.inDrawer, renderChild }, forwardedRef) {
62
62
  var _a, _b;
63
63
  const scrollContainerRef = (0, react_1.useRef)(null);
64
64
  const ref = forwardedRef ? (0, react_compose_refs_1.composeRefs)(scrollContainerRef, forwardedRef) : scrollContainerRef;
@@ -75,5 +75,5 @@ exports.NavPanel = (0, react_1.forwardRef)(function NavPanel({ children, style,
75
75
  [NavPanel_module_scss_1.default.horizontal]: horizontal,
76
76
  [NavPanel_module_scss_1.default.vertical]: vertical,
77
77
  [NavPanel_module_scss_1.default.condensed]: isCondensed,
78
- }), children: (0, jsx_runtime_1.jsxs)(ScrollContext_1.ScrollContext.Provider, { value: scrollContainerRef, children: [showLogo && ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(NavPanel_module_scss_1.default.logoWrapper), children: safeLogoContent || (0, jsx_runtime_1.jsx)(LogoNative_1.Logo, {}) })), (0, jsx_runtime_1.jsx)("div", { className: NavPanel_module_scss_1.default.wrapperInner, style: style, children: children })] }) }));
78
+ }), style: style, children: (0, jsx_runtime_1.jsxs)(ScrollContext_1.ScrollContext.Provider, { value: scrollContainerRef, children: [showLogo && ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(NavPanel_module_scss_1.default.logoWrapper), children: safeLogoContent || (0, jsx_runtime_1.jsx)(LogoNative_1.Logo, {}) })), (0, jsx_runtime_1.jsx)("div", { className: NavPanel_module_scss_1.default.wrapperInner, style: style, children: children })] }) }));
79
79
  });
@@ -13,7 +13,7 @@ const metadata_helpers_1 = require("../metadata-helpers");
13
13
  const NumberBoxNative_1 = require("./NumberBoxNative");
14
14
  const COMP = "NumberBox";
15
15
  exports.NumberBoxMd = (0, ComponentDefs_1.createMetadata)({
16
- status: "experimental",
16
+ status: "stable",
17
17
  description: `A \`${COMP}\` component allows users to input numeric values: either integer or floating ` +
18
18
  `point numbers. It also accepts empty values, where the stored value will be of type \`null\`.`,
19
19
  props: {
@@ -16,7 +16,7 @@ const react_select_1 = require("@radix-ui/react-select");
16
16
  const COMP = "Select";
17
17
  exports.SelectMd = (0, ComponentDefs_1.createMetadata)({
18
18
  description: "Provides a dropdown with a list of options to choose from.",
19
- status: "experimental",
19
+ status: "stable",
20
20
  props: {
21
21
  placeholder: Object.assign(Object.assign({}, (0, metadata_helpers_1.dPlaceholder)()), { defaultValue: SelectNative_1.defaultProps.placeholder }),
22
22
  initialValue: (0, metadata_helpers_1.dInitialValue)(),
@@ -13,7 +13,7 @@ const metadata_helpers_1 = require("../metadata-helpers");
13
13
  const SliderNative_1 = require("./SliderNative");
14
14
  const COMP = "Slider";
15
15
  exports.SliderMd = (0, ComponentDefs_1.createMetadata)({
16
- status: "experimental",
16
+ status: "stable",
17
17
  description: `The \`${COMP}\` component allows you to select a numeric value ` +
18
18
  `between a range specified by minimum and maximum values.`,
19
19
  props: {
@@ -12,7 +12,7 @@ const themeVars_1 = require("../../components-core/theming/themeVars");
12
12
  const StickyBoxNative_1 = require("./StickyBoxNative");
13
13
  const COMP = "StickyBox";
14
14
  exports.StickyBoxMd = (0, ComponentDefs_1.createMetadata)({
15
- status: "experimental",
15
+ status: "stable",
16
16
  description: `The \`${COMP}\` is a component that "sticks" or remains fixed at the top or bottom ` +
17
17
  `position on the screen as the user scrolls.`,
18
18
  props: {
@@ -19,7 +19,7 @@ exports.resizeOptionsMd = [
19
19
  { value: "both", description: "Can resize in both dimensions" },
20
20
  ];
21
21
  exports.TextAreaMd = (0, ComponentDefs_1.createMetadata)({
22
- status: "experimental",
22
+ status: "stable",
23
23
  description: `\`${COMP}\` is a component that provides a multiline text input area.`,
24
24
  props: {
25
25
  enterSubmits: {
@@ -13,7 +13,7 @@ const metadata_helpers_1 = require("../metadata-helpers");
13
13
  const TextBoxNative_1 = require("./TextBoxNative");
14
14
  const COMP = "TextBox";
15
15
  exports.TextBoxMd = (0, ComponentDefs_1.createMetadata)({
16
- status: "experimental",
16
+ status: "stable",
17
17
  description: `The \`${COMP}\` is an input component that allows users to input and edit textual data.`,
18
18
  props: {
19
19
  placeholder: (0, metadata_helpers_1.dPlaceholder)(),
@@ -16,7 +16,7 @@ exports.defaultProps = {
16
16
  darkToLightIcon: DARK_TO_LIGHT_ICON
17
17
  };
18
18
  exports.ToneChangerButtonMd = (0, ComponentDefs_1.createMetadata)({
19
- status: "experimental",
19
+ status: "stable",
20
20
  description: `The \`${COMP}\` component is a component that allows the user to change the tone of the app.`,
21
21
  props: {
22
22
  lightToDarkIcon: {