lupine.api 1.1.44 → 1.1.45

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.
@@ -1,4 +1,4 @@
1
- import { bindGlobalStyles, CssProps, RefProps, VNode, MenuItemProps, clearCookie } from 'lupine.components';
1
+ import { bindGlobalStyle, CssProps, RefProps, VNode, MenuItemProps, clearCookie } from 'lupine.components';
2
2
  import { NestMenuItemProps, MenuSidebar, ThemeSelector, TabsHookProps, TabsPageProps, Tabs } from 'lupine.components';
3
3
  import { adminCss } from './admin-css';
4
4
  import { CreateTablesPage, RunSqlPage } from './admin-db';
@@ -400,7 +400,7 @@ export const AdminFrame = (props: AdminFrameProps) => {
400
400
  window.location.href = '/admin';
401
401
  };
402
402
 
403
- bindGlobalStyles('admin-frame-box', css);
403
+ bindGlobalStyle('admin-frame-box', css);
404
404
 
405
405
  const refCloseMenu: RefProps = {};
406
406
  const adminTopMenu = adminFrameHelper.getAdminTopMenu();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CssProps,
3
3
  RefProps,
4
- bindGlobalStyles,
4
+ bindGlobalStyle,
5
5
  getRenderPageProps,
6
6
  getDefaultPageLimit,
7
7
  HtmlVar,
@@ -124,7 +124,7 @@ export const AdminTableData = (props: { tableName: string; update?: TableDataUpd
124
124
  if (props.update) {
125
125
  props.update.refreshRef = refresh;
126
126
  }
127
- bindGlobalStyles('admin-table-data', css);
127
+ bindGlobalStyle('admin-table-data', css);
128
128
  const dom = new HtmlVar('');
129
129
  return (
130
130
  <div className='admin-table-data' ref={ref}>
@@ -1,4 +1,4 @@
1
- import { bindGlobalStyles, ComponentChildren, CssProps } from 'lupine.web';
1
+ import { bindGlobalStyle, ComponentChildren, CssProps } from 'lupine.web';
2
2
  import { dragData, findTopBlock } from './drag-data';
3
3
 
4
4
  export type BlockBoxProps = {
@@ -51,7 +51,7 @@ export const DesignBlockBox = (props: BlockBoxProps) => {
51
51
  height: '100%',
52
52
  },
53
53
  };
54
- bindGlobalStyles('design-block-box', css);
54
+ bindGlobalStyle('design-block-box', css);
55
55
 
56
56
  const findMsgSender = (ev: any) => {
57
57
  const msgSender = (window as any)._lj_design;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lupine.api",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "license": "MIT",
5
5
  "author": "uuware.com",
6
6
  "homepage": "https://github.com/uuware/lupine.js",