sit-onyx 1.6.0-dev-20260109133051 → 1.6.0-dev-20260112070348

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.
@@ -37,6 +37,7 @@ declare const __VLS_component: import('vue', { with: { "resolution-mode": "impor
37
37
  modal: boolean;
38
38
  nonDismissible: boolean;
39
39
  alignment: import('./types.js', { with: { "resolution-mode": "import" } }).DialogAlignment;
40
+ backdrop: "soft" | "medium";
40
41
  }, {}, {}, {}, string, import('vue', { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {
41
42
  dialogRef: HTMLDialogElement;
42
43
  contentRef: HTMLDivElement;
@@ -30,6 +30,11 @@ export type OnyxBasicDialogProps = DensityProp & {
30
30
  * How to align the dialog horizontally. If "left" or "right", the modal will also be made full height.
31
31
  */
32
32
  alignment?: DialogAlignment;
33
+ /**
34
+ * The intensity of the backdrop.
35
+ * @default "soft"
36
+ */
37
+ backdrop?: "soft" | "medium";
33
38
  };
34
39
  export declare const DIALOG_ALIGNMENTS: readonly ["left", "center", "right"];
35
40
  export type DialogAlignment = (typeof DIALOG_ALIGNMENTS)[number];
@@ -21,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue', { with: { "resolut
21
21
  readonly nonDismissible?: boolean | undefined;
22
22
  readonly alert?: boolean | undefined;
23
23
  readonly alignment?: import('../OnyxBasicDialog/types.js', { with: { "resolution-mode": "import" } }).DialogAlignment | undefined;
24
+ readonly backdrop?: "soft" | "medium" | undefined;
24
25
  readonly "onUpdate:open"?: ((open: boolean) => any) | undefined;
25
26
  } & import('vue', { with: { "resolution-mode": "import" } }).VNodeProps & import('vue', { with: { "resolution-mode": "import" } }).AllowedComponentProps & import('vue', { with: { "resolution-mode": "import" } }).ComponentCustomProps;
26
27
  $attrs: {
@@ -51,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue', { with: { "resolut
51
52
  modal: boolean;
52
53
  nonDismissible: boolean;
53
54
  alignment: import('../OnyxBasicDialog/types.js', { with: { "resolution-mode": "import" } }).DialogAlignment;
55
+ backdrop: "soft" | "medium";
54
56
  }, {}, string, {}, import('vue', { with: { "resolution-mode": "import" } }).GlobalComponents, import('vue', { with: { "resolution-mode": "import" } }).GlobalDirectives, string, import('vue', { with: { "resolution-mode": "import" } }).ComponentProvideOptions> & {
55
57
  beforeCreate?: (() => void) | (() => void)[];
56
58
  created?: (() => void) | (() => void)[];
@@ -76,9 +78,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue', { with: { "resolut
76
78
  modal: boolean;
77
79
  nonDismissible: boolean;
78
80
  alignment: import('../OnyxBasicDialog/types.js', { with: { "resolution-mode": "import" } }).DialogAlignment;
81
+ backdrop: "soft" | "medium";
79
82
  }> & Omit<Readonly<import('../OnyxBasicDialog/types.js', { with: { "resolution-mode": "import" } }).OnyxBasicDialogProps> & Readonly<{
80
83
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
81
- }>, "dialog" | ("alert" | "modal" | "nonDismissible" | "alignment")> & import('vue', { with: { "resolution-mode": "import" } }).ShallowUnwrapRef<{
84
+ }>, "dialog" | ("alert" | "modal" | "nonDismissible" | "alignment" | "backdrop")> & import('vue', { with: { "resolution-mode": "import" } }).ShallowUnwrapRef<{
82
85
  dialog: Readonly<import('vue', { with: { "resolution-mode": "import" } }).ShallowRef<HTMLDialogElement | null>>;
83
86
  }> & {} & import('vue', { with: { "resolution-mode": "import" } }).ComponentCustomProperties & {} & {
84
87
  $slots: Readonly<{
@@ -47,6 +47,7 @@ declare function __VLS_template(): {
47
47
  readonly alert?: boolean | undefined;
48
48
  readonly open?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
49
49
  readonly nonDismissible?: boolean | undefined;
50
+ readonly backdrop?: "soft" | "medium" | undefined;
50
51
  readonly "onUpdate:open"?: ((open: boolean) => any) | undefined;
51
52
  } & import('vue', { with: { "resolution-mode": "import" } }).VNodeProps & import('vue', { with: { "resolution-mode": "import" } }).AllowedComponentProps & import('vue', { with: { "resolution-mode": "import" } }).ComponentCustomProps;
52
53
  $attrs: {
@@ -125,6 +126,7 @@ declare const __VLS_component: import('vue', { with: { "resolution-mode": "impor
125
126
  readonly alert?: boolean | undefined;
126
127
  readonly open?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
127
128
  readonly nonDismissible?: boolean | undefined;
129
+ readonly backdrop?: "soft" | "medium" | undefined;
128
130
  readonly "onUpdate:open"?: ((open: boolean) => any) | undefined;
129
131
  } & import('vue', { with: { "resolution-mode": "import" } }).VNodeProps & import('vue', { with: { "resolution-mode": "import" } }).AllowedComponentProps & import('vue', { with: { "resolution-mode": "import" } }).ComponentCustomProps;
130
132
  $attrs: {
@@ -32,7 +32,7 @@ export type OnyxSidebarProps = DensityProp & {
32
32
  };
33
33
  export declare const SIDEBAR_ALIGNMENT: readonly ["left", "right"];
34
34
  export type SidebarAlignment = (typeof SIDEBAR_ALIGNMENT)[number];
35
- export type TemporarySidebar = Pick<OnyxModalProps, "open" | "nonDismissible"> & {
35
+ export type TemporarySidebar = Pick<OnyxModalProps, "open" | "nonDismissible" | "backdrop"> & {
36
36
  /**
37
37
  * If `true`, the sidebar will have a small gap from the viewport and have rounded corners.
38
38
  */
@@ -1893,7 +1893,8 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
1893
1893
  modal: { type: Boolean, required: false, default: false },
1894
1894
  nonDismissible: { type: Boolean, required: false, default: false },
1895
1895
  alert: { type: Boolean, required: false, default: false },
1896
- alignment: { type: null, required: false, default: "center" }
1896
+ alignment: { type: null, required: false, default: "center" },
1897
+ backdrop: { type: String, required: false, default: "soft" }
1897
1898
  },
1898
1899
  emits: ["update:open"],
1899
1900
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -1959,6 +1960,7 @@ function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
1959
1960
  $setup.densityClass,
1960
1961
  "onyx-truncation-multiline",
1961
1962
  "onyx-basic-dialog",
1963
+ { "onyx-basic-dialog__backdrop--medium": $setup.props.backdrop === "medium" },
1962
1964
  { [`onyx-basic-dialog--${$setup.props.alignment}`]: $setup.props.alignment !== "center" }
1963
1965
  ]),
1964
1966
  "aria-modal": $setup.props.modal,
@@ -10664,6 +10666,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10664
10666
  open: { type: [Boolean, null], required: false, skipCheck: true },
10665
10667
  nonDismissible: { type: Boolean, required: false },
10666
10668
  alert: { type: Boolean, required: false },
10669
+ backdrop: { type: String, required: false },
10667
10670
  modelValue: { type: null, required: false },
10668
10671
  loading: { type: Boolean, required: false }
10669
10672
  },
@@ -11249,7 +11252,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11249
11252
  label: { type: String, required: true },
11250
11253
  open: { type: [Boolean, null], required: false, skipCheck: true },
11251
11254
  nonDismissible: { type: Boolean, required: false },
11252
- alert: { type: Boolean, required: false }
11255
+ alert: { type: Boolean, required: false },
11256
+ backdrop: { type: String, required: false }
11253
11257
  },
11254
11258
  emits: ["update:open"],
11255
11259
  setup(__props, { expose: __expose, emit: __emit }) {