Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/gorgeous-walls-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

[Page] prevent vertical content shift of header with metadata and actions
2 changes: 1 addition & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
"tag": "beta",
"initialVersions": {
"@shopify/polaris-cli": "0.2.25",
Expand Down
6 changes: 6 additions & 0 deletions .changeset/proud-cooks-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@shopify/polaris-tokens': minor
'@shopify/polaris': patch
---

Add support for using breakpoint tokens in CSS by using `@custom-media`
11 changes: 11 additions & 0 deletions .changeset/strange-bananas-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@shopify/polaris': minor
---

Added support for an `EditColumns` button rendered in the `IndexFilters` deprecating the `Tabs`'s `edit-columns` action.

- `IndexFilters`
- Added support for rendering an Edit Columns button using the `showEditColumnsButton` flag.
- Added the edition `mode` to the `onEditStart(mode)` callback.
- `Tabs`
- Removed the `edit-columns` action type.
5 changes: 5 additions & 0 deletions .changeset/two-phones-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

[Modal] Disallow vertical scroll with use of noScroll
3 changes: 2 additions & 1 deletion polaris-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 12.0.0-beta.1
## 12.0.0

### Major Changes

Expand Down Expand Up @@ -71,6 +71,7 @@

* Updated dependencies [[`86d4040c0`](https://github.com/Shopify/polaris/commit/86d4040c052a0dba0cb6f0d6e0f6fb8faf14c532)]:
- @shopify/polaris-tokens@7.13.0-beta.0

## 11.25.0

### Minor Changes
Expand Down
13 changes: 13 additions & 0 deletions polaris-react/config/postcss-plugins.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
const path = require('path');

const postcssShopify = require('@shopify/postcss-plugin');
const pxtorem = require('postcss-pxtorem');
const postcssCustomMedia = require('postcss-custom-media');
const postcssGlobalData = require('@csstools/postcss-global-data');

const mediaQueriesCssPath = path.resolve(
__dirname,
'../../node_modules/@shopify/polaris-tokens/dist/css/media-queries.css',
);

module.exports = [
postcssGlobalData({
files: [mediaQueriesCssPath],
}),
postcssCustomMedia(),
postcssShopify,
pxtorem({
rootValue: 16,
Expand Down
7 changes: 5 additions & 2 deletions polaris-react/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Přejmenovat zobrazení",
"duplicate": "Duplikování zobrazení",
"edit": "Upravit zobrazení",
"editColumns": "Upravit sloupce",
"delete": "Odstranit zobrazení",
"copy": "{name} – kopie",
"deleteModal": {
Expand Down Expand Up @@ -391,7 +390,11 @@
"cancel": "Zrušit"
}
},
"searchFilterTooltipWithShortcut": "Hledejte a filtrujte (F)"
"searchFilterTooltipWithShortcut": "Hledejte a filtrujte (F)",
"EditColumnsButton": {
"tooltip": "Upravit sloupce",
"accessibilityLabel": "Přizpůsobit pořadí a viditelnost sloupců tabulky"
}
},
"ActionList": {
"SearchField": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Omdøb visning",
"duplicate": "Dupliker visning",
"edit": "Rediger visning",
"editColumns": "Rediger kolonner",
"delete": "Slet visning",
"copy": "Kopi af {name}",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "Gem",
"cancel": "Annuller"
}
},
"EditColumnsButton": {
"tooltip": "Rediger kolonner",
"accessibilityLabel": "Tilpas rækkefølgen og synligheden af tabelkolonner"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Ansicht umbenennen",
"duplicate": "Ansicht duplizieren",
"edit": "Ansicht bearbeiten",
"editColumns": "Spalten bearbeiten",
"delete": "Ansicht löschen",
"copy": "Kopie von {name}",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "Speichern",
"cancel": "Abbrechen"
}
},
"EditColumnsButton": {
"tooltip": "Spalten bearbeiten",
"accessibilityLabel": "Reihenfolge und Sichtbarkeit der Tabellenspalten anpassen"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@
"za": "Z-A"
}
},
"EditColumnsButton": {
"tooltip": "Edit columns",
"accessibilityLabel": "Customize table column order and visibility"
},
"UpdateButtons": {
"cancel": "Cancel",
"update": "Update",
Expand Down Expand Up @@ -291,7 +295,6 @@
"rename": "Rename view",
"duplicate": "Duplicate view",
"edit": "Edit view",
"editColumns": "Edit columns",
"delete": "Delete view",
"copy": "Copy of {name}",
"deleteModal": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Cambiar nombre de vista",
"duplicate": "Duplicar vista",
"edit": "Editar vista",
"editColumns": "Editar columnas",
"delete": "Eliminar vista",
"copy": "Copia de {name}",
"deleteModal": {
Expand Down Expand Up @@ -390,6 +389,10 @@
"save": "Guardar",
"cancel": "Cancelar"
}
},
"EditColumnsButton": {
"tooltip": "Editar columnas",
"accessibilityLabel": "Personalizar el orden y la visibilidad de las columnas de la tabla"
}
},
"ActionList": {
Expand Down
7 changes: 5 additions & 2 deletions polaris-react/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Nimeä näkymä uudelleen",
"duplicate": "Kopioi näkymä",
"edit": "Muokkaa näkymää",
"editColumns": "Muokkaa sarakkeita",
"delete": "Poista näkymä",
"copy": "Kopio tiedostosta {name}",
"deleteModal": {
Expand Down Expand Up @@ -389,7 +388,11 @@
"cancel": "Peruuta"
}
},
"searchFilterTooltipWithShortcut": "Hae ja suodata (F)"
"searchFilterTooltipWithShortcut": "Hae ja suodata (F)",
"EditColumnsButton": {
"tooltip": "Muokkaa sarakkeita",
"accessibilityLabel": "Muokkaa taulukon sarakkeiden järjestystä ja näkyvyyttä"
}
},
"ActionList": {
"SearchField": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Renommer la vue",
"duplicate": "Dupliquer la vue",
"edit": "Modifier la vue",
"editColumns": "Modifier les colonnes",
"delete": "Supprimer la vue",
"copy": "Copie de {name}",
"deleteModal": {
Expand Down Expand Up @@ -390,6 +389,10 @@
"save": "Enregistrer",
"cancel": "Annuler"
}
},
"EditColumnsButton": {
"tooltip": "Modifier les colonnes",
"accessibilityLabel": "Personnaliser l’ordre et la visibilité des colonnes du tableau"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Rinomina vista",
"duplicate": "Duplica vista",
"edit": "Modifica vista",
"editColumns": "Modifica colonne",
"delete": "Elimina vista",
"copy": "Copia di {name}",
"deleteModal": {
Expand Down Expand Up @@ -390,6 +389,10 @@
"save": "Salva",
"cancel": "Annulla"
}
},
"EditColumnsButton": {
"tooltip": "Modifica colonne",
"accessibilityLabel": "Personalizza l'ordine e la visibilità delle colonne della tabella"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "ビューの名前を変更",
"duplicate": "ビューを複製",
"edit": "ビューを編集",
"editColumns": "列を編集",
"delete": "ビューを削除",
"copy": "{name}のコピー",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "保存",
"cancel": "キャンセル"
}
},
"EditColumnsButton": {
"tooltip": "列を編集",
"accessibilityLabel": "表の列の順序および表示をカスタマイズする"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "보기 이름 바꾸기",
"duplicate": "보기 복제",
"edit": "보기 편집",
"editColumns": "열 편집",
"delete": "보기 삭제",
"copy": "{name}의 사본",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "저장",
"cancel": "취소"
}
},
"EditColumnsButton": {
"tooltip": "열 편집",
"accessibilityLabel": "표의 주문 열 및 표시 방법 사용자 지정"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Gi visning nytt navn",
"duplicate": "Dupliser visning",
"edit": "Rediger visning",
"editColumns": "Rediger kolonner",
"delete": "Slett visning",
"copy": "Kopi av {name}",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "Lagre",
"cancel": "Avbryt"
}
},
"EditColumnsButton": {
"tooltip": "Endre kolonner",
"accessibilityLabel": "Tilpass kolonnerekkefølge og -synlighet i tabellen"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Naam van weergave wijzigen",
"duplicate": "Weergave dupliceren",
"edit": "Weergave bewerken",
"editColumns": "Kolommen bewerken",
"delete": "Weergave verwijderen",
"copy": "Kopie van {name}",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "Opslaan",
"cancel": "Annuleren"
}
},
"EditColumnsButton": {
"tooltip": "Kolommen bewerken",
"accessibilityLabel": "Kolomvolgorde en zichtbaarheid van tabel aanpassen"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Zmień nazwę widoku",
"duplicate": "Duplikuj widok",
"edit": "Edytuj widok",
"editColumns": "Edytuj kolumny",
"delete": "Usuń widok",
"copy": "Kopia {name}",
"deleteModal": {
Expand Down Expand Up @@ -391,6 +390,10 @@
"save": "Zapisz",
"cancel": "Anuluj"
}
},
"EditColumnsButton": {
"tooltip": "Edytuj kolumny",
"accessibilityLabel": "Dostosuj kolejność i widoczność kolumn tabeli"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Renomear visualização",
"duplicate": "Duplicar visualização",
"edit": "Editar visualização",
"editColumns": "Editar colunas",
"delete": "Excluir visualização",
"copy": "Cópia de {name}",
"deleteModal": {
Expand Down Expand Up @@ -390,6 +389,10 @@
"save": "Salvar",
"cancel": "Cancelar"
}
},
"EditColumnsButton": {
"tooltip": "Editar colunas",
"accessibilityLabel": "Personalizar a ordem e a visibilidade das colunas da tabela"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Renomear visualização",
"duplicate": "Duplicar visualização",
"edit": "Editar visualização",
"editColumns": "Editar colunas",
"delete": "Eliminar visualização",
"copy": "Cópia de {name}",
"deleteModal": {
Expand Down Expand Up @@ -390,6 +389,10 @@
"save": "Guardar",
"cancel": "Cancelar"
}
},
"EditColumnsButton": {
"tooltip": "Editar colunas",
"accessibilityLabel": "Personalizar visibilidade e ordem da coluna da tabela"
}
},
"ActionList": {
Expand Down
5 changes: 4 additions & 1 deletion polaris-react/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"rename": "Döp om vy",
"duplicate": "Duplicera vy",
"edit": "Redigera vy",
"editColumns": "Redigera kolumner",
"delete": "Radera vy",
"copy": "Kopia av {name}",
"deleteModal": {
Expand Down Expand Up @@ -389,6 +388,10 @@
"save": "Spara",
"cancel": "Avbryt"
}
},
"EditColumnsButton": {
"tooltip": "Redigera kolumner",
"accessibilityLabel": "Anpassa tabellkolumnernas ordning och synlighet"
}
},
"ActionList": {
Expand Down
Loading