You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2025/08/04 18:06:35 UTC

(superset) branch master updated: chore(core): Add drawer to core ui components (#34515)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new ccf6290120 chore(core): Add drawer to core ui components (#34515)
ccf6290120 is described below

commit ccf6290120bc3fa5692f622c7b11bd9bb49f1368
Author: JUST.in DO IT <ju...@airbnb.com>
AuthorDate: Mon Aug 4 11:06:29 2025 -0700

    chore(core): Add drawer to core ui components (#34515)
---
 .../src/components/Drawer/index.tsx                | 22 ++++++++++++++++++++++
 .../src/components/Drawer/types.ts                 | 22 ++++++++++++++++++++++
 .../superset-ui-core/src/components/index.ts       |  1 +
 3 files changed, 45 insertions(+)

diff --git a/superset-frontend/packages/superset-ui-core/src/components/Drawer/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/Drawer/index.tsx
new file mode 100644
index 0000000000..0e32edca6f
--- /dev/null
+++ b/superset-frontend/packages/superset-ui-core/src/components/Drawer/index.tsx
@@ -0,0 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+import type { DrawerProps } from './types';
+
+export { Drawer } from 'antd';
+export type { DrawerProps };
diff --git a/superset-frontend/packages/superset-ui-core/src/components/Drawer/types.ts b/superset-frontend/packages/superset-ui-core/src/components/Drawer/types.ts
new file mode 100644
index 0000000000..55e8800826
--- /dev/null
+++ b/superset-frontend/packages/superset-ui-core/src/components/Drawer/types.ts
@@ -0,0 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import type { DrawerProps } from 'antd/es/drawer';
+
+export { DrawerProps };
diff --git a/superset-frontend/packages/superset-ui-core/src/components/index.ts b/superset-frontend/packages/superset-ui-core/src/components/index.ts
index 0053d50164..d1ead96dc3 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/index.ts
+++ b/superset-frontend/packages/superset-ui-core/src/components/index.ts
@@ -76,6 +76,7 @@ export { CronPicker, type CronError } from './CronPicker';
 export * from './DatePicker';
 export { DeleteModal, type DeleteModalProps } from './DeleteModal';
 export { Divider, type DividerProps } from './Divider';
+export { Drawer, type DrawerProps } from './Drawer';
 export {
   Dropdown,
   MenuDotsDropdown,