@enki-tek/fms-web-components 0.0.63 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  import { badgeConfig } from "./BadgeConfig";
3
3
  export let config = "";
4
4
  export let className = "";
5
- let badgeStyles = [`custom-badge`, className, "mt-1"];
5
+ let badgeStyles = [`m-0`, `mt-1`, `custom-badge`, className];
6
6
  if (badgeConfig.hasOwnProperty(config)) {
7
7
  badgeStyles = [...badgeConfig[config], ...badgeStyles];
8
8
  }
@@ -13,7 +13,7 @@
13
13
  }
14
14
  </script>
15
15
 
16
- <Navbar expand="md" class="bg-white">
16
+ <Navbar expand="md" class="bg-white sticky-top shadow-sm">
17
17
  <slot name="brand" />
18
18
  <NavbarToggler class="border border-success text-success" on:click={() => (isOpen = !isOpen)} />
19
19
  <Collapse {isOpen} navbar expand="md" on:update={handleUpdate}>
package/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import './app.scss';
2
2
  import Layout from './components/Layout/LayOut.svelte';
3
3
  import Button from './components/Button/Button.svelte';
4
- import ButtonFilter from './components/Button/ButtonFilter.svelte';
5
- import FilterOption from './components/Button/FilterOption.svelte';
6
4
  import TextField from './components/TextField/TextField.svelte';
7
5
  import Card from './components/Card/Card.svelte';
8
6
  import Tooltip from './components/Tooltip/Tooltip.svelte';
@@ -57,5 +55,5 @@ import { i18nInit } from "./components/i18n/i18n";
57
55
  import { menuTypeStore } from "./components/Layout/menuStore.js";
58
56
  import { derivedStore } from "./components/Layout/menuStore.js";
59
57
  import { smallMenuwidth } from "./components/Layout/menuStore.js";
60
- export { Button, ButtonFilter, Brand, FilterOption, TextField, Card, Tooltip, Tab, Icon, ActionIconGroup, ActionIcon, Modal, ModalBody, ModalFooter, ModalHeader, Header, HeaderItem, UserAvatar, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, AccordionItem, Switch, Checkbox, Breadcrumb, CardIcon, CardiconTitle, CardiconBody, CardiconSubtitle, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter, EnkiSidebar, NavItem, NavIcon, NavLink, Layout, Page, MainMenuHead, Footer, menuTypeStore, derivedStore, smallMenuwidth, };
58
+ export { Button, Brand, TextField, Card, Tooltip, Tab, Icon, ActionIconGroup, ActionIcon, Modal, ModalBody, ModalFooter, ModalHeader, Header, HeaderItem, UserAvatar, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, AccordionItem, Switch, Checkbox, Breadcrumb, CardIcon, CardiconTitle, CardiconBody, CardiconSubtitle, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter, EnkiSidebar, NavItem, NavIcon, NavLink, Layout, Page, MainMenuHead, Footer, menuTypeStore, derivedStore, smallMenuwidth, };
61
59
  export default i18nInit;
package/index.js CHANGED
@@ -2,8 +2,6 @@
2
2
  import './app.scss';
3
3
  import Layout from './components/Layout/LayOut.svelte';
4
4
  import Button from './components/Button/Button.svelte';
5
- import ButtonFilter from './components/Button/ButtonFilter.svelte';
6
- import FilterOption from './components/Button/FilterOption.svelte';
7
5
  import TextField from './components/TextField/TextField.svelte';
8
6
  import Card from './components/Card/Card.svelte';
9
7
  import Tooltip from './components/Tooltip/Tooltip.svelte';
@@ -58,5 +56,5 @@ import { i18nInit } from "./components/i18n/i18n";
58
56
  import { menuTypeStore } from "./components/Layout/menuStore.js";
59
57
  import { derivedStore } from "./components/Layout/menuStore.js";
60
58
  import { smallMenuwidth } from "./components/Layout/menuStore.js";
61
- export { Button, ButtonFilter, Brand, FilterOption, TextField, Card, Tooltip, Tab, Icon, ActionIconGroup, ActionIcon, Modal, ModalBody, ModalFooter, ModalHeader, Header, HeaderItem, UserAvatar, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, AccordionItem, Switch, Checkbox, Breadcrumb, CardIcon, CardiconTitle, CardiconBody, CardiconSubtitle, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter, EnkiSidebar, NavItem, NavIcon, NavLink, Layout, Page, MainMenuHead, Footer, menuTypeStore, derivedStore, smallMenuwidth, };
59
+ export { Button, Brand, TextField, Card, Tooltip, Tab, Icon, ActionIconGroup, ActionIcon, Modal, ModalBody, ModalFooter, ModalHeader, Header, HeaderItem, UserAvatar, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, AccordionItem, Switch, Checkbox, Breadcrumb, CardIcon, CardiconTitle, CardiconBody, CardiconSubtitle, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter, EnkiSidebar, NavItem, NavIcon, NavLink, Layout, Page, MainMenuHead, Footer, menuTypeStore, derivedStore, smallMenuwidth, };
62
60
  export default i18nInit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",
@@ -60,9 +60,6 @@
60
60
  "./components/Button/Button.scss": "./components/Button/Button.scss",
61
61
  "./components/Button/Button.stories": "./components/Button/Button.stories.js",
62
62
  "./components/Button/Button.svelte": "./components/Button/Button.svelte",
63
- "./components/Button/ButtonFilter.scss": "./components/Button/ButtonFilter.scss",
64
- "./components/Button/ButtonFilter.svelte": "./components/Button/ButtonFilter.svelte",
65
- "./components/Button/FilterOption.svelte": "./components/Button/FilterOption.svelte",
66
63
  "./components/Button/buttonConfig": "./components/Button/buttonConfig.js",
67
64
  "./components/Card/Card.scss": "./components/Card/Card.scss",
68
65
  "./components/Card/Card.stories": "./components/Card/Card.stories.js",
@@ -1,75 +0,0 @@
1
- @import './../variable.scss';
2
-
3
- .efilter-btn {
4
- // Default styles for button
5
- background-color: $primary-dark;
6
- color: $white;
7
- border: none;
8
- cursor: pointer;
9
- border-radius: 4px;
10
- padding: 0px 24px;
11
- height: $medium-height;
12
- box-shadow: $lowShadow;
13
- border: none;
14
- outline: 1px solid $white;
15
- font-family: Roboto;
16
- }
17
-
18
- //small button
19
- .efilter-btn-small {
20
- height: $small-height;
21
- font-size: 12px;
22
- display: flex;
23
- justify-content: center;
24
- align-items: center;
25
- font-family: Roboto;
26
-
27
- i {
28
- font-size: 12px;
29
- }
30
- }
31
-
32
- //medium button
33
- .efilter-btn-medium {
34
- padding: 0px 24px;
35
- height: $medium-height;
36
- display: flex;
37
- justify-content: center;
38
- align-items: center;
39
- font-size: 16px;
40
- font-family: Roboto;
41
-
42
- i {
43
- font-size: 16px;
44
- }
45
- }
46
-
47
- //large button
48
- .ebtn-large {
49
- height: $large-height;
50
- display: flex;
51
- justify-content: center;
52
- align-items: center;
53
- font-size: 16px;
54
- font-family: Roboto;
55
-
56
- i {
57
- font-size: 16px;
58
- }
59
- }
60
-
61
- .filter-button .dropdown-menu {
62
- min-width: 7rem;
63
- display: flex;
64
- flex-direction: column;
65
- padding: 0;
66
- }
67
-
68
- .filter-button-menu {
69
- text-align: center;
70
- font-family: $bodyFonts;
71
- }
72
-
73
- :global(.custom-icon-filterbtn) {
74
- font-size: 12px;
75
- }