@totvs/po-theme 16.3.0 → 16.4.0
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.
- package/.editorconfig +13 -0
- package/.github/workflows/publish_ci.yml +32 -0
- package/LICENSE +21 -0
- package/README.md +29 -0
- package/package.json +2 -2
- package/src/index.css +3 -0
- package/src/po-theme-custom.css +2088 -0
- package/css/po-theme-default-variables.min.css +0 -1
- package/css/po-theme-default.min.css +0 -1
- package/icons/PoIcon.eot +0 -0
- package/icons/PoIcon.svg +0 -185
- package/icons/PoIcon.ttf +0 -0
- package/icons/PoIcon.woff +0 -0
- package/images/big-lock.svg +0 -20
- package/images/blocked-user.svg +0 -55
- package/images/chart-down.svg +0 -3
- package/images/chart-up.svg +0 -3
- package/images/email-sent.svg +0 -42
- package/images/expired.svg +0 -55
- package/images/lock.svg +0 -20
- package/images/order-ascending.svg +0 -6
- package/images/order-descending.svg +0 -6
- package/images/order-unselected.svg +0 -5
- package/images/po_black.svg +0 -9
- package/images/sort-ascending.svg +0 -3
- package/images/sort-descending.svg +0 -3
- package/images/sorting.svg +0 -3
- package/images/success.svg +0 -14
- /package/{fonts → src/assets/fonts}/Nunito_Sans/NunitoSans-Bold.ttf +0 -0
- /package/{fonts → src/assets/fonts}/Nunito_Sans/NunitoSans-ExtraLight.ttf +0 -0
- /package/{fonts → src/assets/fonts}/Nunito_Sans/NunitoSans-Regular.ttf +0 -0
- /package/{fonts → src/assets/fonts}/Nunito_Sans/OFL.txt +0 -0
package/.editorconfig
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Editor configuration, see http://editorconfig.org
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*]
|
|
5
|
+
charset = utf-8
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 2
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
max_line_length = 140
|
|
10
|
+
trim_trailing_whitespace = true
|
|
11
|
+
|
|
12
|
+
[*.md]
|
|
13
|
+
trim_trailing_whitespace = false
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: Run publish @totvs/po-theme
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- uses: actions/checkout@v2
|
|
10
|
+
- uses: actions/setup-node@v1
|
|
11
|
+
with:
|
|
12
|
+
node-version: '12.x'
|
|
13
|
+
registry-url: 'https://registry.npmjs.org'
|
|
14
|
+
|
|
15
|
+
- run: npm install -g @po-ui/theme-cli
|
|
16
|
+
- run: npm install
|
|
17
|
+
- run: npm run build
|
|
18
|
+
|
|
19
|
+
- name: Get package.json version
|
|
20
|
+
id: package-version
|
|
21
|
+
uses: martinbeentjes/npm-get-version-action@master
|
|
22
|
+
|
|
23
|
+
- name: Run publish with -next
|
|
24
|
+
run: npm publish dist --tag next
|
|
25
|
+
env:
|
|
26
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
27
|
+
|
|
28
|
+
- name: Add "latest" tag
|
|
29
|
+
if: (!contains(steps.package-version.outputs.current-version, '-next') && !contains(steps.package-version.outputs.current-version, '-rc'))
|
|
30
|
+
run: npm dist-tags add @totvs/po-theme@${{ steps.package-version.outputs.current-version }}
|
|
31
|
+
env:
|
|
32
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 TOTVS
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# PO Theme - Totvs Default Theme
|
|
2
|
+
|
|
3
|
+
Tema padrão da Totvs para aplicações desenvolvidas com [PO UI](http://po-ui.io).
|
|
4
|
+
|
|
5
|
+
:warning: __Uso exclusivo dos produtos TOTVS e Clientes.__
|
|
6
|
+
|
|
7
|
+
### Como usar o tema
|
|
8
|
+
|
|
9
|
+
O **PO UI** possui o seu próprio tema, mas disponibilizamos um tema com os padrões da TOTVS.
|
|
10
|
+
|
|
11
|
+
Para utilizá-lo, instale o pacote `@totvs/po-theme` conforme abaixo:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
npm i @totvs/po-theme
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Em seguida, atualize o arquivo `angular.json` para utilizar o tema.
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
"styles": [
|
|
21
|
+
"node_modules/@totvs/po-theme/css/po-theme-default-variables.min.css",
|
|
22
|
+
"node_modules/@totvs/po-theme/css/po-theme-default.min.css",
|
|
23
|
+
"node_modules/@po-ui/style/css/po-theme-core.min.css",
|
|
24
|
+
]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
> Leia mais sobre [como criar seu próprio tema customizado do PO UI][create-theme-customization].
|
|
28
|
+
|
|
29
|
+
[create-theme-customization]: https://po-ui.io/guides/create-theme-customization
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totvs/po-theme",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0",
|
|
4
4
|
"author": "Totvs",
|
|
5
5
|
"description": "PO Theme - Totvs Default Theme",
|
|
6
6
|
"repository": {
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"build": "po-theme build --fonts --name=default"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@po-ui/style": "16.
|
|
15
|
+
"@po-ui/style": "16.4.0"
|
|
16
16
|
}
|
|
17
17
|
}
|
package/src/index.css
ADDED